Coder Social home page Coder Social logo

Comments (9)

ignacio-rocco avatar ignacio-rocco commented on June 30, 2024 1

Please see the explanations about inverse warping here:

https://www.cs.unc.edu/~lazebnik/research/fall08/lec08_faces.pdf

this should help you understand!

from cnngeometric_pytorch.

binhmuc avatar binhmuc commented on June 30, 2024

Also your paper said that "A keypoint is considered to be matched correctly if its predicted location is within a distance of α · max(h, w) of the target keypoint position". So i don't know why you code compare with source points instead of target points.

from cnngeometric_pytorch.

ignacio-rocco avatar ignacio-rocco commented on June 30, 2024

from cnngeometric_pytorch.

binhmuc avatar binhmuc commented on June 30, 2024

Thank for you reply :)
So, it means that, i just replace "source points" and "target point" in the code and got the natural result ?.
But it too weird for me...
Because in the code: You warped source images -> target images, and using theta result to get inverse warping...
So, could you tell me, how to get target point from source points and theta result ?
Thank you !

from cnngeometric_pytorch.

lixiaolusunshine avatar lixiaolusunshine commented on June 30, 2024

so do you understand his means? I'm also confused this opinions.

from cnngeometric_pytorch.

binhmuc avatar binhmuc commented on June 30, 2024

@lixiaolusunshine yes, i understood him. Clearly that, the paper said that source points to target points, but in the source code is totally inverse.

from cnngeometric_pytorch.

lixiaolusunshine avatar lixiaolusunshine commented on June 30, 2024

so in his paper he got the estimated inverse affine parameters from the featuregression layer, then use this inverse mapping to warp the source image into the target image?

from cnngeometric_pytorch.

binhmuc avatar binhmuc commented on June 30, 2024

@lixiaolusunshine sorry, i cannot catch up your mean. In his paper, very clear that, use GMM, find a list of parameters, from parameters => warp => loss.
The only difference is when he compare the result. He compare the target points, but in code, we never get target points for the parameters, instead of is source points.

from cnngeometric_pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.