* dimensions of the mask control the thickness of the boundary that * will be extracted by the following function */
| 80 | * will be extracted by the following function |
| 81 | */ |
| 82 | array boundary(const array &in, const array &mask) { |
| 83 | array ret_val = in - erode(in, mask); |
| 84 | normalizeImage(ret_val); |
| 85 | return ret_val; |
| 86 | } |
| 87 | |
| 88 | int main(int argc, char **argv) { |
| 89 | try { |
no test coverage detected