Class CropImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.CropImageFilter
Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of the largest possible region.
CropImageFilter changes the image boundary of an image by removing pixels outside the
target region. The target region is not specified in advance, but
calculated in BeforeThreadedGenerateData() .
This filter uses ExtractImageFilter to perform the cropping.
See:
 itk::simple::Crop for the procedural interface
 itk::CropImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkCropImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::CropImageFilter::CropImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedCropImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::CropImageFilter::~CropImageFilter() DestructorImage itk::simple::CropImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetCPtr(CropImageFilter obj) std::vector<unsigned int> itk::simple::CropImageFilter::GetLowerBoundaryCropSize() const Set/Get the cropping sizes for the upper and lower boundaries.getName()std::string itk::simple::CropImageFilter::GetName() const Name of this classstd::vector<unsigned int> itk::simple::CropImageFilter::GetUpperBoundaryCropSize() const Set/Get the cropping sizes for the upper and lower boundaries.voidsetLowerBoundaryCropSize(VectorUInt32 LowerBoundaryCropSize) Self& itk::simple::CropImageFilter::SetLowerBoundaryCropSize(std::vector< unsigned int > LowerBoundaryCropSize) Set/Get the cropping sizes for the upper and lower boundaries.voidsetUpperBoundaryCropSize(VectorUInt32 UpperBoundaryCropSize) Self& itk::simple::CropImageFilter::SetUpperBoundaryCropSize(std::vector< unsigned int > UpperBoundaryCropSize) Set/Get the cropping sizes for the upper and lower boundaries.protected static longtoString()std::string itk::simple::CropImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
CropImageFilterprotected CropImageFilter(long cPtr, boolean cMemoryOwn) 
- 
CropImageFilterpublic CropImageFilter()itk::simple::CropImageFilter::CropImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::CropImageFilter::~CropImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setLowerBoundaryCropSizeSelf& itk::simple::CropImageFilter::SetLowerBoundaryCropSize(std::vector< unsigned int > LowerBoundaryCropSize) Set/Get the cropping sizes for the upper and lower boundaries.
- 
getLowerBoundaryCropSizestd::vector<unsigned int> itk::simple::CropImageFilter::GetLowerBoundaryCropSize() const Set/Get the cropping sizes for the upper and lower boundaries.
- 
setUpperBoundaryCropSizeSelf& itk::simple::CropImageFilter::SetUpperBoundaryCropSize(std::vector< unsigned int > UpperBoundaryCropSize) Set/Get the cropping sizes for the upper and lower boundaries.
- 
getUpperBoundaryCropSizestd::vector<unsigned int> itk::simple::CropImageFilter::GetUpperBoundaryCropSize() const Set/Get the cropping sizes for the upper and lower boundaries.
- 
getNamestd::string itk::simple::CropImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::CropImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-