LimbEnds

Skeleton limb end detection from a binary image based on a 3x3 region.

 

function call:

[out_img1]=vsg('LimbEnds’,in_img1);

 

Arguments:

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

 

Description:

The LimdEnds function employed predefined masks for detecting 3×3 section end points. Once, detected, these limb end points are replaced by a single white pixel. Otherwise the output pixel is set to black.

out_img1 - An image which has dimensions the same as the input image. The output image displays the limbends of the white regions of the input image.

 

Example:

img = openimage('A.jpg');

[out_img1]=vsg('Threshold',img,100);

[out_img1]=vsg('FullThin',out_img1);

h=figure; image(uint8(out_img1));set(h,'Name','Full Thin');

[out_img1]=vsg('LimbEnds',out_img1);

h=figure; image(uint8(out_img1));set(h,'Name','Limb Ends');

Notes:

1. For DICOM images, the function operates on each slice separately.

2. For RGB images, the function operates on each channel separately.

Home       Functions       Back