Filter löschen
Filter löschen

Image edge to black

4 Ansichten (letzte 30 Tage)
hendra prima
hendra prima am 21 Aug. 2012
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
  1 Kommentar
Jan
Jan am 21 Aug. 2012
Bearbeitet: Jan am 21 Aug. 2012
Currently the best answer is:
Yes.
The algorithm is such trivial that I'm convinced, that somebody did this already.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 21 Aug. 2012
How about
imageArray(1,:) = 0;
imageArray(end,:) = 0;
imageArray(:,1) = 0;
imageArray(:,end) = 0;

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by