ncorr post CS tool fail

25 visualizaciones (últimos 30 días)
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM el 29 de Jul. de 2024
Editada: MUHAMMAD ABUL KALAM el 7 de Feb. de 2025
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 comentario
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM el 30 de Jul. de 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.

Iniciar sesión para comentar.

Respuestas (3)

Divyanshu
Divyanshu el 30 de Jul. de 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 comentarios
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM el 31 de Jul. de 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 el 2 de Ag. de 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.

Iniciar sesión para comentar.


Ruri
Ruri el 7 de Sept. de 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 comentario
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM el 7 de Sept. de 2024
The author gave me some solution but it didn’t work. Still it is unsolved.

Iniciar sesión para comentar.


Jingfu Chen
Jingfu Chen el 7 de Feb. de 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 comentarios
Jingfu Chen
Jingfu Chen el 7 de Feb. de 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 el 7 de Feb. de 2025
Editada: MUHAMMAD ABUL KALAM el 7 de Feb. de 2025
Hi, It works well right now after commenting out the lines from 902-904 of strainAlongLine.m. Great. Thanks.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by