This is off topic. I ask the question here because of the imaging expertise found on this forum. For interlaced video I have implemented bob and weave deinterlace methods in C. As expected, the weave method looks bad when objects are moving and bob (line doubling) cuts vertical resolution in half. I have seen mentioned a combined approach called "weave + bob" that is suppose to achieve decent results but do not understand what the implementation would be.
Any clues on how to approach a "weave + bob" deinterlace implementation in C ?
Thanks in advance,
-Ed
How to implement deinterlace "weave + bob" in C ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to implement deinterlace "weave + bob" in C ?
Don't know much about either. But search google for "bob and weave deinterlace"
http://www.100fps.com/
http://www.digital-rapids.com/Resources ... px?print=1
http://en.wikipedia.org/wiki/Deinterlacing
http://www.altera.com/literature/wp/wp- ... lacing.pdf
http://terms.inmatrix.com/
http://www.hthoma.de/video/interlace/index.html
http://nickyguides.digital-digest.com/i ... e-test.htm
http://www.100fps.com/
http://www.digital-rapids.com/Resources ... px?print=1
http://en.wikipedia.org/wiki/Deinterlacing
http://www.altera.com/literature/wp/wp- ... lacing.pdf
http://terms.inmatrix.com/
http://www.hthoma.de/video/interlace/index.html
http://nickyguides.digital-digest.com/i ... e-test.htm
Re: How to implement deinterlace "weave + bob" in C ?
Thanks but I have and already seen most all of these links. However on second look at the Altera description, that may work for me.
Thanks again,
-Ed
Thanks again,
-Ed
fmw42 wrote:Don't know much about either. But search google for "bob and weave deinterlace"
http://www.100fps.com/
http://www.digital-rapids.com/Resources ... px?print=1
http://en.wikipedia.org/wiki/Deinterlacing
http://www.altera.com/literature/wp/wp- ... lacing.pdf
http://terms.inmatrix.com/
http://www.hthoma.de/video/interlace/index.html
http://nickyguides.digital-digest.com/i ... e-test.htm
Re: How to implement deinterlace "weave + bob" in C ?
If its from a video then the information in the previous & next frames is VERY valuable. If so then you might try his filter with virtualdub: http://neuron2.net/smart/smart.html
Re: How to implement deinterlace "weave + bob" in C ?
The "Smart Deinterlacer" from Donald Graft is not a bobbing filter. But eesutton could take a glance at the sources of some 'smart bob' implementations from those AviSynth/VirtualDub gurus:
http://neuron2.net/dgbob/dgbob.html
http://neuron2.net/bob.html
http://www.guthspot.se/video/#deinterlacesmooth
Don't know if that helps you with your own code...
http://neuron2.net/dgbob/dgbob.html
http://neuron2.net/bob.html
http://www.guthspot.se/video/#deinterlacesmooth
Don't know if that helps you with your own code...
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to implement deinterlace "weave + bob" in C ?
Look at the command line deinterlace examples,
and create the C equivelent! Should be simple enough!
http://www.imagemagick.org/Usage/video/#deinterlace
Note for BoB use the second "composition" method.
Whether you get black or white depends on if you use "screen" or "multiply"
to get the other frame, roll the overlay template.
and create the C equivelent! Should be simple enough!
http://www.imagemagick.org/Usage/video/#deinterlace
Note for BoB use the second "composition" method.
Whether you get black or white depends on if you use "screen" or "multiply"
to get the other frame, roll the overlay template.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How to implement deinterlace "weave + bob" in C ?
Well, eesutton wrote that he already has a bob method. I have the impression that he wants a (not too difficult) 'smart bob' method (or 'weave+bob') - that interpolates (or doubles) the lines in moving areas and just uses the previous field in static areas.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to implement deinterlace "weave + bob" in C ?
That is also covered in IM examples, after the simplier bob methods
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How to implement deinterlace "weave + bob" in C ?
An automatic solution, that analyzes the fields and applies different methods to different regions of one field??anthony wrote:That is also covered in IM examples
One could try to mimic that with ImageMagick, but I think that eesutton doesn't need an ImageMagick solution anyway - but a standalone C program ("off topic").