Results 55 comments of Ziv Yaniv

Hi @naterichman, Quick attempt, before digging into the problem, can you try this script and see if the output is what you expect it to be. Only requires an output...

### Use case1: LabelShapeStatisticsImageFilter::GetBoundingBox This class corresponds to itk::LabelImageToShapeLabelMapFilter (runs LabelImageToShape filter followed by shape analysis) and we access the GetBoundingBox method from the ShapeLabelObject. In this case this is...

Look into creating this package when we have a list of about 10 classes/functions: 1. Get VTK image from SimpleITK image. 2. Slice by slice decorator [code in example](https://simpleitk.readthedocs.io/en/master/link_SliceBySliceDecorator_docs.html). 3....

Hello @jnumingdeli, Be aware that DICOM is a complicated standard with some readers willing to accept/read non compliant files while others are more strict, so a successful read does not...

Hello @jnumingdeli, This appears to be an issue with GDCM, the library used for reading DICOM, ongoing discussion on the [gdcm mailing list](https://sourceforge.net/p/gdcm/mailman/gdcm-developers/?viewmonth=202108).

Hello @jnumingdeli, Thanks for confirming that this is indeed the problem identified in the gdcm mailing discussion, overflow. This issue will be closed when resolved in gdcm, so you will...

Hello @Gab-D-G, The issue is that you aren't creating an average image, you are creating a median image. When the number of inputs to the median computation is **even**: numpy...

@gdevenyi, this is a gray area between "bug" in ITK [code](https://github.com/InsightSoftwareConsortium/ITK/blob/23da3dfa79152648f3d38050ee147df47f41ce0a/Modules/Filtering/ImageStatistics/include/itkMedianProjectionImageFilter.h#L71-L77) and "bug" in ITK [documentation](https://github.com/InsightSoftwareConsortium/ITK/blob/23da3dfa79152648f3d38050ee147df47f41ce0a/Modules/Filtering/ImageStatistics/include/itkMedianProjectionImageFilter.h#L29-L47). Would you be willing to create a DOC pull request on this for ITK?...

MWE below. When `inPlace=False` returned type is CompositeTransform, when set to `True` it is Euler3DTransform. ``` import SimpleITK as sitk fixed_image = sitk.Image([4,4,4], sitk.sitkFloat32) moving_image = sitk.Image([4,4,4], sitk.sitkFloat32) transform =...

Confirmed the issue. I have never tried it with numpy arrays, as I either use tuple or list notation for these operations (these work in Python3). @haarburger just out of...