ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccCameraSensor::KeyPoint Struct Reference

#include <ecvCameraSensor.h>

Public Member Functions

 KeyPoint ()
 Default constructor. More...
 
 KeyPoint (float Px, float Py, unsigned indexInCloud)
 Constructor from a pixel and its index in associated cloud. More...
 

Public Attributes

float x
 2D 'x' coordinate (in pixels) More...
 
float y
 2D 'y' coordinate (in pixels) More...
 
unsigned index
 Index in associated point cloud. More...
 

Detailed Description

Knowing the ideal projection of a 3D point, computes what would be the real projection (through a lens)

Warning
The first pixel is (0,0) and the last (width-1,height-1)
Parameters
[in]ideal2D coordinates of the ideal projection
[out]realwhat would be the real 2D coordinates of the projection trough a lens Key point (i.e. mapping between a point in a 3D cloud and a pixel in an image)

Definition at line 365 of file ecvCameraSensor.h.

Constructor & Destructor Documentation

◆ KeyPoint() [1/2]

ccCameraSensor::KeyPoint::KeyPoint ( )
inline

Default constructor.

Definition at line 374 of file ecvCameraSensor.h.

◆ KeyPoint() [2/2]

ccCameraSensor::KeyPoint::KeyPoint ( float  Px,
float  Py,
unsigned  indexInCloud 
)
inline

Constructor from a pixel and its index in associated cloud.

Definition at line 377 of file ecvCameraSensor.h.

Member Data Documentation

◆ index

unsigned ccCameraSensor::KeyPoint::index

Index in associated point cloud.

Definition at line 371 of file ecvCameraSensor.h.

◆ x

float ccCameraSensor::KeyPoint::x

2D 'x' coordinate (in pixels)

Definition at line 367 of file ecvCameraSensor.h.

◆ y

float ccCameraSensor::KeyPoint::y

2D 'y' coordinate (in pixels)

Definition at line 369 of file ecvCameraSensor.h.


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