Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

2d U-net on 3D nii CT data #287

Open
Yushen12sigma opened this issue Nov 14, 2018 · 2 comments
Open

2d U-net on 3D nii CT data #287

Yushen12sigma opened this issue Nov 14, 2018 · 2 comments

Comments

@Yushen12sigma
Copy link

Hi, Niftynet team,

I'm trying to train a 2D unet with every single slice of a 3D CT scan.

According to your instruction,
https://niftynet.readthedocs.io/en/dev/window_sizes.html
"setting spatial_window_size = (h, w, 1) will generate a 2.5D windows, "

but in the instruction of configuration file
https://niftynet.readthedocs.io/en/dev/config_spec.html
"Array of three integers specifies the input window size. Setting it to single slice, e.g., spatial_window_size=64, 64, 1, yields a 2-D slice window."

So which is is correct? or should I chop the 3D scan into 2D images by myself?

Thank you!

@1160914483
Copy link

Hello, have you solved the problem?

@ericspod
Copy link
Collaborator

The spatial_window_size should have the dimensions of data you're working with, so for 2D it would (h, w). The unet_histology demo illustrates this using the 2D unet implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants