-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I think that you're not using the In addition to that, you should also check that your image is boolean and not greyscale. This means 2 things: Firstly if you're working with images directly from the xray machine you need to segment the image into True (void) and False (solid). Secondly, if you've done the first part, then the tif image is probably stored as integers, so you'll need to do a boolean mask to convert to True/False, like |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
As for the question, it also have the option in |
Beta Was this translation helpful? Give feedback.
I think that you're not using the
imageio
package properly.imread
only reads in 2D images. The function you want used to be calledmimread
where the first "m" stood for "multi". In more recent versions they have the much more sensibly namedvolread
which reads in a 3D volumetric image like your tiff is, presumably.In addition to that, you should also check that your image is boolean and not greyscale. This means 2 things: Firstly if you're working with images directly from the xray machine you need to segment the image into True (void) and False (solid). Secondly, if you've done the first part, then the tif image is probably stored as integers, so you'll need to do a boolean mask to con…