[Insight-users] Contribution for itk

Luis Ibanez luis.ibanez at kitware.com
Sat, 28 Feb 2004 11:42:27 -0500


Hi Luca,

Thanks for your willingness to contribute code to ITK.

We will be happy to add these classes to the toolkit.
Could you please send them as attachments to and email ?

and if you already have a simple test for them, that will
be greatly speed up the process.

Take a look at the ITK license and make sure that you
are comfortable with it since your code will be subject
to this license once it is integrated in the toolkit.

       http://www.itk.org/HTML/Copyright.htm


Please also include information regarding how do you want
the credits to be specified in the class documentation.
We typically add the name of the author and the institution.
(you may or may not want you add your email and a web page).



Thanks


    Luis



-------------------------------
lucantiga at softhome.net wrote:

> Hi Luis,
>  if you like them and find them useful, I have these classes around I'd 
> like to contribute to itk 
> 
> 1. itk::Statistics::OtsuThresholdsCalculator: class in the Statistics
> namespace which computes N thresholds by maximizing the between-class
> variance of the classes. Input: itkHistogram. Output: vector of
> thresholds.
>  In fact there's already an OtsuThresholdImageCalculator, but it's a bit
> odd: it's derived from itk::Object, it takes in input an itk::Image
> (therefore you can't work with subsamples) and it's limited to 1
> threshold.
> 
> 2. itk::Statistics::HistogramAlgorithmBase: base class for the above 
> class, which behaves like SampleAlgorithmBase.
> 
> 3. itk::ThresholdLabelerImageFilter: derived from UnaryFunctorImageFilter. 
> It takes a vector of sorted thresholds in input (e.g., the output of 
> OtsuThresholdImageCalculator) and produces a labeled image in output. One 
> can specify the label offset.
> 
> Let me know and I'll mail them to you
> 
> Ciao
> 
> Luca
>