[Insight-developers] ChanAndVese Function: Scalart

Luis Ibanez luis.ibanez at kitware.com
Mon May 18 10:48:37 EDT 2009


Arnaud, Kishore, Alex,

The RegionBasedLevelSet function classes use the type


                ScalarValueType


for returning most of the computation of the differential
equation terms.


This type is defined from the PixelType of the input level set.

The type is used for performing floating point computations.

There seems to be an assumption that the input (and output)
level sets must be images whose pixel types are float or
double.

However, there is no ConceptCheck associated with this assumption.


Could you please verify if this observation is correct ?

and if so,


   A) Should we introduce a RealScalarType in order to
      perform computations ?

      (In which case, we will introduce the corresponding
       concept checks.)


   or


   B) Should we require that the input and output level set
      images use pixel types (float,double) ?



   Thanks for any advice,



      Luis




More information about the Insight-developers mailing list