qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Member Functions | Public Attributes | List of all members
ccCameraSensor::KeyPoint Struct Reference

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

#include <ccCameraSensor.h>

Public Member Functions

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

Public Attributes

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

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)

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