crop black in matrix

    Jun 07 2011 | 5:51 pm
    Hey there!
    I'm trying to crop black borders automatically, any hints?
    Thanks! MH

    • Jun 07 2011 | 9:26 pm
      Where to begin? jit.rota might serve your purposes.
    • Jun 07 2011 | 9:33 pm
      I tried using jit.iter to slice the matrix X and Y in the center, then look at the lists with ZL objects. if I can get the position of the first and last non-zero in each list, I might be able to feed those numbers into an object that crops, or the dstdims of another matrix.
      I trying that strategy next.
      Thanks! MH