[mythtv-users] Commercial cuts on SMPTE color bars?

Jim Paris jim at jtan.com
Fri Dec 5 12:30:22 EST 2003


> A function would go across each frame scanning each column of video looking
> for at least columns of a near-single color then with a quick transition
> to another near-single color, then another, etc..  Check for whatever number
> of transitions there should be and if there is the correct number then that
> frame contains a colorbar.

Since the image will always be the same, it would be a lot easier to
just try matching each frame to a static image of the colorbars
(sum the squares of differences, or something).  Then it would be
easily usable for matching other still images, too.

-jim


More information about the mythtv-users mailing list