Corrects uniform changes in light
1 | correct_light(img, chunk_width = 200)
|
img |
an image |
chunk_width |
the chunk sized used to calculate background light The size of the chunk should be large enough that each chunk contains at least a part of background. Internally estimates the light in 2d and aproximates a linear model to it, then subtracts the estimated light. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.