STDCalc

Compute the standard deviation of the input image.

 

function call:

[num1]=vsg('STDCalc',in_img1);

 

Arguments:

in_img1 input image, 3 channel RGB, 1 channel greyscale or binary image, or DICOM image.

 

Description:

num1 – a double representing the greyscale intensity standard deviation of in_img1.

 

Example:

img = openimage('lake.jpg');

[num1]=vsg('STDCalc',img)

 

num1 = 65.4649

 

Notes:

1. For DICOM images, the function calculates the std value across all slices

2. For RGB images, the function calculates the std value across all colour planes.

Home       Functions       Back