53 void Resize(
const size_t resize_height,
const size_t resize_width) {
54 height_ = resize_height;
55 width_ = resize_width;
56 if (resize_height <= max_height_ && resize_width <= max_width_) {
59 max_height_ = std::max(resize_height, max_height_);
60 max_width_ = std::max(resize_width, max_width_);
61 mat_.resize(max_height_, max_width_);