Routines



ConvolImage routine


Runs a convolution filter on a gray image and put the result on to an output gray image object. A mask object must be specified as an input parameter. The mask file is a text file on disk and has a specific mask structure. Once loaded, it is handled as a GrayImage object and is further used only by the themedian filtering algorithm implementation.

required external library: image

void ConvolImage ( GrayImage in, GrayImage out, GrayImage mask );


Parameters
in [in] GrayImage variable that handles the gray scale input image
out [out] GrayImage variable that handles the gray scale output/result image
mask [in] GrayImage variable that handles the grayscale mask

Return values

The routine does not return anything.

Example code

loadlib image;


GrayImage in,out,mask;
main()
{
LoadGrayImage(in,"anger.bmp");
LoadMask(mask,"m1.mask");
ConvolImage(in,out,mask);
}


Requirements

  • external dynamic link library: image.dll on the server


  • If interested in this project, please fell free to contact the personnel of our group. The project leader is dr.drs. L.J.M. Rothkrantz