MATLAB: How to assign Pixel values to the images

image analysisimage processingImage Processing Toolbox

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?

Best Answer

Simply assign them:
yourImage(theRow, theColumn) = theValueYouWantItToBe;