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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by