Image edge to black

4 次查看(过去 30 天)
hendra prima
hendra prima 2012-8-21
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
  1 个评论
Jan
Jan 2012-8-21
编辑:Jan 2012-8-21
Currently the best answer is:
Yes.
The algorithm is such trivial that I'm convinced, that somebody did this already.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2012-8-21
How about
imageArray(1,:) = 0;
imageArray(end,:) = 0;
imageArray(:,1) = 0;
imageArray(:,end) = 0;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by