[Insight-developers] texture features question

Luis Ibanez luis.ibanez at kitware.com
Mon May 16 21:43:42 EDT 2011


Hi Nick,

Yeap, that looks like a bug.

Although, to make sense of it,
we have to dive into how the
bounds are used in the histogram
computation...


     Luis


--------------------------------------------------
On Mon, May 16, 2011 at 9:19 PM, Nicholas Tustison <ntustison at gmail.com> wrote:
> Hi,
>
> I've been working with the cooccurrence matrix texture features classes and noticed that
> if I simply rescale the values, the texture measures are completely different.  I tracked it
> down to lines 384 and 385 of itkScalarImageToCooccurrenceMatrixFilter.txx which the
> user uses to set the min and max values of the joint histogram:
>
>  m_LowerBound.Fill(min);
>  m_UpperBound.Fill(max + 1);
>
> It would seem that line 385 should, instead, be
>
>  m_UpperBound.Fill(max);
>
> Does that make sense or am I missing something?
>
> Thanks,
> Nick
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list