Hi All, We are trying to use the Segmentation Utilities plugin to take a binary mask and multiply or apply it to an image.
The mask is 1430 x 2320 x 1 unsigned short, so its a 3D image, but only 1 slice. Same for the image. So, when I select Segmentation Utilities -> Image Masking -> Mask Image, the segmentation fails. The message box tells me to look in the log file, and nothing is printed. The error is caused by mitkImage.cpp, line 874 on current MITK master. So, basically, the mitkMaskImageFilter creates an output image that is 2D, when both inputs are 3D, and its downhill from there. So, when all the MITK/ITK pipeline stuff tries to create the output, you end up sticking an ITK image, thats templated to 3D, into an output type thats 2D. I’d also expect the same issue with 4D images with 1 timestep to end up as 3D images. So, how would you expect to distinguish 3D images of 1 slice from 2D images, at this point (mitkImage.cpp, line 874) in the code? Thanks Matt @Ana - try more than one slice if possible. Matt ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users