ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkPolylineMaskImageFilter.h>
Implements image masking operation constrained by a polyline on a plane perpendicular to certain viewing direction.
This class is parameterized over the types of the input image, polyline, vector and output image.
Definition at line 38 of file itkPolylineMaskImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | MatrixType = Matrix< double, Self::InputDimension, Self::InputDimension > |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | PointType = Point< double, 3 > |
using | PolylineType = TPolyline |
using | ProjPlanePointType = Point< double, 2 > |
using | Self = PolylineMaskImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
using | VectorType = TVector |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputDimension = 3 |
static constexpr unsigned int | NDimensions = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
PointType | m_CameraCenterPoint |
double | m_FocalDistance { 0.0 } |
ProjPlanePointType | m_FocalPoint |
MatrixType | m_RotationMatrix |
VectorType | m_UpVector |
VectorType | m_ViewVector |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
bool | m_DynamicMultiThreading |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 47 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 64 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImagePointer = typename InputImageType::ConstPointer |
Definition at line 62 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 63 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::InputImageType = TInputImage |
Some convenient type alias for input image.
Definition at line 61 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::MatrixType = Matrix< double, Self::InputDimension, Self::InputDimension > |
Standard matrix type for this class.
Definition at line 69 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 81 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 79 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 80 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::OutputImageType = TOutputImage |
type alias for the output image.
Definition at line 78 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 46 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PointType = Point< double, 3 > |
Definition at line 65 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::PolylineType = TPolyline |
type alias for the polyline type.
Definition at line 75 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::ProjPlanePointType = Point< double, 2 > |
Definition at line 66 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::Self = PolylineMaskImageFilter |
Standard class type aliases.
Definition at line 44 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Definition at line 45 of file itkPolylineMaskImageFilter.h.
using itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::VectorType = TVector |
type alias for the vector type.
Definition at line 72 of file itkPolylineMaskImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling DynamicThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter can be threaded, it should NOT provide a GenerateData() method but should provide a DynamicThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::GenerateRotationMatrix | ( | ) |
Generate 3D rotation matrix using the viewing and up vectors.
|
virtual |
Set/Get camera center point.
|
virtual |
Set/Get focal distance of the camera.
|
virtual |
Set/Get camera focal point on the projection plane.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get up direction vector.
|
virtual |
Set/Get viewing direction vector.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get camera center point.
|
virtual |
Set/Get focal distance of the camera.
|
virtual |
Set/Get camera focal point on the projection plane.
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetInput1 | ( | const InputImageType * | image | ) |
Set input image.
void itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::SetInput2 | ( | const PolylineType * | polyline | ) |
Set input polyline.
|
virtual |
Set/Get up direction vector.
|
virtual |
Set/Get viewing direction vector.
ProjPlanePointType itk::PolylineMaskImageFilter< TInputImage, TPolyline, TVector, TOutputImage >::TransformProjectPoint | ( | PointType | inputPoint | ) |
3D rotation and perspective projection transform.
|
static |
Definition at line 58 of file itkPolylineMaskImageFilter.h.
|
private |
Definition at line 140 of file itkPolylineMaskImageFilter.h.
|
private |
Definition at line 144 of file itkPolylineMaskImageFilter.h.
|
private |
Definition at line 142 of file itkPolylineMaskImageFilter.h.
|
private |
Definition at line 138 of file itkPolylineMaskImageFilter.h.
|
private |
Definition at line 136 of file itkPolylineMaskImageFilter.h.
|
private |
Definition at line 135 of file itkPolylineMaskImageFilter.h.
|
static |
Number of dimensions.
Definition at line 56 of file itkPolylineMaskImageFilter.h.