Hello,
I am having an issue binning regions of a 3D matrix (but I want the binning to occur in the X-Y dimension for each Z slice). Let's say I have a matrix of 512x128x1200, each 2D slice has dimension 512×128, but say I want to bin the pixel counts such that we create a 2D sliced 32×32 matrix (each element being the sum of 16×4 regions within the original larger matrix, is this possible? Then if we can perform this binning in 2D I want to extend this to each element in the Z-direction
It also would be nice then in future to have control of the X/Y bin 'width' so that the matrix can be reshaped into other square orientations, I have just chosen 32×32 as an arbritary starting point!
Hopefully that makes sense!
Cheers
Best Answer