CONVOLVE_FILTER_CVIP
convolve_filter_cvip() - performs convolution between an image I and a mask M.
Contents
SYNTAX
conv_filter = convolve_filter_cvip(I,M)
Input Parameters include:
- I - Input Image.
- M - Serves as mask in the convolution.
Output Parameter include:
- conv_filter - Output image.
DESCRIPTION
This function simply performs the two dimensional convolution between the input Image and the user specified mask. If the input image is a color image, the function performs convolution on each band of the image separately.
REFERENCE
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% Read image I = imread('butterfly.tif_negexp7.tif');% Input image with negative exponential noise. % Mask M = ones(3,3); % Call function conv_filter = convolve_filter_cvip( I,M ); % Display input image figure;imshow( I );title('Input Image'); % Display output image figure; imshow(remap_cvip(conv_filter));title('Output Image');
CREDITS
Author: Lakshmi Gorantla, July 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website