Professional Documents
Culture Documents
Just For Fun - No Sex Causes Bad Eyes
Just For Fun - No Sex Causes Bad Eyes
Hahaha... suddenly i got an idea about how to read an image contains sentence thats unable to read at glance. Well, maybe half people can and half cant.. in this section i will try to use image processing. So this is the picture
Actually this image has 201 x 960 in size. This size makes it difficult to read because its discontinuity at each letter. So the idea is to make size of the image smaller so we can make this discontinuity disappear. But not really disappear. Here are the steps: Import image information by reading it into matlab
filename='image.jpg'; I=imread(filename); imshow(I); result:
Jans.hendry@gmail.com
Resize image smaller, lets say 50% and 9% in height and width
[x,y]=size(I); x=.5*x; y=.09*y; bw=imresize(I,[x y],'cubic');
Change its color format to binary image (we use common threshold technique)
bw=im2bw(bw,.3);
And its now able to be read clearly.. Hei.. come on.. This is just for fun dude... @thanks...
Jans.hendry@gmail.com