Image edge to black
1 次查看(过去 30 天)
显示 更早的评论
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
1 个评论
采纳的回答
Image Analyst
2012-8-21
How about
imageArray(1,:) = 0;
imageArray(end,:) = 0;
imageArray(:,1) = 0;
imageArray(:,end) = 0;
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!