Public Member Functions | |
AdjExposure (ros::NodeHandle nh) | |
Private Member Functions | |
void | adjust (const sensor_msgs::ImageConstPtr &ms) |
void | changeROI (const sensor_msgs::RegionOfInterestConstPtr &r) |
void | setExposure () |
Private Attributes | |
sensor_msgs::CvBridge | bridge |
ros::ServiceClient | cl |
int | exposure |
int | exposure_max |
int | exposure_min |
IplImage * | image |
string | input_topic |
int | mode |
ros::NodeHandle | n |
IplImage * | non_image |
string | prefix |
CvRect | roi |
string | roi_input_topic |
bool | roi_set |
ros::Subscriber | sub |
ros::Subscriber | sub_roi |
Static Private Attributes | |
static const int | avg_brightness_auto = 120 |
static const int | pattern_number = 4 |
Definition at line 45 of file adjust_exposure.cpp.
AdjExposure::AdjExposure | ( | ros::NodeHandle | nh | ) | [inline] |
Definition at line 181 of file adjust_exposure.cpp.
void AdjExposure::adjust | ( | const sensor_msgs::ImageConstPtr & | ms | ) | [inline, private] |
Definition at line 101 of file adjust_exposure.cpp.
void AdjExposure::changeROI | ( | const sensor_msgs::RegionOfInterestConstPtr & | r | ) | [inline, private] |
Definition at line 89 of file adjust_exposure.cpp.
void AdjExposure::setExposure | ( | ) | [inline, private] |
Definition at line 77 of file adjust_exposure.cpp.
const int AdjExposure::avg_brightness_auto = 120 [static, private] |
Definition at line 70 of file adjust_exposure.cpp.
sensor_msgs::CvBridge AdjExposure::bridge [private] |
Definition at line 62 of file adjust_exposure.cpp.
ros::ServiceClient AdjExposure::cl [private] |
Definition at line 51 of file adjust_exposure.cpp.
int AdjExposure::exposure [private] |
Definition at line 64 of file adjust_exposure.cpp.
int AdjExposure::exposure_max [private] |
Definition at line 64 of file adjust_exposure.cpp.
int AdjExposure::exposure_min [private] |
Definition at line 64 of file adjust_exposure.cpp.
IplImage* AdjExposure::image [private] |
Definition at line 57 of file adjust_exposure.cpp.
string AdjExposure::input_topic [private] |
Definition at line 54 of file adjust_exposure.cpp.
int AdjExposure::mode [private] |
Definition at line 65 of file adjust_exposure.cpp.
ros::NodeHandle AdjExposure::n [private] |
Definition at line 48 of file adjust_exposure.cpp.
IplImage* AdjExposure::non_image [private] |
Definition at line 58 of file adjust_exposure.cpp.
const int AdjExposure::pattern_number = 4 [static, private] |
Definition at line 73 of file adjust_exposure.cpp.
string AdjExposure::prefix [private] |
Definition at line 53 of file adjust_exposure.cpp.
CvRect AdjExposure::roi [private] |
Definition at line 60 of file adjust_exposure.cpp.
string AdjExposure::roi_input_topic [private] |
Definition at line 55 of file adjust_exposure.cpp.
bool AdjExposure::roi_set [private] |
Definition at line 67 of file adjust_exposure.cpp.
ros::Subscriber AdjExposure::sub [private] |
Definition at line 49 of file adjust_exposure.cpp.
ros::Subscriber AdjExposure::sub_roi [private] |
Definition at line 50 of file adjust_exposure.cpp.