You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized that I've misunderstood how axes works in other filters. Initially I thought axes=(0,1,2) would make the output have 3 dimensions rather than 4. In fact, even though generic_filter supports axes, this function call generic_filter(data,getKCC,output=np.float32,footprint=np.ones((3,3,3)),axes=(0,1,2)) will still result in an array with the same shape as data
Sorry for opening an immature issue. But anyways, I think it would be good to implement axes in generic_filter
Is your feature request related to a problem? Please describe.
most filters accept the parameter
axes
, I'm wondering if it's possible to makegeneric_filter
supportaxes
as well.Describe the solution you'd like.
Describe alternatives you've considered.
I have a 4D ndarray, which a time series of 3D images. I want to compute Kendall's W (KCC) for every 3x3x3 cluster. Now my workaround is as follows
Additional context (e.g. screenshots, GIFs)
No response
The text was updated successfully, but these errors were encountered: