Overlay

QNX6.3:

It doesn’t seems possible to use video overlay with a monochrome image (8
bit ), without transforming the image into a supported format, right?

Using a grabber that is grabbing a monochrome image and I’d like to
display/scale it using the overlay feature.

Just out of curiosity, if someone is looking for a good framer grabber for
QNX6 drop me an email at mcharest at zinformatic (dot com). Support for
CameraLink and Analog camera (4 inputs), we are talking about professional
grabber here worth around 1000-2000US . Driver is very flexibl, I’m not
saying it will ever be release publicly but just want to get a feel for it.

  • Mario

Hello, Mario!

MC> It doesn’t seems possible to use video overlay with a monochrome image
MC> (8 bit ), without transforming the image into a supported format,
MC> right?

Right, but with monochrome format 8 bit you have no need to use any
transform. Y plane (or component, depending on YUV overlay type) is pixel
luminance, setting U and V planes to value 128 - you will get monochromatic
image, so just fill Y plane with your 8 bit values.

MC> Using a grabber that is grabbing a monochrome image and I’d like to
MC> display/scale it using the overlay feature.

It’s really easy. I’ve an article about using YUV and RGB overlays under
Photon 2.x (but it is in russian -
http://mike.qnx.org.ru/articles/aboutyuv.pdf near 1Mb), but you can download
the examples for this article here:
http://mike.qnx.org.ru/articles/testoverlays.tar.gz .

With best regards, Mike Gorchak. E-mail: mike@malva.com.ua

“Mike Gorchak” <mike@malva.com.ua> wrote in message
news:cu9k5v$7l1$1@inn.qnx.com

Hello, Mario!

MC> It doesn’t seems possible to use video overlay with a monochrome image
MC> (8 bit ), without transforming the image into a supported format,
MC> right?

Right, but with monochrome format 8 bit you have no need to use any
transform. Y plane (or component, depending on YUV overlay type) is pixel
luminance, setting U and V planes to value 128 - you will get
monochromatic
image, so just fill Y plane with your 8 bit values.

MC> Using a grabber that is grabbing a monochrome image and I’d like to
MC> display/scale it using the overlay feature.

It’s really easy. I’ve an article about using YUV and RGB overlays under
Photon 2.x (but it is in russian -
http://mike.qnx.org.ru/articles/aboutyuv.pdf > near 1Mb), but you can
download
the examples for this article here:
http://mike.qnx.org.ru/articles/testoverlays.tar.gz > .

Thanks that is most usefull. Problem is the videocard I have to use only
support format 555

With best regards, Mike Gorchak. E-mail: > mike@malva.com.ua