// You should have received a copy of the GNU General Public License //
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
// //
// Contact <francois.fleuret@idiap.ch> for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
// Contact <francois.fleuret@idiap.ch> for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
+ local_sum_pixel_map[ - var_square_size/2 + width * ( - var_square_size / 2)]
+ local_sum_pixel_map[ + var_square_size/2 + width * ( + var_square_size / 2)]
- local_sum_pixel_map[ - var_square_size/2 + width * ( + var_square_size / 2)]
- local_sum_pixel_map[ + var_square_size/2 + width * ( - var_square_size / 2)];
+ local_sum_pixel_map[ - var_square_size/2 + width * ( - var_square_size / 2)]
+ local_sum_pixel_map[ + var_square_size/2 + width * ( + var_square_size / 2)]
- local_sum_pixel_map[ - var_square_size/2 + width * ( + var_square_size / 2)]
- local_sum_pixel_map[ + var_square_size/2 + width * ( - var_square_size / 2)];
+ local_sum_sq_pixel_map[ - var_square_size/2 + width * ( - var_square_size / 2)]
+ local_sum_sq_pixel_map[ + var_square_size/2 + width * ( + var_square_size / 2)]
- local_sum_sq_pixel_map[ - var_square_size/2 + width * ( + var_square_size / 2)]
+ local_sum_sq_pixel_map[ - var_square_size/2 + width * ( - var_square_size / 2)]
+ local_sum_sq_pixel_map[ + var_square_size/2 + width * ( + var_square_size / 2)]
- local_sum_sq_pixel_map[ - var_square_size/2 + width * ( + var_square_size / 2)]
-void RichImage::crop(int xmin, int ymin, int width, int height) {
- free();
- Image::crop(xmin, ymin, width, height);
-}
-