Evo 7.13.0-TM26061101
Evo LPR Engine
Loading...
Searching...
No Matches
Evo::CC::Fisheye Class Referenceabstract

#include <CamCalib.hpp>

Inheritance diagram for Evo::CC::Fisheye:
Evo::CC::Model

Public Member Functions

virtual double GetFocalLen (void) const =0
virtual EvoRC ChangeFocalLen (double delta)=0
virtual EvoSize GetOutputSize (void) const =0
virtual EvoRC SetOutputSize (const EvoSize &size)=0
virtual Picture::Ptr Rectify (const char *imgPath)=0
virtual Picture::Ptr Rectify (const EvoImage &img)=0
virtual Picture::Ptr Rectify (const void *encImg, size_t len)=0
Public Member Functions inherited from Evo::CC::Model
virtual const char * GetCalibName (void) const
virtual const char * GetCamProd (void) const
virtual const char * GetLensProd (void) const
virtual EvoSize GetMaxResol (void) const

Static Public Member Functions

static EVOCC_DECLSPEC Ptr Create (const char *calibName)

Detailed Description

Class for fishsys-lens camera model.

Member Function Documentation

◆ ChangeFocalLen()

virtual EvoRC Evo::CC::Fisheye::ChangeFocalLen ( double delta)
pure virtual

Change the current local length. This doesn't directly set the focal length but adds to or subtracts from the default one.

Parameters
[in]deltaValue which is added or subtraced. If set to zero, the current focal length is set to default value.
Returns
EvoRC code

◆ Create()

EVOCC_DECLSPEC Ptr Evo::CC::Fisheye::Create ( const char * calibName)
static

Create an instance of fisheye-lens camera model.

Parameters
[in]calibNameName of applied calibration data.
Returns
Fisheye-Lens camera model, If errors occured, NULL is returned and the error code can be obtained using GetLastRC().

◆ GetFocalLen()

virtual double Evo::CC::Fisheye::GetFocalLen ( void ) const
pure virtual

Get the current focal length.

Returns
Focal length

◆ GetOutputSize()

virtual EvoSize Evo::CC::Fisheye::GetOutputSize ( void ) const
pure virtual

Get current ouptput size of the rectitied image.

Returns
Current output size

◆ Rectify() [1/3]

virtual Picture::Ptr Evo::CC::Fisheye::Rectify ( const char * imgPath)
pure virtual

Rectify the input image distorted by fisheye-lens.

Parameters
[in]imgPathPath of the image file.
Returns
Rectified picture. If errors occured, NULL is returned and the error code can be obtained using GetLastRC().

◆ Rectify() [2/3]

virtual Picture::Ptr Evo::CC::Fisheye::Rectify ( const EvoImage & img)
pure virtual

Rectify the input image distorted by fisheye-lens.

Parameters
[in]imgInput image data
Returns
Rectified picture. If errors occured, NULL is returned and the error code can be obtained using GetLastRC().

◆ Rectify() [3/3]

virtual Picture::Ptr Evo::CC::Fisheye::Rectify ( const void * encImg,
size_t len )
pure virtual

Rectify the input image distorted by fisheye-lens.

Parameters
[in]encImgBuffer of encoded image such as jpeg, png, bmp and so on.
[in]lenLength of the buffer.
Returns
Rectified picture. If errors occured, NULL is returned and the error code can be obtained using GetLastRC().

◆ SetOutputSize()

virtual EvoRC Evo::CC::Fisheye::SetOutputSize ( const EvoSize & size)
pure virtual

Set ouptput size of the rectitied image. The absolute difference between the max resolution and new output size must be multiple of 2.

Parameters
[in]sizeNew output size
Returns
EvoRC code