* Copy image data to the provided matrix. * @param other Destination to copy to. */
| 174 | * @param other Destination to copy to. |
| 175 | */ |
| 176 | void copyTo(Mat<ScalarT> &other) const |
| 177 | { |
| 178 | other.create(height(), width()); |
| 179 | std::copy(buffer_, buffer_end_, other.buffer_); |
| 180 | } |
| 181 | |
| 182 | /** |
| 183 | * Get the image data at the requested point \a x, \a y. |
no test coverage detected