Closed kipcole9 closed 1 year ago
@kipcole9 the vix is using the prebuilt nif right? Just want to make sure it is not due to the use different libraries.
@kipcole9 just checked the doc, the option should be "max-slope":
I think (not max_slope:
). Can you try that?
I can see that it can be confusing, maybe we can raise error on invalid param name, or accept param names with underscore instead of -
@akash-akya , my sincere apologies. That was the issue. I'm sure I checked that since it's the common format for vips but I messed up. Sorry for the fire drill.
Environment
Elixir: 1.14, 1.15 OTP: 25, 26 vips: vips-8.14.2
Current behaviour
I'm implementing local contrast (CLAHE via vips_hist_local). The discussion topic references an image of Jupiter (copied here for convenience): Running the example from the discussion:
returns the image per the example: But if I call the operation directly the results are very different:
Expected result
The result of the
vips
command at theVix.Vips.Operation.hist_local/4
are the same. I note thatVix.Vips.Operation.hist_equal/2
does not seem to have the same issue.