Code Monkey home page Code Monkey logo

Comments (10)

dtschump avatar dtschump commented on July 17, 2024

This looks like out-of-range values in the resulting image.
The Despeckle filter has been made by @garagecoder , maybe he could help ?

from gmic-qt.

garagecoder avatar garagecoder commented on July 17, 2024

I'll try to reproduce the problem this week, then perhaps a fix

from gmic-qt.

Antonio-52 avatar Antonio-52 commented on July 17, 2024

from gmic-qt.

garagecoder avatar garagecoder commented on July 17, 2024

@Antonio-52 So far, I've not been able to reproduce this. Are you able to provide an example input image which has the issue?

Mathematically, I can't see how that could happen unless there's something strange about the input first. If you have time, it would also be good to know if you see the issue with g'mic in some other program (e.g. gimp plugin, or standalone).

from gmic-qt.

Antonio-52 avatar Antonio-52 commented on July 17, 2024

from gmic-qt.

Antonio-52 avatar Antonio-52 commented on July 17, 2024

from gmic-qt.

garagecoder avatar garagecoder commented on July 17, 2024

Hi @Antonio-52

Unfortunately, I don't see your attached images on here or by email!
Maybe you can paste directly here in github rather than reply by email?

What I might need to do for you is create a new/test version of the despeckle filter. That way, I can add some features without breaking it for others. Hopefully I'll be able to do that this weekend.

Thanks for the feedback

from gmic-qt.

Antonio-52 avatar Antonio-52 commented on July 17, 2024

from gmic-qt.

Antonio-52 avatar Antonio-52 commented on July 17, 2024

1996-09-04 11h - Valle Ihlara; 235_v1
1996-09-04 11h - Valle Ihlara; 235_v2

  • _v2 is the original image
  • _v1 is after working with despeckle filter

from gmic-qt.

garagecoder avatar garagecoder commented on July 17, 2024

@Antonio-52 I still can't reproduce this, even with those images. I think something is going wrong your side which is probably not due to this filter. I expect you could find other filters in g'mic which would break in similar ways.

I've added a new test filter called "Despeckle [test]" which has two clipping options. Both will stop any values outside 8bit range [0,255]. ClipIn clips before the filter is applied, ClipOut happens after.

If using ClipIn solves it, I think that shows something goes wrong before the filter. If just ClipOut solves it, then the filter is going wrong in a way I don't yet understand.

You will need a very recent version of g'mic to try that test filter!

from gmic-qt.

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.