Operation: local snr

local snr operation

Author:

Volker Bäcker

Example:

input
result image    result value

Description

Estimate the signal to noise ratio, defined as sne = (foreground mean - background mean) / background stdDevfor, for each pixel in the image, based on a region of a given size by applying an otsu-threshold to the region and counting pixels with an intensity above the threshold as foreground and other pixels as background.

Options

options
radius x: radius of the neighborhood in x-direction.
radius y: radius of the neighborhood in y-direction.

Parameter

The only parameter is the input image. The input image must be a 8-bit or 16-bit greyscale image.

Results

Result (ImagePlus) :  A 32 bit image in which each pixel value is the snr at the corresponding position in the input image. If the background stdDev is 0 in a region the snr will be "not a number".
Median (ResultsTable):  A results table containing the median snr of the image.