Prev: fashion lv, gucci, coach, chanel bags on 4nike4
Next: algorithm for converting simple matrix into tridiagonal matrix
From: ImageAnalyst on 4 Jan 2010 06:10 -hendy- If you have an image, the image is in a numerical variable that is an array. The elements of that array ARE your intensity values. For example: % Read in standard MATLAB demo image. grayImage = imread('cameraman.tif'); imshow(grayImage, []); title('Original Grayscale Image'); set(gcf, 'Position', get(0,'Screensize')); % Maximize figure. Let's say you want the intensity value at row 100, column 230. Well then you'd just say intensityValue = grayImage(100, 230); It's as simple as that.
From: Hendy Sutomo on 4 Jan 2010 07:56
Thanks alot ImageAnalyst. Now I get the idea. -hendy- |