CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
region_of_interest.hpp
Go to the documentation of this file.
1
8namespace sensor_msgs::msg {
21public:
22 // This message is used to specify a region of interest within an image.
23 //
24 // When used to specify the ROI setting of the camera when the image was
25 // taken, the height and width fields should either match the height and
26 // width fields for the associated image; or height = width = 0
27 // indicates that the full resolution image was captured.
28
29 uint32_t x_offset;
30 // (0 if the ROI includes the left edge of the image)
31 uint32_t y_offset;
32 // (0 if the ROI includes the top edge of the image)
33 uint32_t height;
34 uint32_t width;
35
36 // True if a distinct rectified ROI should be calculated from the "raw"
37 // ROI in this message. Typically this should be False if the full image
38 // is captured (ROI not used), and True if a subwindow is captured (ROI
39 // used).
40 bool do_rectify;
41};
42} // namespace sensor_msgs::msg
ROS message class definition for RegionOfInterest.
Definition region_of_interest.hpp:20
uint32_t x_offset
Leftmost pixel of the ROI.
Definition region_of_interest.hpp:29
uint32_t height
Height of ROI.
Definition region_of_interest.hpp:33
uint32_t y_offset
Topmost pixel of the ROI.
Definition region_of_interest.hpp:31
uint32_t width
Width of ROI.
Definition region_of_interest.hpp:34
message definitions of the sensor_msgs package
Definition battery_state.hpp:8