KittlerSeg

Applies Kittler segmentation to the input image.

 

function call:

[out_img1]=vsg('KittlerSeg',in_img1);

 

Arguments:

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

 

 

Description:

out_img1Returns a binary image which is the input image after it has been thresholded. The threshold level is chosen from the input image using the Kittler algorithm.

 

Example:

in_img1 = openimage('lake.jpg');

[out_img1]=vsg('KittlerSeg',in_img1);

figure,image(uint8(in_img1)),title('Input Image');

figure,image(uint8(out_img1)),title('Kittler Segmented image');

Home       Functions       Back