Area of brain tumor using binarization method
<p>For my project, I segment the tumor cells from the normal brain cells using K-means algorithm and and find out the area using the below coding.</p>

<pre><code>tumour_image;



binarized_img = zeros(n,n);
threshold = mean(tumour_image(:));
binarized_img(find(tumour_image&gt;=threshold)) = 1;
binarized_img(find(tumour_image&lt;threshold)) = 0;

n=512;
binarized_img = handles.binarized_img;
affected_img = imresize(binarized_img,[n/2 n/2]);
number_of_white_pixel = length(find(binarized_img == 1));
p=0.264;
size_tumour = sqrt(number_of_white_pixel)*p;
</code></pre>

<p>In the above code,the tumor image is subjected to thresholding process and i calculate the area using the above steps.I get this steps from <a href="http://www.ijera.com/papers/Vol5_issue4/Part%20-%206/J504066065.pdf" rel="nofollow noreferrer">this</a>  journal paper.</p>

<p><a href="https://i.stack.imgur.com/svc3n.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/svc3n.jpg" alt="enter image description here"></a></p>

<p>I have attached my tumor image as well,for this image I'm getting 33.321 mm2 as a tumor area.The problem now is,in the image,tumor part seems to be large,but I get this small value as area and in the code,to find the size of area,they use <code>sqrt</code>,is there any best way to find the area of tumor than this? or do i need to modify this square root to square vale.</p>