ncorr post CS tool fail

17 Ansichten (letzte 30 Tage)
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM am 29 Jul. 2024
Hi,
I have been doing research at UNSW in Australia. I have been using the ncorr in my research work for image processing. However, in the step of image processing, the ncorr_post CS tool is not working. Every time, it gives me the below error. Could you please let me know the reason of this problem and how to sort it this problem?
  1 Kommentar
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM am 30 Jul. 2024
Hi, thanks for your reply. I know this problem is related to the color mapping. However, when the data was transferred from ncorr post to ncorr post CS tool with doing scale displacement which is mandatory to run the ncorr post CS tool, the picture pops up like mentioned earliar without any color. Moreover, it is not possible to change any programming in tbe script as it is controlled by the author of the ncorr software.

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Divyanshu
Divyanshu am 30 Jul. 2024
Hi,
A possible reason for the error 'Must be two element row vector' can be that either one or both of the arguments passed to the function 'caxis' is empty or is not a numerical value.
Ensure that 'plottingData(1).lowerBound' & 'plottingData(1).upperBound' are valid numerical values as they represent limits of colormap.
You can refer the following documentation link for more details:
  2 Kommentare
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM am 31 Jul. 2024
Hi, thanks for your reply. I know this problem is related to the color mapping. However, when the data was transferred from ncorr post to ncorr post CS tool with doing scale displacement which is mandatory to run the ncorr post CS tool, the picture pops up like mentioned earliar without any color. Moreover, it is not possible to change any programming in tbe script as it is controlled by the author of the ncorr software.
Divyanshu
Divyanshu am 2 Aug. 2024
Sure, I understand that it may not be possible to modify the script but I am trying to point the reason that what is the cause of the error. If you can manage to somehow access the corresponding .mlapp file then maybe the issue can be rectified, else have to contact the tool author.

Melden Sie sich an, um zu kommentieren.


Ruri
Ruri am 7 Sep. 2024
Hi,
Have you solve this problem? I am facing the same issue and haven't been able to find a solution for a week..
  1 Kommentar
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM am 7 Sep. 2024
The author gave me some solution but it didn’t work. Still it is unsolved.

Melden Sie sich an, um zu kommentieren.


Jingfu Chen
Jingfu Chen am 7 Feb. 2025
Exactly the same problem here. I also notice an issue with scale displacement of ncorr_post.m. Found a solution to comment out some code (https://blog.csdn.net/weixin_44594082/article/details/121609698). Then ncorr_post.m works for me but not the CSTool.
  2 Kommentare
Jingfu Chen
Jingfu Chen am 7 Feb. 2025
I think I find some similar solution, which is to simply comment out line 902-904 of strainAlongLine.m. At least the program would load the picture, but I don't know whether there are some other consequences.
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM am 7 Feb. 2025
Bearbeitet: MUHAMMAD ABUL KALAM am 7 Feb. 2025
Hi, It works well right now after commenting out the lines from 902-904 of strainAlongLine.m. Great. Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by