Slicer 5.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkImageLabelOutline.h
Go to the documentation of this file.
1/*=auto=========================================================================
2
3 Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5 See COPYRIGHT.txt
6 or http://www.slicer.org/copyright/copyright.txt for details.
7
8 Program: 3D Slicer
9 Module: $RCSfile: vtkImageLabelOutline.h,v $
10 Date: $Date$
11 Version: $Revision$
12
13=========================================================================auto=*/
14
15#ifndef __vtkImageLabelOutline_h
16#define __vtkImageLabelOutline_h
17
19
20#include "vtkMRMLLogicExport.h"
21
22class vtkImageData;
23
28class VTK_MRML_LOGIC_EXPORT vtkImageLabelOutline : public vtkImageNeighborhoodFilter
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
37 vtkSetMacro(Background, float);
38 vtkGetMacro(Background, float);
39
42 void SetOutline(int outline);
43 vtkGetMacro(Outline, int);
44
45protected:
48
51
52 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
53 int extent[6], int id) override;
54
55private:
57 void operator=(const vtkImageLabelOutline&) = delete;
58};
59
60#endif
Display labelmap outlines.
static vtkImageLabelOutline * New()
void SetOutline(int outline)
Thickness of the outline, used to set the kernel size.
void PrintSelf(ostream &os, vtkIndent indent) override
~vtkImageLabelOutline() override
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int id) override
Augments vtkImageSpatialFilter with a mask to allow neighborhoods of any shape.