Image edge to black
1 view (last 30 days)
Show older comments
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
1 Comment
Accepted Answer
Image Analyst
on 21 Aug 2012
How about
imageArray(1,:) = 0;
imageArray(end,:) = 0;
imageArray(:,1) = 0;
imageArray(:,end) = 0;
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!