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.
ncorr post CS tool fail
16 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?

Risposte (3)
Divyanshu
il 30 Lug 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 Commenti
Divyanshu
il 2 Ago 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.
Ruri
il 7 Set 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..
Jingfu Chen
il 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 Commenti
Jingfu Chen
il 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.
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!