Demo entry 2367829

Matlab

   

Submitted by anonymous on Aug 15, 2015 at 21:44
Language: Matlab. Code size: 283 Bytes.

%Punto 1
hand = imread('hands1.jpg');
binh = im2bw(hand,0.58);
imshow(binh);

%Punto 2
cam = imread('cameraman.tif');
bincam = im2bw(cam,0.04);
imshow(bincam);

%Punto 3
load trees;
imshow(X,map);
colorbar;

%Punto 4
con = ind2rgb(X,map);
imwrite (con, 'Trees.png');

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).