Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ImageProcUtils Class Reference

This class has image processing utilities. More...

#include <image_proc_utils.h>

Public Member Functions

void computePointCloud (unsigned short *range_image, short *xyz_frame)
 Computes point cloud using range_to_xyz_lut look up table and range image. More...
 
void generateRangeTo3DLUT (CameraIntrinsics *camera_intrinsics)
 Generates a Range to 3D projection Look up table, which can be used to compute point-cloud from the depth image. More...
 
float * getRangeToXYZLUT ()
 
 ImageProcUtils ()=default
 
 ImageProcUtils (CameraIntrinsics *camera_intrinsics, int image_width, int image_height)
 
 ~ImageProcUtils ()
 

Static Public Member Functions

static void gammaCorrect (unsigned short *src_dst, int num_pixels)
 Function for Gamma Correction. More...
 

Private Attributes

int image_height_
 
int image_width_
 
float * range_to_3d_lut_
 

Detailed Description

This class has image processing utilities.

Definition at line 19 of file image_proc_utils.h.

Constructor & Destructor Documentation

◆ ImageProcUtils() [1/2]

ImageProcUtils::ImageProcUtils ( )
default

◆ ImageProcUtils() [2/2]

ImageProcUtils::ImageProcUtils ( CameraIntrinsics camera_intrinsics,
int  image_width,
int  image_height 
)
inline

Definition at line 29 of file image_proc_utils.h.

◆ ~ImageProcUtils()

ImageProcUtils::~ImageProcUtils ( )
inline

Definition at line 41 of file image_proc_utils.h.

Member Function Documentation

◆ computePointCloud()

void ImageProcUtils::computePointCloud ( unsigned short *  range_image,
short *  xyz_frame 
)
inline

Computes point cloud using range_to_xyz_lut look up table and range image.

Parameters
range_imagerange image
xyz_frameoutput frame for point cloud

Definition at line 108 of file image_proc_utils.h.

◆ gammaCorrect()

static void ImageProcUtils::gammaCorrect ( unsigned short *  src_dst,
int  num_pixels 
)
inlinestatic

Function for Gamma Correction.

Parameters
src_dst- Buffer pointer
num_pixels- Number of pixels

Definition at line 134 of file image_proc_utils.h.

◆ generateRangeTo3DLUT()

void ImageProcUtils::generateRangeTo3DLUT ( CameraIntrinsics camera_intrinsics)
inline

Generates a Range to 3D projection Look up table, which can be used to compute point-cloud from the depth image.

Parameters
camera_intrinsicscamera intrinsics

Definition at line 56 of file image_proc_utils.h.

◆ getRangeToXYZLUT()

float* ImageProcUtils::getRangeToXYZLUT ( )
inline

Definition at line 46 of file image_proc_utils.h.

Member Data Documentation

◆ image_height_

int ImageProcUtils::image_height_
private

Definition at line 146 of file image_proc_utils.h.

◆ image_width_

int ImageProcUtils::image_width_
private

Definition at line 145 of file image_proc_utils.h.

◆ range_to_3d_lut_

float* ImageProcUtils::range_to_3d_lut_
private

Definition at line 147 of file image_proc_utils.h.


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


adi_3dtof_image_stitching
Author(s):
autogenerated on Fri Mar 21 2025 02:27:20