Replies: 1 comment
-
Hi @AdamKlasa the transforms can handle 2D, but with the images in png format and/or with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on 2D ultrasound segmentation/regression. The dataset is a proprietary collection of images that I have both in DICOM as well as png formats with binary masks as labels. The size of images vary, as well as their pixel spacing. My idea is to train a UNet based model that would also be capable of performing regression and outputting predicted measurements on top of segmentations. I thought it would be a good idea to use the spacing transform to ensure pixel spacing is identical in all of the images.
Does this functionality even work for 2D data "out-of-the-box"? Shape of the data is 1xHxW (single channel). My attempts so far result in a generic error ("RuntimeError: applying transform <monai.transforms.spatial.array.Spacing object at 0x7f407a6f2c40>") . What is the proper order of transformations? For now I'm trying to keep it simple:
I'm using monai version 0.8.1.
Beta Was this translation helpful? Give feedback.
All reactions