Giter Club home page Giter Club logo

Comments (5)

andrew-saydjari avatar andrew-saydjari commented on September 16, 2024

Hi, thanks for brining ImageInpainting.jl to my attention. The method there is very cool, but also very different from this algorithm. I would be happy to consider merging this there if there were different algorithm options and the different applicabilities were well clarified.

from cloudclean.jl.

ashwani-rathee avatar ashwani-rathee commented on September 16, 2024

Thanks for your interest @andrew-saydjari , let me see what's needed to make things easier to incorporate newer algorithms in terms of API in ImageInpainting.jl. By the way, are you on slack?

from cloudclean.jl.

andrew-saydjari avatar andrew-saydjari commented on September 16, 2024

Yes. Happy to join the slack discussion if that works better. [email protected]

from cloudclean.jl.

ashwani-rathee avatar ashwani-rathee commented on September 16, 2024

In the example in ImageInPainting.jl,

using ImageInpainting

# inpaint image within mask using algorithm
inpaint(img, mask, algo)

img: This is always likely to be there
mask: Again always supposed to be there I think to define the ROI
algo: This for your case could be CloudClean which is of InpaintAlgo Type and its parameters can also be specified in kwargs as needed.

If you see: https://github.com/JuliaImages/ImageInpainting.jl/blob/master/src/criminisi.jl

struct Criminisi <: InpaintAlgo
  px::Int
  py::Int
end

for your case, it will be something like:

struct CloudClean <: InpaintAlgo
  parameters1::Int
  parameters2::Int
  parameters3::Int
end

from cloudclean.jl.

andrew-saydjari avatar andrew-saydjari commented on September 16, 2024

So I think that would be straightforward for proc_continuous, but for our proc_discrete mode, we pass a list of ROI centers, not just the mask. This improves the infill because you are choosing your "training" data to be optimally centered around the regions that you want to infill. I am not seeing an obvious way to fit that into what you describe. It would be hard for me to think about that list of ROI centers as parameters of the algorithm, but maybe an optional keyword to inpaint that (via multiple dispatch) is only allowed for CloudClean.

from cloudclean.jl.

Related Issues (1)

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.