| 26 | |
| 27 | template <typename T> |
| 28 | Image<T>::Image(const int width, const int height) |
| 29 | : width_less_one_(width - 1), |
| 30 | height_less_one_(height - 1), |
| 31 | data_size_(width * height), |
| 32 | own_data_(true), |
| 33 | width_(width), |
| 34 | height_(height), |
| 35 | stride_(width) { |
| 36 | Allocate(); |
| 37 | } |
| 38 | |
| 39 | template <typename T> |
| 40 | Image<T>::Image(const Size& size) |
no outgoing calls