Class FlipImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.FlipImageFilter
Flips an image across user specified axes.
FlipImageFilter flips an image across user specified axes. The flip axes are set via
method SetFlipAxes( array ) where the input is a
FixedArray<bool,ImageDimension>. The image is flipped across
axes for which array[i] is true.
In terms of grid coordinates the image is flipped within the
LargestPossibleRegion of the input image. As such, the
LargestPossibleRegion of the output image is the same as the input.
In terms of geometric coordinates, the output origin is such that the
image is flipped with respect to the coordinate axes.
See:
itk::simple::Flip for the procedural interface
itk::FlipImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkFlipImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::FlipImageFilter::FlipImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedFlipImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::FlipImageFilter::~FlipImageFilter() DestructorImage itk::simple::FlipImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::FlipImageFilter::FlipAboutOriginOff()voidSelf& itk::simple::FlipImageFilter::FlipAboutOriginOn() Set the value of FlipAboutOrigin to true or false respectfully.protected static longgetCPtr(FlipImageFilter obj) booleanbool itk::simple::FlipImageFilter::GetFlipAboutOrigin() const Controls how the output origin is computed.std::vector<bool> itk::simple::FlipImageFilter::GetFlipAxes() const Set/Get the axis to be flipped.getName()std::string itk::simple::FlipImageFilter::GetName() const Name of this classvoidsetFlipAboutOrigin(boolean FlipAboutOrigin) Self& itk::simple::FlipImageFilter::SetFlipAboutOrigin(bool FlipAboutOrigin) Controls how the output origin is computed.voidsetFlipAxes(VectorBool FlipAxes) Self& itk::simple::FlipImageFilter::SetFlipAxes(std::vector< bool > FlipAxes) Set/Get the axis to be flipped.protected static longtoString()std::string itk::simple::FlipImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObject
abort, 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
-
FlipImageFilter
protected FlipImageFilter(long cPtr, boolean cMemoryOwn) -
FlipImageFilter
public FlipImageFilter()itk::simple::FlipImageFilter::FlipImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::FlipImageFilter::~FlipImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setFlipAxes
Self& itk::simple::FlipImageFilter::SetFlipAxes(std::vector< bool > FlipAxes) Set/Get the axis to be flipped. The image is flipped along axes for which array[i] is true. Default is false. -
getFlipAxes
std::vector<bool> itk::simple::FlipImageFilter::GetFlipAxes() const Set/Get the axis to be flipped. The image is flipped along axes for which array[i] is true. Default is false. -
setFlipAboutOrigin
public void setFlipAboutOrigin(boolean FlipAboutOrigin) Self& itk::simple::FlipImageFilter::SetFlipAboutOrigin(bool FlipAboutOrigin) Controls how the output origin is computed. If FlipAboutOrigin is "On", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis. Default is "On". -
flipAboutOriginOn
public void flipAboutOriginOn()Self& itk::simple::FlipImageFilter::FlipAboutOriginOn() Set the value of FlipAboutOrigin to true or false respectfully. -
flipAboutOriginOff
public void flipAboutOriginOff()Self& itk::simple::FlipImageFilter::FlipAboutOriginOff() -
getFlipAboutOrigin
public boolean getFlipAboutOrigin()bool itk::simple::FlipImageFilter::GetFlipAboutOrigin() const Controls how the output origin is computed. If FlipAboutOrigin is "On", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis. Default is "On". -
getName
std::string itk::simple::FlipImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::FlipImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-