Apply a colormap to the contours (outlines) of each object in a label map and superimpose it on top of the feature image.
More...
|
Image | Execute (const Image &labelMapImage, const Image &featureImage) |
|
Image | Execute (const Image &labelMapImage, const Image &featureImage, double opacity, const std::vector< unsigned int > &dilationRadius, const std::vector< unsigned int > &contourThickness, unsigned int sliceDimension, LabelMapContourOverlayImageFilter::ContourTypeType contourType, LabelMapContourOverlayImageFilter::PriorityType priority, std::vector< uint8_t > colormap) |
|
std::vector< uint8_t > | GetColormap () const |
|
std::vector< unsigned int > | GetContourThickness () const |
|
ContourTypeType | GetContourType () const |
|
std::vector< unsigned int > | GetDilationRadius () const |
|
std::string | GetName () const |
|
double | GetOpacity () const |
|
PriorityType | GetPriority () const |
|
unsigned int | GetSliceDimension () const |
|
| LabelMapContourOverlayImageFilter () |
|
Self & | SetColormap (std::vector< uint8_t > Colormap) |
|
Self & | SetContourThickness (const std::vector< unsigned int > &ContourThickness) |
|
Self & | SetContourType (ContourTypeType ContourType) |
|
Self & | SetDilationRadius (const std::vector< unsigned int > &DilationRadius) |
|
Self & | SetDilationRadius (unsigned int value) |
|
Self & | SetOpacity (double Opacity) |
|
Self & | SetPriority (PriorityType Priority) |
|
Self & | SetSliceDimension (unsigned int SliceDimension) |
|
std::string | ToString () const |
|
virtual | ~LabelMapContourOverlayImageFilter () |
|
| ImageFilter () |
|
virtual | ~ImageFilter ()=0 |
|
virtual void | Abort () |
|
virtual int | AddCommand (itk::simple::EventEnum event, itk::simple::Command &cmd) |
| Add a Command Object to observer the event. More...
|
|
virtual float | GetProgress () const |
| An Active Measurement of the progress of execution. More...
|
|
virtual bool | HasCommand (itk::simple::EventEnum event) const |
| Query of this object has any registered commands for event. More...
|
|
| ProcessObject () |
|
virtual void | RemoveAllCommands () |
| Remove all registered commands. More...
|
|
virtual | ~ProcessObject () |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
virtual bool | GetDebug () const |
|
virtual void | SetDebug (bool debugFlag) |
|
virtual void | SetNumberOfThreads (unsigned int n) |
|
virtual unsigned int | GetNumberOfThreads () const |
|
|
static bool | GetGlobalDefaultDebug () |
|
static void | GlobalDefaultDebugOff () |
|
static void | GlobalDefaultDebugOn () |
|
static void | SetGlobalDefaultDebug (bool debugFlag) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static void | SetGlobalWarningDisplay (bool flag) |
|
static bool | GetGlobalWarningDisplay () |
|
static void | SetGlobalDefaultNumberOfThreads (unsigned int n) |
|
static unsigned int | GetGlobalDefaultNumberOfThreads () |
|
static double | GetGlobalDefaultCoordinateTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultCoordinateTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
static double | GetGlobalDefaultDirectionTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultDirectionTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
virtual unsigned long | AddITKObserver (const itk::EventObject &, itk::Command *) |
|
virtual itk::ProcessObject * | GetActiveProcess () |
|
virtual void | OnActiveProcessDelete () |
|
virtual void | onCommandDelete (const itk::simple::Command *cmd) SITK_NOEXCEPT |
|
virtual void | PreUpdate (itk::ProcessObject *p) |
|
virtual void | RemoveITKObserver (EventCommand &e) |
|
| NonCopyable () |
|
static void | FixNonZeroIndex (TImageType *img) |
|
template<class TImageType > |
static TImageType::ConstPointer | CastImageToITK (const Image &img) |
|
template<class TImageType > |
static Image | CastITKToImage (TImageType *img) |
|
template<class TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector> |
static Image | CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img) |
|
static const itk::EventObject & | GetITKEventObject (EventEnum e) |
|
template<typename T > |
static std::ostream & | ToStringHelper (std::ostream &os, const T &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const signed char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const unsigned char &v) |
|
Apply a colormap to the contours (outlines) of each object in a label map and superimpose it on top of the feature image.
The feature image is typically the image from which the labeling was produced. Use the SetInput function to set the LabelMap , and the SetFeatureImage function to set the feature image.
Apply a colormap to a label map and put it on top of the input image. The set of colors is a good selection of distinct colors. The opacity of the label map can be defined by the user. A background label produce a gray pixel with the same intensity than the input one.
- Author
- Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
This implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
- See also
- LabelMapOverlayImageFilter , LabelOverlayImageFilter , LabelOverlayFunctor
-
LabelMapToBinaryImageFilter , LabelMapToLabelImageFilter ,
-
itk::simple::LabelMapContourOverlay for the procedural interface
-
itk::LabelMapContourOverlayImageFilter for the Doxygen on the original ITK class.
Definition at line 53 of file sitkLabelMapContourOverlayImageFilter.h.