110 int valign,
int rot_mode,
111 bool handle_rotation)
const
116 bbox(0) = -bbox(2)/2;
131 bbox(1) = -bbox(3)/2;
142 bbox(1) = -bbox(3)-bbox(1);
155 std::swap (bbox(0), bbox(1));
156 std::swap (bbox(2), bbox(3));
157 bbox(0) = -bbox(0)-bbox(2);
161 bbox(0) = -bbox(0)-bbox(2);
162 bbox(1) = -bbox(1)-bbox(3);
166 std::swap (bbox(0), bbox(1));
167 std::swap (bbox(2), bbox(3));
168 bbox(1) = -bbox(1)-bbox(3);
void fix_bbox_anchor(Matrix &bbox, int halign, int valign, int rot_mode, bool handle_rotation) const
void rotate_pixels(uint8NDArray &pixels, int rot_mode) const
int rotation_to_mode(double rotation) const