I want to create a halo using the cli.
I have a picture which consists of a single matrix (i.e. the spectrum c is 1).
The values of the matrix either 0 or 1.
I want to compute a new matrix as follows:
The value at some entry [i,j] of the new matrix is the (euclidian)
distance between i,j and the closest 0-entry of the original matrix.
Best regards, Daniel