mercredi 28 mai 2014

c ++ - désentrelacement vidéo capturée avec DirectShow - Stack Overflow


(Add KSPROPERTY_CAMERACONTROL_SCANMODE into KSPROPERTY_VIDCAP_CAMERACONTROL?)


Working with a webcam I'm getting an interlaced video. The access to that webcam is done with a DirectShow using videoInput library (as part of OpenCV).


I cannot find a way to control that (interlaced) mode with the currently available options/enums in the OpenCV so I diged into MSDN and found the following:



My question is: How? :) What does one do to add a needed value (or a bunch of values) that are supposedly supported by the system? What am I missing?


MSDN seems to be holding the cards close to its body and not revealing much, so I'm asking the good people in here for help.


I hope someone out there has figured out how to do that and can share the wisdom.


My ultimate goal is to use the OpenCV's videoInput's setVideoSettingCamera() to control the interlacing (so that the image I get doesn't have those black lines)



(Add KSPROPERTY_CAMERACONTROL_SCANMODE into KSPROPERTY_VIDCAP_CAMERACONTROL?)


Working with a webcam I'm getting an interlaced video. The access to that webcam is done with a DirectShow using videoInput library (as part of OpenCV).


I cannot find a way to control that (interlaced) mode with the currently available options/enums in the OpenCV so I diged into MSDN and found the following:



My question is: How? :) What does one do to add a needed value (or a bunch of values) that are supposedly supported by the system? What am I missing?


MSDN seems to be holding the cards close to its body and not revealing much, so I'm asking the good people in here for help.


I hope someone out there has figured out how to do that and can share the wisdom.


My ultimate goal is to use the OpenCV's videoInput's setVideoSettingCamera() to control the interlacing (so that the image I get doesn't have those black lines)


0 commentaires:

Enregistrer un commentaire