The nodelet provides adaptive image processing functions. More...
Public Member Functions | |
void | cameraCallback (const sensor_msgs::ImageConstPtr &msg) |
Image callback function, publishing processed images. | |
cv::Mat | cumulativeHist (cv::Mat hist) |
Calculates cumulative histogram. | |
ImageProcessingNodelet () | |
void | onInit () |
void | processingCallback (nifti_image_proc::ProcessingConfig &config, uint32_t level) |
Private Attributes | |
image_transport::Publisher | cameraPub |
image_transport::Subscriber | cameraSub |
dynamic_reconfigure::Server < nifti_image_proc::ProcessingConfig > ::CallbackType | f |
double | gamma |
Inverse gamma correction, output = input^(1/gamma). | |
boost::shared_ptr < image_transport::ImageTransport > | it |
int | max_intensity |
Intensity to be mapped onto white. | |
int | min_intensity |
Intensity to be mapped onto black. | |
double | percent_saturated |
Percents of pixels to be saturated (either black or white). | |
nifti_image_proc::ProcessingConfig | processingConfig |
boost::shared_ptr < dynamic_reconfigure::Server < nifti_image_proc::ProcessingConfig > > | server |
The nodelet provides adaptive image processing functions.
Definition at line 23 of file ImageProcessingNodelet.cpp.
Definition at line 47 of file ImageProcessingNodelet.cpp.
void nifti_image_proc::ImageProcessingNodelet::cameraCallback | ( | const sensor_msgs::ImageConstPtr & | msg | ) |
Image callback function, publishing processed images.
msg | Input image. |
Definition at line 87 of file ImageProcessingNodelet.cpp.
cv::Mat nifti_image_proc::ImageProcessingNodelet::cumulativeHist | ( | cv::Mat | hist | ) |
Calculates cumulative histogram.
hist | Input histogram. |
Definition at line 167 of file ImageProcessingNodelet.cpp.
Definition at line 54 of file ImageProcessingNodelet.cpp.
void nifti_image_proc::ImageProcessingNodelet::processingCallback | ( | nifti_image_proc::ProcessingConfig & | config, |
uint32_t | level | ||
) |
Definition at line 79 of file ImageProcessingNodelet.cpp.
image_transport::Publisher nifti_image_proc::ImageProcessingNodelet::cameraPub [private] |
Definition at line 34 of file ImageProcessingNodelet.cpp.
image_transport::Subscriber nifti_image_proc::ImageProcessingNodelet::cameraSub [private] |
Definition at line 35 of file ImageProcessingNodelet.cpp.
dynamic_reconfigure::Server<nifti_image_proc::ProcessingConfig>::CallbackType nifti_image_proc::ImageProcessingNodelet::f [private] |
Definition at line 38 of file ImageProcessingNodelet.cpp.
double nifti_image_proc::ImageProcessingNodelet::gamma [private] |
Inverse gamma correction, output = input^(1/gamma).
Definition at line 30 of file ImageProcessingNodelet.cpp.
boost::shared_ptr<image_transport::ImageTransport> nifti_image_proc::ImageProcessingNodelet::it [private] |
Definition at line 33 of file ImageProcessingNodelet.cpp.
int nifti_image_proc::ImageProcessingNodelet::max_intensity [private] |
Intensity to be mapped onto white.
Definition at line 28 of file ImageProcessingNodelet.cpp.
int nifti_image_proc::ImageProcessingNodelet::min_intensity [private] |
Intensity to be mapped onto black.
Definition at line 26 of file ImageProcessingNodelet.cpp.
double nifti_image_proc::ImageProcessingNodelet::percent_saturated [private] |
Percents of pixels to be saturated (either black or white).
Definition at line 32 of file ImageProcessingNodelet.cpp.
nifti_image_proc::ProcessingConfig nifti_image_proc::ImageProcessingNodelet::processingConfig [private] |
Definition at line 36 of file ImageProcessingNodelet.cpp.
boost::shared_ptr<dynamic_reconfigure::Server<nifti_image_proc::ProcessingConfig> > nifti_image_proc::ImageProcessingNodelet::server [private] |
Definition at line 37 of file ImageProcessingNodelet.cpp.