LOG_ACE_FILTER_CVIP
log_ace_filter_cvip() -performs a LOG ACE filter operation.
Contents
SYNTAX
new_image = log_ace_filter_cvip( imageP,W, k1,k2)
Input parameters include:
- imageP - Input image can be gray image or rgb image of MxN size.
- W - Filter block size.
- k1 - Local gain factor constant, between 0 and 1.
- k2 - Local mean factor, between 0 and 1.
Output parameter includes :
- new_image - The output image after filtering.
DESCRIPTION
Logarithmic ACE filter is a slight variation of the Adaptive contrast enhancement filter. The function filters the input image on a block-by-block basis depending on the filter block size specified by the user and uses logarithmic factors to perform adaptice contrast enhancement on different parts of the image.
REFERENCE
1.Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% Read Image imageP = imread('butterfly.tif'); % Filter block size W = 11; % Local gain factor constant k1 = .8; % Local mean factor k2 = 1; % Calling function new_image = log_ace_filter_cvip( imageP,W, k1,k2); % Display input image figure;imshow(imageP);title('Input Image'); % Display output image figure;imshow((new_image),[]);title('Output Log ace filtered Image');
CREDITS
Author: Mehrdad Alvandipour, March 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website