[FFmpeg-user] Generating a displacement map
Evert Vorster
evorster at gmail.com
Wed Jul 5 20:17:09 EEST 2017
Wow, thanks.
Now I have another great time-waster to play with!
On 5 July 2017 at 19:03, Paul B Mahol <onemda at gmail.com> wrote:
> On 7/5/17, Moritz Barsnick <barsnick at gmx.net> wrote:
> > Hi Evert,
> >
> > On Wed, Jul 05, 2017 at 13:31:15 +0200, Evert Vorster wrote:
> >> Using ffmpeg, hugin, and some scripting, each image is un-distorted
> >> according to it's lens characteristics, and stitched together to make an
> >> equirectangular frame.
> > [...]
> >> Rather than figure out the location of each pixel every time, it would
> be
> >> much more efficient to just use a displacement map and move the pixels.
> >
> > Do have a look at the "displace" filter. The examples show how to
> > describe the displacement with an equation/formula:
>
> remap filter is better option.
>
> >
> > https://ffmpeg.org/ffmpeg-filters.html#displace
> >
> >> Actually generating such a map might be a bit of a trick.
> >> Is there any ideas from the community on how to generate and use such a
> >> map?
> >
> > If you can describe it mathematically, you may be able to use ffmpeg's
> > expression system for the formula. Otherwise you would create two
> > "images" which contain this displacement data, and feed them as looped
> > inputs. The actual description of the map is probably up to you (and
> > hugin or the lens database).
> >
> > Cheers,
> > Moritz
> >
> >> Isometrix Acquistion Superchief
> >
> > Lovely title you have there. :-D
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
--
Evert Vorster
Isometrix Acquistion Superchief
More information about the ffmpeg-user
mailing list