CLAHE Crashes on HDR images

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
dres2019
Posts: 1
Joined: 2019-12-21T11:15:42-07:00
Authentication code: 1152

CLAHE Crashes on HDR images

Post by dres2019 »

I am using v7.0.9-q16-hdri, for the last couple days. I'm trying to do a successful Adaptive Histogram Equalization on HDRI files, but so far all my outputs are much too high contrast and often color-shifted. I downloaded 7.0.9 to try using CLAHE, but the command line crashes on every image I try, whether HDRI or simple JPEG's. Small images (640px) crash almost instantly, and large images (5000px) process for a long time before crashing.

I've tried as many parameters as I've seen on postings, but all crash.

A simple command line might be:

infile.exr -clahe 25x25%+128+3 outfile.exr

Or even a small JPEG: infile.jpg -clahe 25x25%+128+3 outfile.jpg

I've also tried using -mogrify.

snibgo
Posts: 12894
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: CLAHE Crashes on HDR images

Post by snibgo »

Please give your exact version number (as shown in "magick -version") and platform.

"-clahe" works fine for me with IM 7.0.8-64 on Windows 8.1.
snibgo's IM pages: im.snibgo.com

User avatar
dlemstra
Posts: 1609
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: CLAHE Crashes on HDR images

Post by dlemstra »

Also reported here and the issue has been fixed: https://github.com/ImageMagick/ImageMagick/issues/1813
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Post Reply