Region of interest.
More...
#include <camera_config.hpp>
|
| Roi (tof_roi_t ptr=nullptr) |
| Construct from pointer.
|
|
int32_t | sensor_rows () const |
| Get the number of rows in the image sensor.
|
|
int32_t | sensor_cols () const |
| Get the number of columns in the image sensor.
|
|
int32_t | get_row_offset () const |
| Get the row offset in pixels.
|
|
void | set_row_offset (int32_t row_offset) |
| Set the row offset in pixels.
|
|
int32_t | get_col_offset () const |
| Get the column offset in pixels.
|
|
void | set_col_offset (int32_t col_offset) |
| Set the column offset in pixels.
|
|
int32_t | get_img_rows () const |
| Get the number of rows in the output image.
|
|
void | set_img_rows (int32_t img_rows) |
| Set the number of rows in the output image.
|
|
int32_t | get_img_cols () const |
| Get the number of columns in the output image.
|
|
void | set_img_cols (int32_t img_cols) |
| Set the number of columns in the output image.
|
|
Region of interest.
Definition at line 43 of file camera_config.hpp.
◆ Roi()
chronoptics::tof::Roi::Roi |
( |
tof_roi_t |
ptr = nullptr | ) |
|
|
inline |
◆ get_col_offset()
int32_t chronoptics::tof::Roi::get_col_offset |
( |
| ) |
const |
|
inline |
Get the column offset in pixels.
- Returns
- Column offset
Definition at line 81 of file camera_config.hpp.
◆ get_img_cols()
int32_t chronoptics::tof::Roi::get_img_cols |
( |
| ) |
const |
|
inline |
Get the number of columns in the output image.
- Returns
- Image columns
Definition at line 109 of file camera_config.hpp.
◆ get_img_rows()
int32_t chronoptics::tof::Roi::get_img_rows |
( |
| ) |
const |
|
inline |
Get the number of rows in the output image.
- Returns
- Image rows
Definition at line 95 of file camera_config.hpp.
◆ get_row_offset()
int32_t chronoptics::tof::Roi::get_row_offset |
( |
| ) |
const |
|
inline |
Get the row offset in pixels.
- Returns
- Row offset
Definition at line 67 of file camera_config.hpp.
◆ sensor_cols()
int32_t chronoptics::tof::Roi::sensor_cols |
( |
| ) |
const |
|
inline |
Get the number of columns in the image sensor.
- Returns
- Number of columsn
Definition at line 60 of file camera_config.hpp.
◆ sensor_rows()
int32_t chronoptics::tof::Roi::sensor_rows |
( |
| ) |
const |
|
inline |
Get the number of rows in the image sensor.
- Returns
- Number of rows
Definition at line 53 of file camera_config.hpp.
◆ set_col_offset()
void chronoptics::tof::Roi::set_col_offset |
( |
int32_t |
col_offset | ) |
|
|
inline |
◆ set_img_cols()
void chronoptics::tof::Roi::set_img_cols |
( |
int32_t |
img_cols | ) |
|
|
inline |
Set the number of columns in the output image.
- Parameters
-
Definition at line 116 of file camera_config.hpp.
◆ set_img_rows()
void chronoptics::tof::Roi::set_img_rows |
( |
int32_t |
img_rows | ) |
|
|
inline |
Set the number of rows in the output image.
- Parameters
-
Definition at line 102 of file camera_config.hpp.
◆ set_row_offset()
void chronoptics::tof::Roi::set_row_offset |
( |
int32_t |
row_offset | ) |
|
|
inline |