imgBoost: High Boosts an image

Description Usage Arguments Value Note Examples

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

1
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

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

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.