About this blog

I feel this blog as a reflection of my thoughts to myself , and sometimes as a public diary, and the is my only friend to share my thoughts who says never a "oh no! ,you shouldn't....That is boring...."

The way you press a button first time can tell your attitude

If you press it very hard during very first try, it means you are blunt
and negative minded.
If you press it very gently in your first try, it means you are too soft
natured (very humble) and timid.
If you press it with right pressure in your first try, it means you are
practical or positive minded.

convert grey scale image to colour image

install imagej software, freely available on imagej website.

next use the 'Lookup table' option under 'Image' menu to convert into
various color images. since many choices of colour are possible.

రెండు ఆంగ్ల పదాలకు కొత్త అనువాదాలు

 కోడి గుడ్డు మీద వెంట్రుకలు పీకే వాడిని ఏమంటారు  ---egg-barber :D
barbie (doll) -- ఆడ క్షవరకురాలు (లేక) మంగలిది

చాలా దగ్గరగా ఉండే ప్రమాదకరమైన పదాలు

Decease అంటే చనిపోవటం .
Disease  అంటే జబ్బు .

P.S. నాకోసం మాత్రమే  వ్రాసుకున్నా .

octave matlab code for multiple thresholding an image using histogram peaks

The following code converts an image histogram into finitely sparse histogram by using multiple thresholds that appear in histogram as peaks.

Input image in tif format:



code begins here:

clear all
#### Automatic way to make histogram of an image
#### highly sparse with thresholds observed in Histogram
#### Author: Rowthu Vijayakrishna
#### Date: 02-August-2014
#### Place:Dept. of Mathematics,IIT Kanpur

A=imread('Documents/octave/testIMGS/greyshade.tif');
for jump=1:3 ###jump is the maximum seperation in threshold values
do
B=A;
H=imhist(A,256);
plot(H);pause;
 for i=1:size(A,1)
    for j=1:size(A,2)
       if H(1+A(i,j))<H(1+uint8(jump+A(i,j)))
          A(i,j)=uint8(A(i,j)+jump);1
        else if H(1+uint8(A(i,j)-jump))>H(1+A(i,j))
               A(i,j)=uint8(A(i,j)-jump);2
             endif;
        endif;
    endfor;
endfor;
until max(abs(B-A)(:))==0
endfor;

imwrite(A,'temp.tif');
printf('End of the programme\n');