How to assign Pixel values to the images?

1 回表示 (過去 30 日間)
Mohan Prasath Thirumalaisamy
Mohan Prasath Thirumalaisamy 2013 年 1 月 7 日
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?

採用された回答

Image Analyst
Image Analyst 2013 年 1 月 7 日
Simply assign them:
yourImage(theRow, theColumn) = theValueYouWantItToBe;

その他の回答 (1 件)

Matt J
Matt J 2013 年 1 月 7 日
You may find this answer broad (but so is your question)
A(i,j)=number_less_than_one

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by