Hey,
I am trying to detect the difference between a matted/letterboxed 2.23:1 picture and a matted/letterboxed 1.85:1 picture. Is this possible and is there any program available that can do this? Have tried looking through Windows Media Player API, DirectShow API and Windows Media Center API. Came across a couple of potential items, but can anyone shed any light if this is actually possible before I go wasting more time?
Cheers,
Matt
+ Reply to Thread
Results 1 to 4 of 4
-
-
not likely. the only thing the video headers will supply is what the video is now - 4:3, not what it was before the black bars were permanently encoded into the video.
-
I am trying to detect the difference between a matted/letterboxed 2.23:1 picture and a matted/letterboxed 1.85:1 picture.
Otherwise I'm not quite sure what you're asking. I can tell the difference with my eyes. -
Mask the frame with a rectangle exactly the same size and location of the active region of a 2.23:1 image and measure the amount of black in the resulting image. A 2.23:1 will result in a wholly black frame. A 1.85:1 will have residual active image data. You could create a histogram of the masked image to count the number of pixels of a given color. You may need to fine tune things to account for things such as the bars not being perfectly black etc.
John Miller
Similar Threads
-
content based video analysis using motion detection
By Rimaz in forum ProgrammingReplies: 1Last Post: 4th Apr 2012, 10:30 -
Auto adjusting screen resolution to video resolution
By Computer Nerd Kev in forum Software PlayingReplies: 11Last Post: 11th Jul 2011, 06:36 -
video censor detection
By epsi1on in forum Newbie / General discussionsReplies: 12Last Post: 13th Sep 2009, 11:24 -
video breakup and glitch detection software
By Zone3 in forum Newbie / General discussionsReplies: 4Last Post: 16th Feb 2009, 21:22 -
viewing a QVGA/VGA resolution video with NTSC DV resolution (with a TV)
By Lightbreaker in forum EditingReplies: 1Last Post: 6th Jan 2009, 01:57