Giter Club home page Giter Club logo

Comments (4)

johnnychen94 avatar johnnychen94 commented on July 19, 2024

Do you mean https://juliaimages.org/ImageTransformations.jl/stable/examples/operations/swirl/#Swirl-effect-using-warp-operation?

from imagetransformations.jl.

arbenede avatar arbenede commented on July 19, 2024

My goal is to create a custom image warp function that I can differentiate with respect to its parameters using Zygote and your other Julia package https://github.com/FluxML/DiffImages.jl. So it's not clear to me how to proceed. Should I first extend ImageTransformation.jl then add some new code to DiffImages.jl? If you have some advice I would appreciate to hear from you... By the way I opened an issue at https://github.com/FluxML/DiffImages.jl since the link to the documentation is broken.

from imagetransformations.jl.

johnnychen94 avatar johnnychen94 commented on July 19, 2024

It should work out of the box if you're using the warp and Interpolations. The src/geometry/adjoints.jl file has added the needed rules for it. But if you're using more than that, a custom rule for some functions (which is unknown until error shows) is needed.

DiffImages was GSoC-21 project and it is still a WIP, so feel free to fork it and add whatever you need, and when you get satisfied you're welcome to submit a PR. By then we can discuss where to put the codes -- for experimental purpose, you can have everything in DiffImages.

from imagetransformations.jl.

arbenede avatar arbenede commented on July 19, 2024

Thank you!

from imagetransformations.jl.

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.