3D
Prewitt edge detector.
function call:
[out_img1]=vsg('Prewitt3D',in_img1);
Arguments:
in_img1
-
input image, a DICOM image.
Description:
out_img1
– a DICOM image. Each value of the DICOM image is the edge magnitude
value calculated using a three-dimensional Prewitt kernel calculated in
a 3x3x3 region of the input image.
Example:
[filename,
chosenDirectory] = uigetfile('*.dcm', 'Pick an M-file');
filePath =
[chosenDirectory filename]; %complete path
stackOfImages=vsg('DICOMRead',filePath);
%4D array of data
[out_img1]=vsg('Prewitt3D',stackOfImages);
Notes:
1. For
2. Requires XMedCon
software (version xmedcon-0.10.5-1-win32).
3. DICOM data should
be in a separate folder.