Fawkes API
Fawkes Development Version
|
A container for a YUV-buffer etc. More...
Public Member Functions | |
Image (const unsigned char *yuv_buffer, size_t buflen, int width, int height, PolarAngle ori) | |
Constructor. More... | |
Image (const Image ©) | |
Constructor. More... | |
Image & | operator= (const Image ©) |
Assignment. More... | |
~Image () | |
Destructor. More... | |
unsigned char * | yuv_buffer () |
YUV buffer. More... | |
const unsigned char * | yuv_buffer () const |
YUV buffer. More... | |
size_t | buflen () const |
YUV buffer's length. More... | |
int | width () const |
YUV buffer's width. More... | |
int | height () const |
YUV buffer's height. More... | |
PolarAngle | ori () const |
Angle of marks wrt X axis. More... | |
StepResultList & | results () |
List of results. More... | |
const StepResultList & | results () const |
List of results. More... | |
const MarkList & | premarks () |
The premarks. More... | |
MarkList & | marks () |
The (final) marks. More... | |
const MarkList & | marks () const |
The (final) marks. More... | |
void | add_result (const StepResult &r) |
Appends a result. More... | |
StepResult & | result (int i) |
Returns the i-th result. More... | |
const StepResult & | result (int i) const |
Returns the i-th result. More... | |
void | set_premarks (const MarkList &premarks) |
The premarks. More... | |
void | set_marks (const MarkList &marks) |
The (final) marks. More... | |
A container for a YUV-buffer etc.
Definition at line 783 of file mirror_calib.cpp.
|
inline |
Constructor.
yuv_buffer | The YUV buffer. |
buflen | The buffer's size. |
width | The width. |
height | The height. |
ori | The orientation. |
Definition at line 792 of file mirror_calib.cpp.
|
inline |
|
inline |
Destructor.
Definition at line 850 of file mirror_calib.cpp.
|
inline |
Appends a result.
r | The new result. |
Definition at line 905 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
YUV buffer's length.
Definition at line 869 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
YUV buffer's height.
Definition at line 877 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::draw_mark_lines(), firevision::MirrorCalibTool::next_step(), and firevision::MirrorCalibTool::save().
|
inline |
The (final) marks.
Definition at line 897 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
Assignment.
copy | image to copy |
Definition at line 828 of file mirror_calib.cpp.
|
inline |
Angle of marks wrt X axis.
Definition at line 881 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::draw_mark_lines(), and firevision::MirrorCalibTool::next_step().
|
inline |
The premarks.
Definition at line 893 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
Returns the i-th result.
i | The index of the result starting with 0. |
Definition at line 910 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
Returns the i-th result.
i | The index of the result starting with 0. |
Definition at line 915 of file mirror_calib.cpp.
|
inline |
List of results.
Definition at line 885 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::get_state_description(), and firevision::MirrorCalibTool::next_step().
|
inline |
|
inline |
The (final) marks.
marks | The list of marks. |
Definition at line 921 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
The premarks.
premarks | The list of premarks. |
Definition at line 918 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |
YUV buffer's width.
Definition at line 873 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::draw_mark_lines(), firevision::MirrorCalibTool::next_step(), and firevision::MirrorCalibTool::save().
|
inline |
YUV buffer.
Definition at line 861 of file mirror_calib.cpp.
Referenced by firevision::MirrorCalibTool::next_step().
|
inline |