Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Using STMaps to Undistort and Redistort in AE

  • Using STMaps to Undistort and Redistort in AE

    Posted by Antony Dupsta on January 7, 2020 at 3:15 am

    Using provided STMaps to undistort and Redistort in AE.

    Anyone have any luck with STMaps in AE. Specifically: to Undistort plate–> Solve camera–> generate STMap send to Compositor–> 2D applies inverse distortion Via RE_Map using the provided STMap in AE. Results show pixel stretching on the edges.

    Take the STMap the Match move software or tracking dept generated.
    Use RE_Map to reintroduce the exact distortion while using their STMap in comp.
    This causes edge pixels of plate and 3D elements to stretch on the edges of frame.

    I believe PFBarrel helped translate this in AE and that was discontinued, since them this process has been broken with AE compositors.
    Plenty of Work arounds if you are a one man show, but if you are using match move cameras from other depatments, passing comps from vendor to vendor, I would be interested in a proper STMap workflow in AE.
    Thoughts?

    Antony Dupsta replied 2 years, 4 months ago 4 Members · 4 Replies
  • 4 Replies
  • Richard Garabedain

    January 7, 2020 at 4:35 pm

    I would like to know what you are talking about…so i googled stmaps and found nothing…so what is this?

  • Martin Brennand

    January 7, 2020 at 11:53 pm

    Richard,
    STMaps are colour fielded maps like UV maps that are used to map and generate lens distortion. They are common in compositors like Nuke or Fusion and are often created by programs like Mocha and other tracking/paint software.

    Martin Brennand | Product Manager | Mocha – Boris FX (Imagineer Systems)

  • Walter Soyka

    January 8, 2020 at 2:19 pm

    Antony, I’m sorry but I don’t clearly understand the problem that you’re seeing.

    If you’re working at 8bpc, you’ll definitely see artifacts in RE:Map. You have to work at 16bpc or 32bpc.

    If you’re losing data at the edges, perhaps you need to do your intermediate work at the distortion-corrected frame size (which should be larger than the original/destination).

    Can you post a sample undistort/re-distort ST-map you’re looking to work with?

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Antony Dupsta

    February 9, 2024 at 2:14 am

    Four year later and AE still does not support a very common typically STmap workflow for professionals.

    Here is a very basic approached this kind person “Liz” helped try to sort out. God bless you. Great job, For any AE compositors that has stumbled on this thread trying to find answers. Although this is still plagued with issues I wanted to share a one size fits all approach you can try. That is until years from now they bring back proper support for this workflow.

    https://www.youtube.com/watch?v=awzje2_vU0Q

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy