Class ImageProcUtils
Defined in File image_proc_utils.h
Class Documentation
-
class ImageProcUtils
This class has image processing utilities.
Public Functions
-
ImageProcUtils() = default
-
inline ImageProcUtils(CameraIntrinsics *camera_intrinsics, int image_width, int image_height)
-
inline ~ImageProcUtils()
-
inline float *getRangeToXYZLUT()
-
inline 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.
- Parameters:
camera_intrinsics – camera intrinsics
-
inline void computePointCloud(unsigned short *range_image, short *xyz_frame)
Computes point cloud using range_to_xyz_lut look up table and range image.
- Parameters:
range_image – range image
xyz_frame – output frame for point cloud
Public Static Functions
-
static inline void gammaCorrect(unsigned short *src_dst, int num_pixels)
Function for Gamma Correction.
- Parameters:
src_dst – - Buffer pointer
num_pixels – - Number of pixels
-
ImageProcUtils() = default