ImLab Scilab Function
Last update :
imshencastan - gradient image computing or low-pass filtering using SHEN & CASTAN method
Calling Sequence
-
[filtered_image] = imshencastan(image_data,alpha,direction,filter_type,mask)
Parameters
-
image_data
: image pixel values
-
alpha
: alpha parameter in filter computing
-
direction
: four possible values :
- 0 : computation is done along lines
- 45 : computation is done along 45-degree diagonals
- 90 : computation is done along columns
- 135 : computation is done along 135-degree diagonals
-
filter_type
: determine which filter we want to use :
- 'g' : a gradient image is computed
- 'f' : a low-pass filtered image is computed
-
mask
: matrix returned by an ImLab function or user-defined matrix having the same size than image_data, allows to compute the output value only for the area which is selected. If mask is defined, the output value is computed only for values of image_data corresponding to non zero value in mask
-
filtered_image
result image
Description
This function computes a gradient image or a low-pass filtered image according to user defined parameters.