Re: [Boost-users] [GIL] gray pixel iterator in generic algorithm

With this, the unit test for my gray opening function with an unscaled float image now compiles and works fine.
Does this mean that you have some clean way to handle gil images that don't automatically scale into [0,1]? If so, can we have it pushed into the next boost release? I have a clunky version of this that I'm not proud of, but I certainly need. I'm an astronomer, and the values in my images (unsigned short, int, float) are directly related to the number of photons detected so scaling is a real problem. R

Dr. Lupton,
Sorry for the slow response. I simply defined the following:
typedef boost::gil::pixel
With this, the unit test for my gray opening function with an unscaled float image now compiles and works fine.
Does this mean that you have some clean way to handle gil images that don't automatically scale into [0,1]? If so, can we have it pushed into the next boost release?
I have a clunky version of this that I'm not proud of, but I certainly need. I'm an astronomer, and the values in my images (unsigned short, int, float) are directly related to the number of photons detected so scaling is a real problem.
R
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Curtis Gehman
-
Robert Lupton the Good