[mythtv-commits] mythtv commit: r11717 by rtsai

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Nov 12 06:57:35 UTC 2006


      Author: rtsai
        Date: 2006-11-12 06:57:35 +0000 (Sun, 12 Nov 2006)
New Revision: 11717
   Changeset: http://cvs.mythtv.org/trac/changeset/11717

Modified:

   trunk/mythtv/programs/mythcommflag/TemplateMatcher.cpp
   trunk/mythtv/programs/mythcommflag/TemplateMatcher.h

Log:

- Change template matching to be based on a median-ish value of matching pixels
  (across the entire recording) instead of some absolute percentage of edge
  pixels in the template. This appears to yield better accuracy across a wider
  range of recordings, but has the drawback (since it operates on median value)
  that commercial-flagging results based on TemplateMatcher won't be complete
  until the recording is complete, effectively negating "real-time" flagging.

- Remove per-frame debugging code; it doesn't contribute anything useful that
  TemplateFinder doesn't already do in its debugging.






More information about the mythtv-commits mailing list