Presentation is loading. Please wait.

Presentation is loading. Please wait.

a = imread(‘picture.jpg’); imshow(a);

Similar presentations


Presentation on theme: "a = imread(‘picture.jpg’); imshow(a);"— Presentation transcript:

1 a = imread(‘picture.jpg’); imshow(a);
Images Loading an image: a = imread(‘picture.jpg’); imshow(a);

2 Images Image (=matrix) size: size(a): R G B 384 512

3 Images Color image: 3D Matrix of RGB planes

4 Images Show RED plane: a(:,:,2:3) = 0; imshow(a);

5 Images Show GREEN plane: a(:,:,[1 3]) = 0; imshow(a);

6 Images Show BLUE plane: a(:,:,1:2) = 0; imshow(a);

7 Advanced: Shuffling columns
Images Advanced: Shuffling columns rn = rand(1,512); [rn1,i] = sort(rn); b = a(:,i,:); imshow(b);

8 Images


Download ppt "a = imread(‘picture.jpg’); imshow(a);"

Similar presentations


Ads by Google