Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you could use mean-shift (or bilateral) filtering to do some smoothing and then take color histograms (or even mean color) near the corners of the images to get the background color you are looking for.