Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can anyone tell me the code for recognizing whether the input image is normal brain image or lesion(tumor) image.we have successfully segmented the brain image using k means clustering.
Posted
Comments
shammy100 9-Mar-12 8:25am    
please reply as soon as possible.we have submissions in a week.
Bernhard Hiller 9-Mar-12 8:31am    
Oh dear! Do not endanger the life of patients! Do you really understand the responsibiltiy behind such a project? That ought to be the first step.
El_Codero 9-Mar-12 8:47am    
I've bookmarked your question, don't know I should cry or laugh... I think you should employ some medicine experts like him, please do it for the people:

http://people.csail.mit.edu/gering/
ZurdoDev 9-Mar-12 9:02am    
Please research this. No one is going to do your work for you.
Tim Groven 9-Mar-12 10:06am    
This sounds like something that has to be researched, tested, and crafted to be good. Not something that can or should be done in a week.

I'm sure that someone, somewhere, has the code that they have slaved over with their entire team for months or years, just ready, nay, itching to pass it on to you, so that you can either claim it as your own homework or set up a company in competition to his.

But they don't live here.

Sorry.
 
Share this answer
 
Comments
YvesDaoust 13-Mar-12 3:34am    
Let's work to help developers, not make them feel stupid.
From the little that you say, I infer that this is a toy project.

If your segmentation works reliably, you should have large, stable regions. Make sure that you keep only such regions and discard clutter.

A tumor should be distinguished as a region of an unexpected gray level, differing in shape from a normal region.

Assuming that you have a reference image of a normal brain, and also assuming that no registration is required (all images being taken with the heads in exactly the same position), you can compare the regions two by two, for instance using the Jaccard similarity measure (http://en.wikipedia.org/wiki/Jaccard_coefficient[^]). It is an easy matter to count all pixels in the interesections and unions (though the pairwise comparison process will be very costly).

Abnormal regions will appear as having a low Jaccard value.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900