Boost logo

Boost Users :

Subject: [Boost-users] [GIL] any_image difference
From: Olivier Tournaire (olitour_at_[hidden])
Date: 2010-11-05 15:33:49


Hi all,

What is the best way to compute the difference between 2 any_image? Of
course, the input any_image may not be of the same type... So, if pixels are
unsigned int for the 1st one and double for the 2nd one, the result must be
stored as double.
I (accidently) found pixel_minus_t in pixel_numeric_operations.hpp but
cannot figure how to use it.

Hope you could help.

Regards,

Olivier



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net