DBLT

Double [Hysteresis] Threshold based reconstruction. Binary Outputs. Seed threshold to reduce noise Mask threshold to maximise signal.

 

function call:

[out_img1,out_img2,out_img3]=vsg('DBLT',in_img1,num1,num2);

 

Arguments:

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

num1 - seed threshold, an integer representing the threshold to be used for the seed image.

num2 - mask threshold, an integer representing the threshold to be used for the mask image.

 

Description:

out_img1 – An image which has dimensions the same as the input image. This is an image which as been reconstructed by dilation using the images formed by thresholding the input image with the seed and mask thresholds.

out_img2 – seed image, the image formed by thresholding the input image at the seed threshold.  out_img3 – mask image, the image formed by thresholding the input image at the mask threshold.

 

Example:

img = openimage('lake.jpg');

h=figure;image(uint8(img));set(h,'Name','Input');

[out_img1,out_img2,out_img3]=vsg('DBLT',img,100,3);

h=figure;image(uint8(out_img1));set(h,'Name','DBLT 1');

h=figure;image(uint8(out_img2));set(h,'Name','DBLT 2');

h=figure;image(uint8(out_img3));set(h,'Name','DBLT 3');

Notes:

1. For DICOM images, the function operates on all slices separately.

2. For RGB images, the function operates on all colour planes separately.

Home       Functions       Back