PDA

View Full Version : Flip filter degrades eRGB8 images



GregE
March 26, 2015, 05:55:55
If you enable any direction flip filter, grayscale live view looks poorly dithered. Color looks great in all resolutions. Camera is DFK AFU130-L53

After running into it in my application, I duplicated it in an app created with the IC Dialog Application Project Template (Enable Image Processing and Display the Resulting Image both turned on).

I then added a filter variable in the ICDialogSampleDLG.h : smart_com<DShowLib::IFrameFilter> m_pFilter;

Changed the sink type from eRGB24 to eRGB8.

Then added code for the filter after the SetSinkType call in OnInitDialog.

m_pFilter = FilterLoader::createFilter("Rotate Flip", "stdfiltersd.ftf");
m_pFilter->setParameter("Flip V", true);
m_cGrabber.setDeviceFrameFilters(m_pFilter.get());

GregE
March 26, 2015, 18:17:38
Update: The problem does not occur with Y800.

Stefan Geissler
March 31, 2015, 13:00:01
Hello
eRGB8 is a format, that does dithering. It is expected behavior. Y800 is different to that.

Stefan Geissler
March 31, 2015, 13:00:01
Hello
eRGB8 is a format, that does dithering. It is expected behavior. Y800 is different to that.