PYRAMID_ED_CVIP
pyramid_ed_cvip() - perform a pyramid edge detection.
Contents
SYNTAX
[edge_mag, edge_dir] = pyramid_ed_cvip( input_image )
Input Parameters include :
- input_image - input image.
output Parameters include:
- edge_mag - corresponding magnitude image.
- edge_dir - corresponding direction image.
DESCRIPTION
[edge_mag, edge_dir] = pyramid_ed_cvip( input_image ) applies the Pyramid operator to the input image and returns the result as the output image. It is used in the same manner as Prewitt and Sobel.
REFERENCE
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% Read image input_image = imread('butterfly.tif'); % Calling function [edge_mag, edge_dir] = pyramid_ed_cvip( input_image ); % Display input image figure;imshow(input_image);title('InputImage'); % Display Output image figure;imshow(hist_stretch_cvip(edge_mag,0,1,0,0));title('edge magnitude Image'); figure;imshow(hist_stretch_cvip(edge_dir,0,1,0,0));title('edge direction Image');
CREDITS
Author: Mehrdad Alvandipour, April 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website