LinearStretch() works strange if compared with bin/convert
Posted: 2017-11-11T03:40:36-07:00
tested on:
ImageMagick7-nox11-7.0.7.4
ImageMagick-nox11-6.9.8.9_1,1
bin/convert manual:
-linear-stretch black-point{xwhite-point}{%}
in perl it would be:
$img->LinearStretch('levels' => AxB, 'black-point' => double, 'white-point' => double);
the results are different and i can't make any arguments for LinearStretch() for result to match to bin/convert's result.
diff page with images:
http://zznine.com/convert-linear-stretch/diff.html
Question:
what should be arguments for LinearStretch() to match:
1) bin/convert -linear-stretch AxB
2) bin/convert -linear-stretch AxB%
ImageMagick7-nox11-7.0.7.4
ImageMagick-nox11-6.9.8.9_1,1
bin/convert manual:
-linear-stretch black-point{xwhite-point}{%}
in perl it would be:
$img->LinearStretch('levels' => AxB, 'black-point' => double, 'white-point' => double);
the results are different and i can't make any arguments for LinearStretch() for result to match to bin/convert's result.
diff page with images:
http://zznine.com/convert-linear-stretch/diff.html
Question:
what should be arguments for LinearStretch() to match:
1) bin/convert -linear-stretch AxB
2) bin/convert -linear-stretch AxB%