How to make it expand vertically?
2 次查看(过去 30 天)
显示 更早的评论
Please, see the image I attach.
Imagine the middle rectangle to be an active contour. Is there a way programmatically to make it expand up or down but NOT left or right, until a specific row? The row shall be estimated by a gray pixel value. The first row Matlab meets this x gray value.
Is it possible?
Thanks
2 个评论
Jan
2019-1-28
See your former question: https://www.mathworks.com/matlabcentral/answers/441297-scan-the-image-until-the-first-and-last-points-i-set . Another duplicate of this question was closed already.
This seems to be the contour of a lossy JPEG compressed image. This will impede the automatic detection of edges massively. Is there really no way to obtain clean and clear inputs?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!