Answer the question
In order to leave comments, you need to log in
How to reduce noise, change image intensity and clarity with gd/imagick in php?
Unfortunately, reading the Imagemagick documentation does not bring clarity on how you can control the noise, intensity, and clarity of an image. It turned out only to change the brightness, contrast and gamma. Maybe there are examples, even in Russian (the terminology in English is poorly known, only: intensity, graininess, sharpness), I will be grateful in advance.
Answer the question
In order to leave comments, you need to log in
Clarity is a trickier issue. I won't dwell on it here.
But the noise and color intensity are quite average.
You set the settings in the script - thresholds - for lightening and increasing the intensity.
You cycle through the lines, and in them through the pixels. Analyze the RGB of each pixel (color at) - correct them.
On GD, I definitely did such things.
UPD: Look towards imagecolorat, imagesetpixel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question