imgBoost {biOps}R Documentation

High Boosts an image

Description

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

Usage

imgBoost(imgdata, proportion)

Arguments

imgdata The image
proportion Proportion of intensity to be increased (optional: default = 1 -HighPassFilter-)

Value

return an imagedata object

Note

When proportion=1, it's the same as imgHighPassFilter

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                y <- imgBoost(x, 1.2)
        
## End(Not run)

[Package biOps version 0.2.1 Index]