imgBoost {biOps} | R Documentation |
This function high boosts an image by convoluting with the following matrix:
-1/9 | -1/9 | -1/9 |
-1/9 | (9p-1)/9 | -1/9 |
-1/9 | -1/9 | -1/9 |
It increases intensity by a given proportion (p) and substracting a lowpass filter
imgBoost(imgdata, proportion)
imgdata |
The image |
proportion |
Proportion of intensity to be increased (optional: default = 1 -HighPassFilter-) |
return an imagedata object
When proportion=1, it's the same as imgHighPassFilter
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- imgBoost(x, 1.2) ## End(Not run)