home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
AutoCropper plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ziphnor" data-source="post: 71395" data-attributes="member: 14215"><p>Thats certainly correct, but i would tend to prefer waiting for the next frame instead. Usually the middle of the image contains the 'main' content. My main worry with your approach is that if the centre is too dark, and the logo is just above the same spot as the image content near the edge, wont you have trouble discovering the logo? Ie, if the image content is included you would include the logo as well. This is assuming a top down + bottom up scan, see below for discussion of pure bottom up.</p><p></p><p></p><p></p><p></p><p>Currently im considering just sampling the whole bottom half of the image , and scanning the middle column at the top(keeping away from logos). Due too cache issues this might be well fast enough, and is easy to test before trying more complicated techniques.</p><p></p><p>Alternatively ive also considered scanning the whole image bottom up and trying to find the topmost edge of the image and stop there(of course geting the bottom most in the same scan). That avoids running into logos as long as there is at least some space between the letter box and the logo. In that scenario i would use either your sampling pattern or scan full lines.</p><p></p><p>I will simply try the simplest first and see whats efficient <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>As an update on the DirectShow stuff i have discovered that i apparently need a Transform filter(as opposed to a transform in place filter) if i want to crop the video directly. Programming this is slightly more difficult and im having some problems with it. I think im going to work a bit more with the inplace filter to get to grips with working with YUY2 encoded frames.</p></blockquote><p></p>
[QUOTE="ziphnor, post: 71395, member: 14215"] Thats certainly correct, but i would tend to prefer waiting for the next frame instead. Usually the middle of the image contains the 'main' content. My main worry with your approach is that if the centre is too dark, and the logo is just above the same spot as the image content near the edge, wont you have trouble discovering the logo? Ie, if the image content is included you would include the logo as well. This is assuming a top down + bottom up scan, see below for discussion of pure bottom up. Currently im considering just sampling the whole bottom half of the image , and scanning the middle column at the top(keeping away from logos). Due too cache issues this might be well fast enough, and is easy to test before trying more complicated techniques. Alternatively ive also considered scanning the whole image bottom up and trying to find the topmost edge of the image and stop there(of course geting the bottom most in the same scan). That avoids running into logos as long as there is at least some space between the letter box and the logo. In that scenario i would use either your sampling pattern or scan full lines. I will simply try the simplest first and see whats efficient :) As an update on the DirectShow stuff i have discovered that i apparently need a Transform filter(as opposed to a transform in place filter) if i want to crop the video directly. Programming this is slightly more difficult and im having some problems with it. I think im going to work a bit more with the inplace filter to get to grips with working with YUY2 encoded frames. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
AutoCropper plugin
Contact us
RSS
Top
Bottom