Skip to content
#

Image processing

Digital image processing is the use of algorithms to make computers analyze the content of digital images.

Here are 8,989 public repositories matching this topic...

sharp
emirkum
emirkum commented Dec 2, 2020

I'm receiving error with JPG (uppercase of jpg) image extension. This extension should be supported right?

ERROR Error resizing: Error: Expected one of: heic, heif, jpeg, jpg, png, raw, tiff, webp for format but received JPG of type string
at Object.invalidParameterError (/var/task/node_modules/sharp/lib/is.js:101:10)
at Sharp.toFormat (/var/task/node_modules/sharp/lib/output.js:168:

albumentations
jni
jni commented Jan 18, 2021

Description

There was a badass paper last year that unified and generalized Otsu and other thresholding methods ([arXiv]).

As usual, since it's a new algorithm the argument can be made that we should wait to see it in practice, but my gut feeling is that (a) it's really good, and (b) it's a generalization of an existing algorithm that we have in the library, so it does not add much code,

smounsav
smounsav commented Oct 25, 2019

In kornia.color.rgb_to_hsv, the computation of s is leading to nan value due to division by 0 when variable v contains 0.
s: torch.Tensor = deltac / v # saturation
I don t know what is the best solution to solve this. On my local machine, I add a small eps=1e-7 as a workaround:
s: torch.Tensor = deltac / (v + 1e-7) # saturation

You can’t perform that action at this time.