Matlab : Image Squarig Problem

Status
Not open for further replies.

sameem_shabbir

Advanced Member level 4
Joined
Jan 5, 2008
Messages
104
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
Pakistan
Activity points
1,946
Hi all
I want to take the square of all the pixel values of an image
I dont want to square the image

But the problem which i am facing is that Matlab squares all the values as an image eg. ie max value is 255
where as i want that if any pixel value is 100 , its squared value should come out to be 10000
How should i do that?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…