CycloPos Header version 1.0.0
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
cyCamera Class Reference

#include <cyCamera.h>

Inheritance diagram for cyCamera:

Public Member Functions

 cyCamera (const gzString &name="Camera")
virtual ~cyCamera ()
gzFloatXY undistort (const gzFloatXY &xy, const gzUInt32XY &imageSize, gzBool from_normalized, gzBool to_normalized)
gzFloat calcBestPosition (cyDisplay *display, cyMatch *matches, gzBool camera_matched_with_display, gzFloat requiredMaxError=CY_DEFAULT_MIN_PIXEL_DIST, gzUInt32 iterations=CY_DEFAULT_RANSAC_MAX_ITERATIONS)
gzFloat calcBestPosition (gzRefList< cyPositionPattern > &patterns, cyFeature *feature, gzImage *image, gzInt32 singleIndex=-1)
gzBool iterateProjection (cyDisplay *display, cyMatch *matches, gzBool camera_matched_with_display, gzFloat requiredMaxError=CY_DEFAULT_MIN_PIXEL_DIST)
gzBool calcProjection (cyDisplay *display, cyMatch *matches, gzBool camera_matched_with_display)
gzFloat getMaxProjectionError (cyDisplay *display, cyMatch *matches, gzBool camera_matched_with_display, gzUInt32 *maxIndex=NULL)
gzFloat estimateRansacProjection (cyDisplay *display, cyMatch *matches, gzBool camera_matched_with_display, gzUInt32 iterations=CY_DEFAULT_RANSAC_MAX_ITERATIONS, gzFloat maxError=CY_DEFAULT_MAX_OUTLIER_DIST)
gzBool updateOutliersFromProjection (cyDisplay *display, cyMatch *matches, gzBool camera_matched_with_display, gzFloat maxError=CY_DEFAULT_MAX_OUTLIER_DIST)
gzVoid setK (KVals k)
gzMatrixf getIntrisicMatrix ()
const gzFloat & getFX () const
gzVoid setFX (const gzFloat &prop)
const gzFloat & getFY () const
gzVoid setFY (const gzFloat &prop)
const gzFloat & getS () const
gzVoid setS (const gzFloat &prop)
const KVals & getK () const
const gzBool & getTaylor () const
gzVoid setTaylor (const gzBool &prop)
const gzFloat & getX0 () const
gzVoid setX0 (const gzFloat &prop)
const gzFloat & getY0 () const
gzVoid setY0 (const gzFloat &prop)
const gzFloat & getXC () const
gzVoid setXC (const gzFloat &prop)
const gzFloat & getYC () const
gzVoid setYC (const gzFloat &prop)
const gzFloat & getHeading () const
const gzFloat & getPitch () const
const gzFloat & getRoll () const
const gzVectorf & getPosition () const

Detailed Description

Definition at line 27 of file cyCamera.h.

Constructor & Destructor Documentation

◆ cyCamera()

cyCamera::cyCamera ( const gzString & name = "Camera")

References CY_EXPORT.

◆ ~cyCamera()

virtual cyCamera::~cyCamera ( )
virtual

References CY_EXPORT.

Member Function Documentation

◆ calcBestPosition() [1/2]

gzFloat cyCamera::calcBestPosition ( cyDisplay * display,
cyMatch * matches,
gzBool camera_matched_with_display,
gzFloat requiredMaxError = CY_DEFAULT_MIN_PIXEL_DIST,
gzUInt32 iterations = CY_DEFAULT_RANSAC_MAX_ITERATIONS )

◆ calcBestPosition() [2/2]

gzFloat cyCamera::calcBestPosition ( gzRefList< cyPositionPattern > & patterns,
cyFeature * feature,
gzImage * image,
gzInt32 singleIndex = -1 )

References CY_EXPORT.

◆ calcProjection()

gzBool cyCamera::calcProjection ( cyDisplay * display,
cyMatch * matches,
gzBool camera_matched_with_display )

References CY_EXPORT.

◆ estimateRansacProjection()

gzFloat cyCamera::estimateRansacProjection ( cyDisplay * display,
cyMatch * matches,
gzBool camera_matched_with_display,
gzUInt32 iterations = CY_DEFAULT_RANSAC_MAX_ITERATIONS,
gzFloat maxError = CY_DEFAULT_MAX_OUTLIER_DIST )

◆ getFX()

const gzFloat & cyCamera::getFX ( ) const

References CY_EXPORT.

◆ getFY()

const gzFloat & cyCamera::getFY ( ) const

References CY_EXPORT.

◆ getHeading()

const gzFloat & cyCamera::getHeading ( ) const

References CY_EXPORT.

◆ getIntrisicMatrix()

gzMatrixf cyCamera::getIntrisicMatrix ( )

References CY_EXPORT.

◆ getK()

const KVals & cyCamera::getK ( ) const

References CY_EXPORT.

◆ getMaxProjectionError()

gzFloat cyCamera::getMaxProjectionError ( cyDisplay * display,
cyMatch * matches,
gzBool camera_matched_with_display,
gzUInt32 * maxIndex = NULL )

References CY_EXPORT.

◆ getPitch()

const gzFloat & cyCamera::getPitch ( ) const

References CY_EXPORT.

◆ getPosition()

const gzVectorf & cyCamera::getPosition ( ) const

References CY_EXPORT.

◆ getRoll()

const gzFloat & cyCamera::getRoll ( ) const

References CY_EXPORT.

◆ getS()

const gzFloat & cyCamera::getS ( ) const

References CY_EXPORT.

◆ getTaylor()

const gzBool & cyCamera::getTaylor ( ) const

References CY_EXPORT.

◆ getX0()

const gzFloat & cyCamera::getX0 ( ) const

References CY_EXPORT.

◆ getXC()

const gzFloat & cyCamera::getXC ( ) const

References CY_EXPORT.

◆ getY0()

const gzFloat & cyCamera::getY0 ( ) const

References CY_EXPORT.

◆ getYC()

const gzFloat & cyCamera::getYC ( ) const

References CY_EXPORT.

◆ iterateProjection()

gzBool cyCamera::iterateProjection ( cyDisplay * display,
cyMatch * matches,
gzBool camera_matched_with_display,
gzFloat requiredMaxError = CY_DEFAULT_MIN_PIXEL_DIST )

◆ setFX()

gzVoid cyCamera::setFX ( const gzFloat & prop)

◆ setFY()

gzVoid cyCamera::setFY ( const gzFloat & prop)

◆ setK()

gzVoid cyCamera::setK ( KVals k)

References CY_EXPORT.

◆ setS()

gzVoid cyCamera::setS ( const gzFloat & prop)

◆ setTaylor()

gzVoid cyCamera::setTaylor ( const gzBool & prop)

◆ setX0()

gzVoid cyCamera::setX0 ( const gzFloat & prop)

◆ setXC()

gzVoid cyCamera::setXC ( const gzFloat & prop)

◆ setY0()

gzVoid cyCamera::setY0 ( const gzFloat & prop)

◆ setYC()

gzVoid cyCamera::setYC ( const gzFloat & prop)

◆ undistort()

gzFloatXY cyCamera::undistort ( const gzFloatXY & xy,
const gzUInt32XY & imageSize,
gzBool from_normalized,
gzBool to_normalized )

References CY_EXPORT.

◆ updateOutliersFromProjection()

gzBool cyCamera::updateOutliersFromProjection ( cyDisplay * display,
cyMatch * matches,
gzBool camera_matched_with_display,
gzFloat maxError = CY_DEFAULT_MAX_OUTLIER_DIST )

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