Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

img=imread('fresas.

jpg');
imshow(img)
% imgR = img(:,:,1);
% imgG = img(:,:,2);
% imgB = img(:,:,3);
%
% subplot(2,3,1:3);
% imshow(img)
% subplot(2,3,4);
% imshow(imgR)
% title('imagen R')
% subplot(2,3,5);
% imshow(imgG)
% title('imagen G')
% subplot(2,3,6);
% imshow(imgB)
% title('imagen B')
g=imcrop(img);
imshow(g)

de la primera

img=imread('fresas.jpg');
% imshow(img)
% g = imadjust(img,[0.5 0.7],[0.5 1],2);
% figure;
% imshow(g)
%transformacion con logaritmos
g=log(1+double(img));
% figure;
% imshow(g)
gris=rgb2gray(img);
figure;
title('imagen gris')
imshow(gris)
gm=im2uint8(mat2gray(gris));
title('imagen a 8bit')
figure;
imshow(gm)
ganttpro.com

You might also like