WHY I GET NAN FROM "IMPIXCEL"
Show older comments
Answers (1)
Walter Roberson
on 9 Feb 2018
0 votes
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)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!