Nil Goyette
Nil Goyette
I'm not sure what you ask for. - `inner_result.axis_iter_mut(Axis(0))` return [1x2] arrays - `x.windows(3)` returns 1x3 arrays - `data.axis_windows(Axis(0), 3)` returns 3x2 arrays - they all return 4 elements to...
> IE, gte than 0,0,0, less than the array size You're working with `isize`? I ask because, if I had to code it, I would probably use `usize`. All other...
Thank you for adding more details. Now that I think about it, we have a similar problem in medical imaging where we need to take a NxNxN patch around all...
@dacid44 Imo, yes, it would be used by some people, including me at my job. > to handle checking if an index is inside a slice I'm not sure I...
Hi @mindv0rtex. I don't understand what you're suggesting. Can you please provide more information and/or a code example?
@jreniel Please open an issue if you want to discuss an implementation of `meshgrid`. It's not related to this PR.
I had to write several generic functions with ndarray and it was really unclear at first! I agree that we should add more documentation. > having to include a type...
I see that you support `u8` image but I can't get this snippet to work. let obj = InMemNiftiObject::from_file("a path.nii.gz") .expect("Can't read input file."); let volume_dyn = obj.into_volume().to_ndarray::().unwrap(); It fails...
I was trying to read a binary mask (0-1 values). They are quite frequent in medical imaging. I know I could use `mask[i, j, k] > 0.0` for `true` and...
Isn't this done with .natvis files? For VSCode at least. I'm not sure about a general solution that would work for all IDE. You can find 4 natvis files in...