Enhance details

Image can be enhanced in few ways, it can be denoised and it can be deblurred.

EnhancementDescription

denoise

Reduces the image noise

deblur

Reduces out of focus blur

clean

Cleans the image without changing resolution

face_enhance

light

color

white_balance

Version of model for denoise or deblur can be parametrized.

There are two models: v1 and v2. v2 which is newer, handles better heavily blurry and noisy pictures. By default v1 is used.

It is not recommended to use that for good quality pictures though.

"denoise_parameters": {
    "type": "v2"
}
"deblur_parameters": {
    "type": "v2"
}

Let's check some examples.

Noise removal

{
    "enhancements": ["denoise"],
    "denoise_parameters": {
        "type": "v1"
    }
}

Out of focus blur reduction

We can also make sharper blurry image like this:

{
    "enhancements": ["deblur"]
}

Those two options can be specified together.

Let's check the results on that image:

{
    "enhancements": ["deblur", "denoise"]
}

Cleaning the image

Image can also be "cleaned" from artifacts and previously poorly upscaled image.

"enhancements": ["clean"]

Resolution of the image remains the same but image should be in better quality.

Last updated