Namespaces | Functions
camera_utilities.cpp File Reference
#include <algorithm>
#include <sensor_msgs/distortion_models.h>
#include <multisense_ros/camera_utilities.h>
Include dependency graph for camera_utilities.cpp:

Go to the source code of this file.

Namespaces

 multisense_ros
 

Functions

bool multisense_ros::clipPoint (const BorderClip &borderClipType, double borderClipValue, size_t height, size_t width, size_t u, size_t v)
 Determine if a pixel should be clipped given the provided parameters. More...
 
cv::Vec3b multisense_ros::interpolateColor (const Eigen::Vector2f &pixel, const cv::Mat &image)
 Given a floating point pixel location, determine its average color using all neighboring pixels. More...
 
sensor_msgs::CameraInfo multisense_ros::makeCameraInfo (const crl::multisense::image::Config &config, const crl::multisense::image::Calibration::Data &calibration, const ScaleT &scale)
 
Eigen::Matrix4d multisense_ros::makeQ (const crl::multisense::image::Config &config, const crl::multisense::image::Calibration &calibration, const crl::multisense::system::DeviceInfo &device_info)
 
RectificationRemapT multisense_ros::makeRectificationRemap (const crl::multisense::image::Config &config, const crl::multisense::image::Calibration::Data &calibration, const crl::multisense::system::DeviceInfo &device_info)
 
void multisense_ros::ycbcrToBgr (const crl::multisense::image::Header &luma, const crl::multisense::image::Header &chroma, uint8_t *output)
 

Detailed Description

Copyright 2020 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www.carnegierobotics.com

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE ROBOTICS, LLC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file camera_utilities.cpp.

Variable Documentation

◆ x_scale

double x_scale = 1.0

Definition at line 46 of file camera_utilities.cpp.

◆ y_scale

double y_scale = 1.0

Definition at line 47 of file camera_utilities.cpp.



multisense_ros
Author(s):
autogenerated on Thu Apr 17 2025 02:49:25