Skip to contents

Given an image, and a new max and min intensity value, re-scales the image values to fit the new dynamic range. If max.val or min.val are missing, determines them automatically using the autothreshold function.

Usage

dynamic.threshold(image, min.val = NULL, max.val = NULL, ...)

Arguments

image

An image object

min.val

Minimum value threshold for rescaling

max.val

Maximum value threshold for rescaling.

...

Arguments passed to autothreshold

Scroll to top