ocampor / image-quality

Image quality is an open source software library for Image Quality Assessment (IQA).
Apache License 2.0
394 stars 85 forks source link

[Error] Error occur when processing some images. #38

Open CaptainEven opened 3 years ago

CaptainEven commented 3 years ago

/home/jaya/.local/lib/python3.7/site-packages/imquality/brisque.py:45: FutureWarning: The behavior of rgb2gray will change in scikit-image 0.19. Currently, rgb2gray allows 2D grayscale image to be passed as inputs and leaves them unmodified as outputs. Starting from version 0.19, 2D arrays will be treated as 1D images with 3 channels. self.image = skimage.color.rgb2gray(self.image) Traceback (most recent call last): File "/home/jaya/.local/lib/python3.7/site-packages/imquality/statistics.py", line 117, in estimate_alpha assert solution.success AssertionError

ocampor commented 3 years ago

Hello, thanks for your report. Is it possible for you @CaptainEven to create a PR with a quick fix?