Boost logo

Boost Users :

Subject: Re: [Boost-users] Some problems about GIL
From: blp330 (blp330_at_[hidden])
Date: 2008-11-16 22:09:43


Thank your answers. :)

For the problem 2, I mean I need a raw image buffer **with png format**
including header and not just pixels. png_io's png_write_view only writes
png format to file. I must pass that data to other library to do something.
If I write png to file than read it to memory then pass it, it might be too
slow.

How to do that?

For the problem 3, If I can make sure that two images **always** have the
same format (png), the same size, the same layout of the channels, and the
same channel depth...etc. Is there any good performance way to do that?

I am not sure that to compute Mean Absolute Error is the best way to do
that. I just simply follow the recommendation of ImageMagicks
(http://www.imagemagick.org/Usage/compare/). But after this review, I found
MAE is used to compute "how different are two images"... oh, actually, I
don't need to know how difference, I just want to know two images are
different. :(

I think that simply pixel by pixel comparison might be the fastest way to do
that?

Thank you very much.

-- 
View this message in context: http://www.nabble.com/Some-problems-about-GIL-tp20526156p20533158.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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