Skip to contents

wrapper around change_pixel_color_HVS() for the intention of clarity.

Usage

get_indicator_image(pixel.array, pixel.idx, target.color, mask_extreme = F)

Arguments

pixel.array

image array as loaded via duflor::load_image()

pixel.idx

list declaring pixels to which target.color.hsv is applied

target.color

color in rgb-format 0-255, or a member of colors()

mask_extreme

by default, only the hue- and saturation-components are applied to the pixels. Set this argument to TRUE to also apply value. This will increase the contrast of the image drastically, but might result in less favorable images.)

Value

pixel.array with hsv-values of pixels at positions pixel.idx modified.