how to set pixel become white pixel

2 visualizaciones (últimos 30 días)
mohd
mohd el 18 de Mayo de 2012
i have an image, i want to set row 0 until row 20 become all white pixel in that image. here i attach my illustration pic for your understanding. help me please http://i1259.photobucket.com/albums/ii548/msaiful89/hmm.png

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Mayo de 2012
YourImage(1:21,:,:) = 255;
Replace the 255 with 1 if your image is floating point.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by