Hi Hila, I think this strongly depends on your application. There is no "best" way to threshold an image without knowing the purpose of the threshold/thresholded image. Do you simply want to remove some low values? Or do you want to only retain the local maxima? Or is there some other idea behind this?
Best Peter On 05/14/2012 11:59 PM, Hila Hiler wrote: > Hi all, > > sorry about the long title :-) > actually my question is very simple: > > I'm wondering what's the best method to extract the high values from a > tract density image in order to get a threshed binary image. > The main issue here is finding the optimal threshold that will remove > the pixels which represent the low density locations in the image. > > In that way, just the high density values in the image will be maintained. > > What I've done till now are the next steps: > a. moving to a logarithmic scale > b. calculating the median from a (the median is the threshold) > c. remove pixels lower then the median from b > d. turning back to a decimal scale > e. show the binary image > > I manipulated that algorithm and the result is only half of the > initial number of pixels were removed (and I want more) ... > > I'm open to new, creative or really any idea ... > > Best, > Hila -- Dipl.-Inform. Peter Neher German Cancer Research Centre (DKFZ, Deutsches Krebsforschungszentrum in der Helmholtz-Gemeinschaft, Stiftung des öffentlichen Rechts) Division of Medical and Biological Informatics Im Neuenheimer Feld 280, D-69120 Heidelberg Phone: 49-(0)6221-42-3552, Fax: 49-(0)6221-42-2345 E-Mail: [email protected], Web: www.dkfz.de The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
