CFEL - ASG Software Suite
2.5.0
CASS
|
copy from a source matrix to a destination matrix in user wanted way More...
Public Member Functions | |
SegmentCopier (const int srcCols, const int srcRows, const int destCols) | |
contructor More... | |
void | operator() (Processor::result_t::const_iterator src, Processor::result_t::iterator dest, const int segment, const int destColStart, const int destRowStart, const Rotor &rot) const |
copy the selected segment of the src matrix to the destination matrix More... | |
Private Attributes | |
const int | _srcCols |
the number of colums in the src matrix More... | |
const int | _srcRows |
the number of rows that one segement in the src matrix consists of More... | |
const int | _destCols |
the number of columns in the dest matrix More... | |
copy from a source matrix to a destination matrix in user wanted way
a functor that will copy segments of a source matrix into the dest matrix in defined a orientation.
Definition at line 178 of file image_manipulation.cpp.
|
inline |
contructor
sets up the boundaries for the src and dest matrices
srcCols | the number of colums in the src matrix |
srcRows | the number of rows in the src matrix |
destCols | the number of columns in the dest matrix. |
Definition at line 189 of file image_manipulation.cpp.
|
inline |
copy the selected segment of the src matrix to the destination matrix
src | iterator to the beginning of the linearized source matrix |
dest | reference to the beginning of the linearized destination matrix |
segment | the index of the segment to be copied |
destColStart | dest column index where the src segment starts |
destRowStart | dest row index where the src segment starts |
rot | refernce to the rotor element that tells how the src segement is oriented in the dest matrix. |
Definition at line 205 of file image_manipulation.cpp.
References cass::Rotor::incDestColPerSrcCol, cass::Rotor::incDestColPerSrcRow, cass::Rotor::incDestRowPerSrcCol, and cass::Rotor::incDestRowPerSrcRow.
|
private |
the number of columns in the dest matrix
Definition at line 239 of file image_manipulation.cpp.
|
private |
the number of colums in the src matrix
Definition at line 233 of file image_manipulation.cpp.
|
private |
the number of rows that one segement in the src matrix consists of
Definition at line 236 of file image_manipulation.cpp.