Package org.itk.simple
Class CosImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.CosImageFilter
Computes the cosine of each pixel.
This filter is templated over the pixel type of the input image and
the pixel type of the output image.
The filter walks over all of the pixels in the input image, and for
each pixel does the following:
cast the pixel value to double ,
apply the std::cos() function to the double value,
cast the double value resulting from std::cos() to the pixel type of
the output image,
store the cast value into the output image.
The filter expects both images to have the same dimension (e.g. both
2D, or both 3D, or both ND)
See:
itk::simple::Cos for the procedural interface
itk::CosImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkCosImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::CosImageFilter::CosImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
CosImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::CosImageFilter::~CosImageFilter() DestructorImage itk::simple::CosImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected void
finalize()
protected static long
getCPtr
(CosImageFilter obj) getName()
std::string itk::simple::CosImageFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::CosImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods 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
-
CosImageFilter
protected CosImageFilter(long cPtr, boolean cMemoryOwn) -
CosImageFilter
public CosImageFilter()itk::simple::CosImageFilter::CosImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::CosImageFilter::~CosImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::CosImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::CosImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::CosImageFilter::Execute(Image &&image1) Execute the filter on the input image
-