Numpy: Get Boundary Corners of “Valid” Region

后端 未结 0 1402
鱼传尺愫
鱼传尺愫 2021-01-26 12:42

I have an n-dimensional numpy array of boolean values. I want to find the indices to be able to slice into the array with my slice containing all True values and as few False va

相关标签:
回答
  • 消灭零回复
提交回复
热议问题