I want to use a directshow pipeline to process greyscale (single band)
images. The DirectShow documentation (DXSDK) describes only image
formats for color images (like MEDIASUBTYPE_RGB24) to be used in
IMediaSamples. Is there a possibility to use greyscale data or is
there a predefined video subtype.
thanks a lot in advance
Hi, there are two mediatypes that you can use to process greyscale images.
1) Use MEDIASUBTYPE_RGB8 and initialize the color table with grey values,
use this method to process your images by existing filters
2) Use the FourCC (www.fourcc.org) type Y800 and create your own filters to
process the stream
We are using the RGB8 type and it works fine.
Best regards
Marc Cymontkowski
www.montivision.com