ncorr post CS tool fail

12 ビュー (過去 30 日間)
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM 2024 年 7 月 29 日
編集済み: MUHAMMAD ABUL KALAM 2025 年 2 月 7 日 10:11
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 件のコメント
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM 2024 年 7 月 30 日
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.

サインインしてコメントする。

回答 (3 件)

Divyanshu
Divyanshu 2024 年 7 月 30 日
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 件のコメント
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM 2024 年 7 月 31 日
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 2024 年 8 月 2 日
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
Ruri 2024 年 9 月 7 日
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 件のコメント
MUHAMMAD ABUL KALAM
MUHAMMAD ABUL KALAM 2024 年 9 月 7 日
The author gave me some solution but it didn’t work. Still it is unsolved.

サインインしてコメントする。


Jingfu Chen
Jingfu Chen 2025 年 2 月 7 日 7:22
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 件のコメント
Jingfu Chen
Jingfu Chen 2025 年 2 月 7 日 7:42
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 2025 年 2 月 7 日 10:11
編集済み: MUHAMMAD ABUL KALAM 2025 年 2 月 7 日 10:11
Hi, It works well right now after commenting out the lines from 902-904 of strainAlongLine.m. Great. Thanks.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBlue についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by