Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitk::UndistortCameraImage Class Reference

#include <mitkUndistortCameraImage.h>

Inheritance diagram for mitk::UndistortCameraImage:
Collaboration diagram for mitk::UndistortCameraImage:

Public Member Functions

 mitkClassMacroItkParent (UndistortCameraImage, itk::Object)
 
Pointer Clone () const
 
void SetFocalLength (float fc_x, float fc_y)
 Initialization ///. More...
 
void SetPrincipalPoint (float cc_x, float cc_y)
 
void SetCameraDistortion (float kc1, float kc2, float kc3, float kc4)
 
void InitRemapUndistortion (int sizeX, int sizeY)
 
mitk::Point2D UndistortPixel (const mitk::Point2D &src)
 USAGE ///. More...
 
void UndistortImage (IplImage *src, IplImage *dst)
 
void UndistortImageFast (IplImage *src, IplImage *dst=nullptr)
 
void SetUndistortImageFastInfo (float in_dF1, float in_dF2, float in_dPrincipalX, float in_dPrincipalY, float in_Dist[4], float ImageSizeX, float ImageSizeY)
 
 UndistortCameraImage ()
 
 ~UndistortCameraImage () override
 

Static Public Member Functions

static Pointer New ()
 

Protected Attributes

float m_ccX
 
float m_ccY
 
float m_fcX
 
float m_fcY
 
float m_distortionMatrixData [4]
 
float m_intrinsicMatrixData [9]
 
CvMat * m_mapX
 
CvMat * m_mapY
 
CvMat m_intrinsicMatrix
 
CvMat m_distortionMatrix
 
IplImage * m_tempImage
 
CvMat * m_DistortionCoeffs
 
CvMat * m_CameraMatrix
 

Detailed Description

Definition at line 42 of file mitkUndistortCameraImage.h.

Constructor & Destructor Documentation

◆ UndistortCameraImage()

mitk::UndistortCameraImage::UndistortCameraImage ( )

◆ ~UndistortCameraImage()

mitk::UndistortCameraImage::~UndistortCameraImage ( )
override

Member Function Documentation

◆ Clone()

Pointer mitk::UndistortCameraImage::Clone ( ) const

◆ InitRemapUndistortion()

void mitk::UndistortCameraImage::InitRemapUndistortion ( int  sizeX,
int  sizeY 
)

◆ mitkClassMacroItkParent()

mitk::UndistortCameraImage::mitkClassMacroItkParent ( UndistortCameraImage  ,
itk::Object   
)

◆ New()

static Pointer mitk::UndistortCameraImage::New ( )
static

◆ SetCameraDistortion()

void mitk::UndistortCameraImage::SetCameraDistortion ( float  kc1,
float  kc2,
float  kc3,
float  kc4 
)
inline

Definition at line 68 of file mitkUndistortCameraImage.h.

◆ SetFocalLength()

void mitk::UndistortCameraImage::SetFocalLength ( float  fc_x,
float  fc_y 
)
inline

Initialization ///.

Definition at line 54 of file mitkUndistortCameraImage.h.

◆ SetPrincipalPoint()

void mitk::UndistortCameraImage::SetPrincipalPoint ( float  cc_x,
float  cc_y 
)
inline

Definition at line 61 of file mitkUndistortCameraImage.h.

◆ SetUndistortImageFastInfo()

void mitk::UndistortCameraImage::SetUndistortImageFastInfo ( float  in_dF1,
float  in_dF2,
float  in_dPrincipalX,
float  in_dPrincipalY,
float  in_Dist[4],
float  ImageSizeX,
float  ImageSizeY 
)

◆ UndistortImage()

void mitk::UndistortCameraImage::UndistortImage ( IplImage *  src,
IplImage *  dst 
)

◆ UndistortImageFast()

void mitk::UndistortCameraImage::UndistortImageFast ( IplImage *  src,
IplImage *  dst = nullptr 
)

◆ UndistortPixel()

mitk::Point2D mitk::UndistortCameraImage::UndistortPixel ( const mitk::Point2D src)

USAGE ///.

Member Data Documentation

◆ m_CameraMatrix

CvMat* mitk::UndistortCameraImage::m_CameraMatrix
protected

Definition at line 120 of file mitkUndistortCameraImage.h.

◆ m_ccX

float mitk::UndistortCameraImage::m_ccX
protected

Definition at line 105 of file mitkUndistortCameraImage.h.

◆ m_ccY

float mitk::UndistortCameraImage::m_ccY
protected

Definition at line 105 of file mitkUndistortCameraImage.h.

◆ m_DistortionCoeffs

CvMat* mitk::UndistortCameraImage::m_DistortionCoeffs
protected

Definition at line 119 of file mitkUndistortCameraImage.h.

◆ m_distortionMatrix

CvMat mitk::UndistortCameraImage::m_distortionMatrix
protected

Definition at line 113 of file mitkUndistortCameraImage.h.

◆ m_distortionMatrixData

float mitk::UndistortCameraImage::m_distortionMatrixData[4]
protected

Definition at line 107 of file mitkUndistortCameraImage.h.

◆ m_fcX

float mitk::UndistortCameraImage::m_fcX
protected

Definition at line 105 of file mitkUndistortCameraImage.h.

◆ m_fcY

float mitk::UndistortCameraImage::m_fcY
protected

Definition at line 105 of file mitkUndistortCameraImage.h.

◆ m_intrinsicMatrix

CvMat mitk::UndistortCameraImage::m_intrinsicMatrix
protected

Definition at line 113 of file mitkUndistortCameraImage.h.

◆ m_intrinsicMatrixData

float mitk::UndistortCameraImage::m_intrinsicMatrixData[9]
protected

Definition at line 109 of file mitkUndistortCameraImage.h.

◆ m_mapX

CvMat* mitk::UndistortCameraImage::m_mapX
protected

Definition at line 111 of file mitkUndistortCameraImage.h.

◆ m_mapY

CvMat * mitk::UndistortCameraImage::m_mapY
protected

Definition at line 111 of file mitkUndistortCameraImage.h.

◆ m_tempImage

IplImage* mitk::UndistortCameraImage::m_tempImage
protected

Definition at line 115 of file mitkUndistortCameraImage.h.


The documentation for this class was generated from the following file: