Routines



LoadMask routine


Loads a mask file that exists on the disk. 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 LoadMask ( GrayImage mask, string naam );


Parameters
mask [out] GrayImage variable that handles the grayscale mask
naam [in] Name of the image file on the disk

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