Effacer les filtres
Effacer les filtres

How to assign Pixel values to the images?

1 vue (au cours des 30 derniers jours)
Mohan Prasath Thirumalaisamy
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?

Réponse acceptée

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

Plus de réponses (1)

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

Catégories

En savoir plus sur Convert Image Type 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