ANIMA
4.0
|
Class performing grah cut segmentation. First the sources and sinks probabilities maps are computed using the TLinkFilter. Then the Graph3DFilter is called to perform the graph cut. More...
#include <animaGraphCutFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::VariableSizeMatrix< NumericType > | doubleVariableSizeMatrixType |
typedef double | NumericType |
typedef TOutput::Pointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef double | PixelTypeD |
typedef unsigned char | PixelTypeUC |
typedef itk::SmartPointer< Self > | Pointer |
typedef GraphCutFilter | Self |
typedef itk::ImageToImageFilter< TInput, TOutput > | Superclass |
typedef itk::Image< PixelTypeUC, 3 > | TMask |
typedef TMask::Pointer | TMaskPointer |
typedef itk::Image< PixelTypeD, 3 > | TSeedProba |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual double | GetAlpha () |
virtual double | GetMultiVarSinks () |
virtual double | GetMultiVarSources () |
virtual const char * | GetNameOfClass () const |
OutputImagePointer | GetOutput () |
OutputImagePointer | GetOutputBackground () |
std::string | GetOutputFilename () |
virtual double | GetSigma () |
TLinkMode | GetTLinkMode () |
virtual bool | GetUseSpectralGradient () |
virtual bool | GetVerbose () |
virtual void | SetAlpha (double _arg) |
void | SetInputImage (unsigned int i, const TInput *image) |
void | SetInputSeedSinksMask (const TMask *mask) |
void | SetInputSeedSinksProba (const TSeedProba *mask) |
void | SetInputSeedSourcesMask (const TMask *mask) |
void | SetInputSeedSourcesProba (const TSeedProba *mask) |
void | SetMask (const TMask *mask) |
void | SetMatrix (doubleVariableSizeMatrixType mat) |
void | SetMatrixGradFilename (std::string mat) |
virtual void | SetMultiVarSinks (double _arg) |
virtual void | SetMultiVarSources (double _arg) |
void | SetOutputFilename (std::string filename) |
virtual void | SetSigma (double _arg) |
void | SetTLinkMode (TLinkMode m) |
void | SetTol (const double tol) |
virtual void | SetUseSpectralGradient (bool _arg) |
virtual void | SetVerbose (bool _arg) |
void | WriteOutputs () |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef Graph3DFilter< TInput, TOutput > | Graph3DFilterType |
typedef TLinksFilter< TInput, TSeedProba > | TLinksFilterType |
Protected Member Functions | |
void | GenerateData () ITK_OVERRIDE |
TMask::ConstPointer | GetInputSeedSinksMask () |
TSeedProba::ConstPointer | GetInputSeedSinksProba () |
TMask::ConstPointer | GetInputSeedSourcesMask () |
TSeedProba::ConstPointer | GetInputSeedSourcesProba () |
TMask::ConstPointer | GetMask () |
doubleVariableSizeMatrixType | GetMatrix (void) |
std::string | GetMatrixGradFilename (void) |
GraphCutFilter () | |
itk::DataObject::Pointer | MakeOutput (unsigned int idx) |
virtual | ~GraphCutFilter () |
Protected Attributes | |
Graph3DFilterType::Pointer | m_Graph3DFilter |
TLinksFilterType::Pointer | m_TLinksFilter |
Class performing grah cut segmentation. First the sources and sinks probabilities maps are computed using the TLinkFilter. Then the Graph3DFilter is called to perform the graph cut.
Definition at line 17 of file animaGraphCutFilter.h.
typedef itk::SmartPointer<const Self> anima::GraphCutFilter< TInput, TOutput >::ConstPointer |
Definition at line 25 of file animaGraphCutFilter.h.
typedef itk::VariableSizeMatrix<NumericType> anima::GraphCutFilter< TInput, TOutput >::doubleVariableSizeMatrixType |
Definition at line 44 of file animaGraphCutFilter.h.
|
protected |
Definition at line 104 of file animaGraphCutFilter.h.
typedef double anima::GraphCutFilter< TInput, TOutput >::NumericType |
Definition at line 43 of file animaGraphCutFilter.h.
typedef TOutput::Pointer anima::GraphCutFilter< TInput, TOutput >::OutputImagePointer |
Image typedef support
Definition at line 31 of file animaGraphCutFilter.h.
typedef Superclass::OutputImageRegionType anima::GraphCutFilter< TInput, TOutput >::OutputImageRegionType |
Superclass typedefs.
Definition at line 76 of file animaGraphCutFilter.h.
typedef double anima::GraphCutFilter< TInput, TOutput >::PixelTypeD |
Definition at line 40 of file animaGraphCutFilter.h.
typedef unsigned char anima::GraphCutFilter< TInput, TOutput >::PixelTypeUC |
Definition at line 36 of file animaGraphCutFilter.h.
typedef itk::SmartPointer<Self> anima::GraphCutFilter< TInput, TOutput >::Pointer |
Definition at line 24 of file animaGraphCutFilter.h.
typedef GraphCutFilter anima::GraphCutFilter< TInput, TOutput >::Self |
Standard class typedefs.
Definition at line 22 of file animaGraphCutFilter.h.
typedef itk::ImageToImageFilter< TInput , TOutput > anima::GraphCutFilter< TInput, TOutput >::Superclass |
Definition at line 23 of file animaGraphCutFilter.h.
|
protected |
Definition at line 105 of file animaGraphCutFilter.h.
typedef itk::Image<PixelTypeUC,3> anima::GraphCutFilter< TInput, TOutput >::TMask |
Definition at line 37 of file animaGraphCutFilter.h.
typedef TMask::Pointer anima::GraphCutFilter< TInput, TOutput >::TMaskPointer |
Definition at line 38 of file animaGraphCutFilter.h.
typedef itk::Image<PixelTypeD,3> anima::GraphCutFilter< TInput, TOutput >::TSeedProba |
Definition at line 41 of file animaGraphCutFilter.h.
|
inlineprotected |
Definition at line 110 of file animaGraphCutFilter.h.
References anima::GraphCutFilter< TInput, TOutput >::MakeOutput(), anima::TLinksFilter< TInput, TOutput >::New(), anima::Graph3DFilter< TInput, TOutput >::New(), and singleGaussianTLink.
|
inlineprotectedvirtual |
Definition at line 139 of file animaGraphCutFilter.h.
References anima::GraphCutFilter< TInput, TOutput >::GetInputSeedSinksMask(), anima::GraphCutFilter< TInput, TOutput >::GetInputSeedSinksProba(), anima::GraphCutFilter< TInput, TOutput >::GetInputSeedSourcesMask(), anima::GraphCutFilter< TInput, TOutput >::GetInputSeedSourcesProba(), anima::GraphCutFilter< TInput, TOutput >::GetMask(), and anima::GraphCutFilter< TInput, TOutput >::MakeOutput().
virtual::itk::LightObject::Pointer anima::GraphCutFilter< TInput, TOutput >::CreateAnother | ( | void | ) | const |
|
protected |
Definition at line 154 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::GetMatrixGradFilename(), and anima::GraphCutFilter< TInput, TOutput >::WriteOutputs().
|
virtual |
|
protected |
Definition at line 82 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::~GraphCutFilter().
|
protected |
Definition at line 96 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::~GraphCutFilter().
|
protected |
Definition at line 75 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::~GraphCutFilter().
|
protected |
Definition at line 89 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::~GraphCutFilter().
|
protected |
Definition at line 68 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::~GraphCutFilter().
|
inlineprotected |
Definition at line 154 of file animaGraphCutFilter.h.
|
inlineprotected |
Definition at line 155 of file animaGraphCutFilter.h.
References anima::GraphCutFilter< TInput, TOutput >::GenerateData().
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods)
TOutput::Pointer anima::GraphCutFilter< TInputImage, TOutput >::GetOutput | ( | ) |
Definition at line 124 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::SetTLinkMode().
TOutput::Pointer anima::GraphCutFilter< TInputImage, TOutput >::GetOutputBackground | ( | ) |
Definition at line 129 of file animaGraphCutFilter.hxx.
References anima::GraphCutFilter< TInput, TOutput >::WriteOutputs().
Referenced by anima::GraphCutFilter< TInput, TOutput >::SetTLinkMode().
|
inline |
Definition at line 64 of file animaGraphCutFilter.h.
|
virtual |
|
inline |
Definition at line 67 of file animaGraphCutFilter.h.
|
virtual |
|
virtual |
|
protected |
Create the Output
Definition at line 103 of file animaGraphCutFilter.hxx.
Referenced by anima::GraphCutFilter< TInput, TOutput >::GraphCutFilter(), and anima::GraphCutFilter< TInput, TOutput >::~GraphCutFilter().
|
static |
Method for creation through the object factory.
Referenced by anima::GcStremMsLesionsSegmentationFilter< TInputImage >::GcStremMsLesionsSegmentationFilter().
|
virtual |
void anima::GraphCutFilter< TInput, TOutput >::SetInputImage | ( | unsigned int | i, |
const TInput * | image | ||
) |
The MRI images.
Definition at line 9 of file animaGraphCutFilter.hxx.
void anima::GraphCutFilter< TInput, TOutput >::SetInputSeedSinksMask | ( | const TMask * | mask | ) |
Definition at line 40 of file animaGraphCutFilter.hxx.
void anima::GraphCutFilter< TInput, TOutput >::SetInputSeedSinksProba | ( | const TSeedProba * | mask | ) |
Definition at line 59 of file animaGraphCutFilter.hxx.
void anima::GraphCutFilter< TInput, TOutput >::SetInputSeedSourcesMask | ( | const TMask * | mask | ) |
probabilities of the object and the background, respectively or binary mask of the object and the background, respectively
Definition at line 31 of file animaGraphCutFilter.hxx.
void anima::GraphCutFilter< TInput, TOutput >::SetInputSeedSourcesProba | ( | const TSeedProba * | mask | ) |
Definition at line 50 of file animaGraphCutFilter.hxx.
void anima::GraphCutFilter< TInput, TOutput >::SetMask | ( | const TMask * | mask | ) |
mask in which the segmentation will be performed
Definition at line 24 of file animaGraphCutFilter.hxx.
|
inline |
Definition at line 61 of file animaGraphCutFilter.h.
|
inline |
Definition at line 62 of file animaGraphCutFilter.h.
|
virtual |
|
virtual |
|
inline |
Definition at line 65 of file animaGraphCutFilter.h.
|
virtual |
|
inline |
Definition at line 68 of file animaGraphCutFilter.h.
References anima::GraphCutFilter< TInput, TOutput >::GetOutput(), anima::GraphCutFilter< TInput, TOutput >::GetOutputBackground(), and anima::GraphCutFilter< TInput, TOutput >::WriteOutputs().
|
inline |
Definition at line 78 of file animaGraphCutFilter.h.
|
virtual |
|
virtual |
void anima::GraphCutFilter< TInput, TOutput >::WriteOutputs | ( | ) |
Definition at line 137 of file animaGraphCutFilter.hxx.
References anima::GraphCutFilter< TInput, TOutput >::GenerateData().
Referenced by anima::GraphCutFilter< TInput, TOutput >::GetOutputBackground(), and anima::GraphCutFilter< TInput, TOutput >::SetTLinkMode().
|
protected |
Definition at line 108 of file animaGraphCutFilter.h.
|
protected |
Definition at line 107 of file animaGraphCutFilter.h.