Problem with -normalize in 7.6.8 for gray scale images
Posted: 2012-07-13T07:31:38-07:00
Dear all,
I have a script which converts raw date (unsigned 16bit integer) from an MRI maschin to png etc.
I use the command:
convert -endian LSB -size 256x256 -depth 16 -normalize +adjoin gray:$file $outfilename\_%03d.png
Till 6.7.6 (including) I got multiple images all nice scaled.
I upgraded on Windows to 6.7.8.2 and suddendly only the first image was fine, but all the other once were nearly binary. Bright areas white, and lower intensity were black.
An bugfix for my scripts was to switch to
convert -endian LSB -size 256x256 -depth 16 -auto-levl +adjoin gray:$file $outfilename\_%03d.png
But I think, there went something wrong during one of the the latest improvments.
Thanks for your help.
Roger
I have a script which converts raw date (unsigned 16bit integer) from an MRI maschin to png etc.
I use the command:
convert -endian LSB -size 256x256 -depth 16 -normalize +adjoin gray:$file $outfilename\_%03d.png
Till 6.7.6 (including) I got multiple images all nice scaled.
I upgraded on Windows to 6.7.8.2 and suddendly only the first image was fine, but all the other once were nearly binary. Bright areas white, and lower intensity were black.
An bugfix for my scripts was to switch to
convert -endian LSB -size 256x256 -depth 16 -auto-levl +adjoin gray:$file $outfilename\_%03d.png
But I think, there went something wrong during one of the the latest improvments.
Thanks for your help.
Roger