Effacer les filtres
Effacer les filtres

Image edge to black

4 vues (au cours des 30 derniers jours)
hendra prima
hendra prima le 21 Août 2012
Hi,
Anyone develop algorithm to change the outer pixel(edge) become full black ? like a frame.
Thanks
  1 commentaire
Jan
Jan le 21 Août 2012
Modifié(e) : Jan le 21 Août 2012
Currently the best answer is:
Yes.
The algorithm is such trivial that I'm convinced, that somebody did this already.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 21 Août 2012
How about
imageArray(1,:) = 0;
imageArray(end,:) = 0;
imageArray(:,1) = 0;
imageArray(:,end) = 0;

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by