File structure



mask file structure


That is a text file on the disk that has the following structure:


file.mask
------------------
[mask width] [mask height]
[m00] [m01] ..
[m10] [m11] ..
... ...
------------------

So the first line contains two values separated by space. The first value stands for the number of pixels on a row in mask and the second stand for the number of pixels on a column. The other lines describe the mask matrix, each line referring to a row in the mask matrix. Each cell in the matrix has a value of 0 (set pixel ) or 0 (unset pixel)


Example mask


file: m1.mask
------------------
3 2
1 0 0
0 1 1
------------------


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