WHY I GET NAN FROM "IMPIXCEL"
1 回表示 (過去 30 日間)
古いコメントを表示
I want to read an image and get color of pixells but the result from "impixel" for some pixels is NAN why" please help me
回答 (1 件)
Walter Roberson
2018 年 2 月 9 日
If you specified row and column numbers to impixel() and they were outside of the image, then you would get NaN returned.
Watch out that impixel expects column (x coordinate) to be passed in before row (y coordinate)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!