How do I change input values in different function file ?

조회 수: 1 (최근 30일)
Chidiebere Ike
Chidiebere Ike 2018년 5월 25일
댓글: Chidiebere Ike 2018년 7월 24일
I have a .m file with several function file and my focus is to observe the changes in PSNR and SSIM results values. How do I make changes to the INPUT values of any of the function files ? Please guide me. Thank you
  댓글 수: 5
Chidiebere Ike
Chidiebere Ike 2018년 5월 26일
편집: Chidiebere Ike 2018년 5월 26일
Not exactly but the code I am working on is almost similar to the above you shared. I intend to make some modifications in the input parameters but can't seem to locate the parameter from the code. Please guide me to achieve this using the above as reference or example. Thanks so much...
Chidiebere Ike
Chidiebere Ike 2018년 7월 23일
편집: Walter Roberson 2018년 7월 23일
Hello Walter, I am using the code on https://github.com/junjun-jiang/LANR-NLM. I intend to make some modifications to improve the algorithm. Can you please suggest to me an idea to improve the result of this code as this will to help improve my knowledge? Thanks so much

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2018년 5월 26일
scaleup_ICR does not appear to be called by the demo code, but scaleup_ICR_MIKSVD is called and expects the same kind of first input.
If you look at line 207 you will see that DEMO_CRC loads conf_ICR_App_1 from a .mat file if the .mat exists, and otherwise builds a struct field by field, starting around line 213. Around line 691 the structure is adjusted to current information and then scaleup_ICR_MIKSVD is called on it.
So you can be fairly sure that scaleup_ICR should be called with a struct that has much the same fields as are constructed for conf_ICR_App_1
  댓글 수: 5
Walter Roberson
Walter Roberson 2018년 7월 24일
Sorry, that is a question of algorithm rather than of MATLAB; I do not think I have anything to contribute to that.
Chidiebere Ike
Chidiebere Ike 2018년 7월 24일
It's Okay, Thanks so much, I appreciate

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by