WHY I GET NAN FROM "IMPIXCEL"
4 次查看(过去 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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NaNs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!