Azzera filtri
Azzera filtri

Image edge to black

4 visualizzazioni (ultimi 30 giorni)
hendra prima
hendra prima il 21 Ago 2012
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
  1 Commento
Jan
Jan il 21 Ago 2012
Modificato: Jan il 21 Ago 2012
Currently the best answer is:
Yes.
The algorithm is such trivial that I'm convinced, that somebody did this already.

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by