How to assign Pixel values to the images?

1 visualizzazione (ultimi 30 giorni)
Hi, I have set of images and i have to convert them to 32*32. I did this part. Now i need to assign Pixels in this images between 0 and 1. How can i do that?

Risposta accettata

Image Analyst
Image Analyst il 7 Gen 2013
Simply assign them:
yourImage(theRow, theColumn) = theValueYouWantItToBe;

Più risposte (1)

Matt J
Matt J il 7 Gen 2013
You may find this answer broad (but so is your question)
A(i,j)=number_less_than_one

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