Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
jsk_perception::SaliencyMapGenerator Class Reference

#include <saliency_map_generator.h>

List of all members.

Public Member Functions

void callback (const sensor_msgs::Image::ConstPtr &)
bool computeSaliencyImpl (cv::Mat, cv::Mat &)
 SaliencyMapGenerator ()
void setNumThreads (int)

Protected Member Functions

void onInit ()
void subscribe ()
void unsubscribe ()

Protected Attributes

boost::mutex lock_
ros::Publisher pub_image_
ros::Subscriber sub_image_

Private Member Functions

void calcIntensityChannel (cv::Mat, cv::Mat)
void copyImage (cv::Mat, cv::Mat)
void getIntensity (cv::Mat, cv::Mat, cv::Mat, cv::Mat, bool)
void getIntensityScaled (cv::Mat, cv::Mat, cv::Mat, cv::Mat, int)
float getMean (cv::Mat, cv::Point2i, int, int)
void mixOnOff (cv::Mat intensityOn, cv::Mat intensityOff, cv::Mat intensity)
void mixScales (cv::Mat *, cv::Mat, cv::Mat *, cv::Mat, const int)

Private Attributes

int counter_
int num_threads_
bool print_fps_
double start_

Detailed Description

Definition at line 22 of file saliency_map_generator.h.


Constructor & Destructor Documentation

Definition at line 48 of file saliency_map_generator.h.


Member Function Documentation

void jsk_perception::SaliencyMapGenerator::calcIntensityChannel ( cv::Mat  srcArg,
cv::Mat  dstArg 
) [private]

Definition at line 89 of file saliency_map_generator_node.cpp.

void jsk_perception::SaliencyMapGenerator::callback ( const sensor_msgs::Image::ConstPtr &  image_msg)

Definition at line 28 of file saliency_map_generator_node.cpp.

bool jsk_perception::SaliencyMapGenerator::computeSaliencyImpl ( cv::Mat  image,
cv::Mat &  saliencyMap 
)

Definition at line 66 of file saliency_map_generator_node.cpp.

void jsk_perception::SaliencyMapGenerator::copyImage ( cv::Mat  srcArg,
cv::Mat  dstArg 
) [private]

Definition at line 84 of file saliency_map_generator_node.cpp.

void jsk_perception::SaliencyMapGenerator::getIntensity ( cv::Mat  ,
cv::Mat  ,
cv::Mat  ,
cv::Mat  ,
bool   
) [private]
void jsk_perception::SaliencyMapGenerator::getIntensityScaled ( cv::Mat  integralImage,
cv::Mat  gray,
cv::Mat  intensityScaledOn,
cv::Mat  intensityScaledOff,
int  neighborhood 
) [private]

Definition at line 138 of file saliency_map_generator_node.cpp.

float jsk_perception::SaliencyMapGenerator::getMean ( cv::Mat  srcArg,
cv::Point2i  PixArg,
int  neighbourhood,
int  centerVal 
) [private]

Definition at line 172 of file saliency_map_generator_node.cpp.

void jsk_perception::SaliencyMapGenerator::mixOnOff ( cv::Mat  intensityOn,
cv::Mat  intensityOff,
cv::Mat  intensity 
) [private]

Definition at line 270 of file saliency_map_generator_node.cpp.

void jsk_perception::SaliencyMapGenerator::mixScales ( cv::Mat *  intensityScaledOn,
cv::Mat  intensityOn,
cv::Mat *  intensityScaledOff,
cv::Mat  intensityOff,
const int  numScales 
) [private]

Definition at line 210 of file saliency_map_generator_node.cpp.

Definition at line 6 of file saliency_map_generator_node.cpp.

Definition at line 79 of file saliency_map_generator_node.cpp.

Definition at line 16 of file saliency_map_generator_node.cpp.

Definition at line 22 of file saliency_map_generator_node.cpp.


Member Data Documentation

Definition at line 36 of file saliency_map_generator.h.

Definition at line 39 of file saliency_map_generator.h.

Definition at line 33 of file saliency_map_generator.h.

Definition at line 34 of file saliency_map_generator.h.

Definition at line 41 of file saliency_map_generator.h.

Definition at line 35 of file saliency_map_generator.h.

Definition at line 40 of file saliency_map_generator.h.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08