# Latest

**URL:** https://discourse.itk.org/latest.md?page=86

[Latest](https://discourse.itk.org/latest.md) · [Categories](https://discourse.itk.org/categories.md) · [Tags](https://discourse.itk.org/tags.md)

**Page:** 87

---

## [Data Augmentation of 3d medical images using SimpleITK](https://discourse.itk.org/t/data-augmentation-of-3d-medical-images-using-simpleitk/1935)

<div class="topic-metadata">

**Author:** [@jayant\_prakash](https://discourse.itk.org/u/jayant_prakash)\
**Replies:** 1\
**Last updated:** [June 2, 2019, 12:15am UTC](https://discourse.itk.org/t/data-augmentation-of-3d-medical-images-using-simpleitk/1935 "2019-06-02T00:15:18Z")

</div>

Hello everyone, I am new to this amazing library. I am working on classification of lymph nodes using deep learning, therefore, I need to do data augmentation of 3D ROIs (of shape 32X32X32) like 3d rotation, 3d translat…

---

## [Stop region grow with a stop point](https://discourse.itk.org/t/stop-region-grow-with-a-stop-point/1929)

<div class="topic-metadata">

**Author:** [@TaoH](https://discourse.itk.org/u/TaoH)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 1:38pm UTC](https://discourse.itk.org/t/stop-region-grow-with-a-stop-point/1929 "2019-05-31T13:38:51Z")

</div>

Hello everyone, I want to implement region grow with a stop point. When propagation region reaches the stop point, region grow is end. So how to implement it with itk? Best and thanks, Tao Han

---

## [itk doesn't work with c++17](https://discourse.itk.org/t/itk-doesnt-work-with-c-17/1911)

<div class="topic-metadata">

**Author:** [@eninyo](https://discourse.itk.org/u/eninyo)\
**Replies:** 3\
**Last updated:** [May 27, 2019, 2:04pm UTC](https://discourse.itk.org/t/itk-doesnt-work-with-c-17/1911 "2019-05-27T14:04:00Z")

</div>

hello, i’m using the itkImageAlgorithm H file and i get the following error: itkImageAlgorithm.h:193: error: C2143: syntax error: missing ‘,’ before ‘\<’ this is the code: /\*\* Unary functor just for static\_cast operat…

---

## [How to save the deformation field ?](https://discourse.itk.org/t/how-to-save-the-deformation-field/1910)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 4\
**Last updated:** [May 25, 2019, 11:47am UTC](https://discourse.itk.org/t/how-to-save-the-deformation-field/1910 "2019-05-25T11:47:26Z")

</div>

I am executing deformableregistration15.cxx I wonder how to save the deformation field? In which format should I save it? It didn’t happen with both mhd and mha formats.

---

## [ITK 5.0.0 is Coming](https://discourse.itk.org/t/itk-5-0-0-is-coming/1859)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 9\
**Last updated:** [May 25, 2019, 11:45am UTC](https://discourse.itk.org/t/itk-5-0-0-is-coming/1859 "2019-05-25T11:45:48Z")

</div>

Hi folks, ITK 5.0.0, is scheduled for the end of May; tagging is targeted for May 21st. Feature changes for 5.0.0, which have been reviewed and passed CI tests, can be merged until next Friday, May 17th. Then, only cri…

---

## [How to deal with HoughTransform2DLinesImageFilter GetLines() method in python](https://discourse.itk.org/t/how-to-deal-with-houghtransform2dlinesimagefilter-getlines-method-in-python/1861)

<div class="topic-metadata">

**Author:** [@nick](https://discourse.itk.org/u/nick)\
**Replies:** 24\
**Last updated:** [May 24, 2019, 1:37pm UTC](https://discourse.itk.org/t/how-to-deal-with-houghtransform2dlinesimagefilter-getlines-method-in-python/1861 "2019-05-24T13:37:16Z")

</div>

Dear All, I’m trying to use HoughTransform2DLinesImageFilter in python. However, I cannot understand how to use the output of the GetLines() method. AFAIU, the filter should return a list o the lines detected: how do …

---

## [ITK 5.0.0 alpha is coming soon!](https://discourse.itk.org/t/itk-5-0-0-alpha-is-coming-soon/819)

<div class="topic-metadata">

**Author:** [@fbudin](https://discourse.itk.org/u/fbudin)\
**Replies:** 19\
**Last updated:** [May 24, 2019, 1:31pm UTC](https://discourse.itk.org/t/itk-5-0-0-alpha-is-coming-soon/819 "2019-05-24T13:31:46Z")

</div>

Hello fellow ITK developers, We are planning to tag ITK 5.0.0 alpha later this week (around April 6th). Prior to this, there will be a freeze in the patches that are merged into ITK. This week, we will be careful to onl…

---

## [PhotometricInterpretation](https://discourse.itk.org/t/photometricinterpretation/1837)

<div class="topic-metadata">

**Author:** [@Dominik\_Szczerba](https://discourse.itk.org/u/Dominik_Szczerba)\
**Replies:** 8\
**Last updated:** [May 24, 2019, 10:01am UTC](https://discourse.itk.org/t/photometricinterpretation/1837 "2019-05-24T10:01:59Z")

</div>

Reading a compressed DICOM series I have an assertion failing at itkAssertInDebugAndIgnoreInReleaseMacro( pixeltype\_debug == pixeltype ); If I run in a Release mode (NDEBUG) I get my file read all right, I have no prob…

---

## [Support for ECG](https://discourse.itk.org/t/support-for-ecg/1909)

<div class="topic-metadata">

**Author:** [@zubair.khan](https://discourse.itk.org/u/zubair.khan)\
**Replies:** 0\
**Last updated:** [May 24, 2019, 7:07am UTC](https://discourse.itk.org/t/support-for-ecg/1909 "2019-05-24T07:07:12Z")

</div>

Hi, Does Dcmtk support ECG? Does anyone have any examples to show how we are supposed to add data to plot the ECG?

---

## [Unable to keep image origin and orientation with Python ITK](https://discourse.itk.org/t/unable-to-keep-image-origin-and-orientation-with-python-itk/1907)

<div class="topic-metadata">

**Author:** [@pfreire](https://discourse.itk.org/u/pfreire)\
**Replies:** 4\
**Last updated:** [May 23, 2019, 6:22pm UTC](https://discourse.itk.org/t/unable-to-keep-image-origin-and-orientation-with-python-itk/1907 "2019-05-23T18:22:15Z")

</div>

Hello, everyone. I’m trying to perform a very simple operation on an image using Python. I just want to read it as a NumPy array, change some values and then write it back as a new image. The problem is: when I write it…

---

## [ITKv5 Streaming/ImageSinc Impact](https://discourse.itk.org/t/itkv5-streaming-imagesinc-impact/1903)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 8\
**Last updated:** [May 21, 2019, 6:02pm UTC](https://discourse.itk.org/t/itkv5-streaming-imagesinc-impact/1903 "2019-05-21T18:02:40Z")

</div>

This sounds like it is related to my recent changes. Please let me know if there is anything I can do to help with the problem you have encountered.

---

## [erosion does not erode the image. It returns the same binary image as the input](https://discourse.itk.org/t/erosion-does-not-erode-the-image-it-returns-the-same-binary-image-as-the-input/1901)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.itk.org/u/zandarina)\
**Replies:** 6\
**Last updated:** [May 21, 2019, 3:59pm UTC](https://discourse.itk.org/t/erosion-does-not-erode-the-image-it-returns-the-same-binary-image-as-the-input/1901 "2019-05-21T15:59:11Z")

</div>

Hi I am writing because i am trying to erode the image obtained after a threshold to avoid the leakage between 2 objects. Like the example of two coins merged in one and the erosion splits them into two coins. But my p…

---

## [canny segmentation level set](https://discourse.itk.org/t/canny-segmentation-level-set/1896)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.itk.org/u/Marco_Festugato)\
**Replies:** 7\
**Last updated:** [May 21, 2019, 6:20am UTC](https://discourse.itk.org/t/canny-segmentation-level-set/1896 "2019-05-21T06:20:32Z")

</div>

hi guys, thank u in advance for reading this. Can I use the Canny Edge level set to refine this segmentation I obtained using a simple binary thresholding? I want to delete all those little points and keep only the big …

---

## [Error in calling SpeedFunctionToPathFilter() in python interfaces](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848)

<div class="topic-metadata">

**Author:** [@jaylee](https://discourse.itk.org/u/jaylee)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 4:34am UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848 "2019-05-21T04:34:37Z")

</div>

Hi, all I have tried to call the function which is vessel centerline function ‘SpeedFunctionToPathFilter()’ with itk python interfaces, but dump error occurred when it was called. Would you mind to tell how correct or …

---

## ["No imageIO registered" - error message in python ITK](https://discourse.itk.org/t/no-imageio-registered-error-message-in-python-itk/1894)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 1\
**Last updated:** [May 21, 2019, 4:31am UTC](https://discourse.itk.org/t/no-imageio-registered-error-message-in-python-itk/1894 "2019-05-21T04:31:49Z")

</div>

I just tried using ITK Python from the link below I installed all requirements and i tried simulating the following code import itkConfig import itkExtras itkConfig.ProgressCallback = itkExtras.simple\_progress\_cal…

---

## [Default BackgroundValue in erode/dilate filters](https://discourse.itk.org/t/default-backgroundvalue-in-erode-dilate-filters/1876)

<div class="topic-metadata">

**Author:** [@alkamid](https://discourse.itk.org/u/alkamid)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 4:08am UTC](https://discourse.itk.org/t/default-backgroundvalue-in-erode-dilate-filters/1876 "2019-05-21T04:08:04Z")

</div>

I am trying to erode a binary image using the Pythonic interface (using ITK 5.0 rc2). From BinaryErodeImageFilter’s documentation: The eroded pixels will receive the BackgroundValue (defaults to 0). This doesn’t see…

---

## [dimension images](https://discourse.itk.org/t/dimension-images/1890)

<div class="topic-metadata">

**Author:** [@safa](https://discourse.itk.org/u/safa)\
**Replies:** 2\
**Last updated:** [May 18, 2019, 3:52pm UTC](https://discourse.itk.org/t/dimension-images/1890 "2019-05-18T15:52:20Z")

</div>

i can’t upload the segmentation image with the main image any solution please to match the segmentation image with the main image !!!

---

## [module 'SimpleITK' has no attribute 'LabelSetDilateImageFilter' despite using version 1.2.0](https://discourse.itk.org/t/module-simpleitk-has-no-attribute-labelsetdilateimagefilter-despite-using-version-1-2-0/1880)

<div class="topic-metadata">

**Author:** [@abertelsen](https://discourse.itk.org/u/abertelsen)\
**Replies:** 4\
**Last updated:** [May 16, 2019, 9:18am UTC](https://discourse.itk.org/t/module-simpleitk-has-no-attribute-labelsetdilateimagefilter-despite-using-version-1-2-0/1880 "2019-05-16T09:18:23Z")

</div>

Hello everyone, First of all, greeting to all of you as this is my first question on ITK’s Discourse. What I wanted to ask is the following: I want to use the LabelSetDilateImageFilter class in Python (version 3.7.2) w…

---

## [ITK with DCMTK building error](https://discourse.itk.org/t/itk-with-dcmtk-building-error/593)

<div class="topic-metadata">

**Author:** [@tim-evain](https://discourse.itk.org/u/tim-evain)\
**Replies:** 26\
**Last updated:** [May 16, 2019, 9:00am UTC](https://discourse.itk.org/t/itk-with-dcmtk-building-error/593 "2019-05-16T09:00:38Z")

</div>

Hi everyone, I’m currently trying to build the latest release with DCMTK+ICU. Compilation fails due to the following error: \[…\]/ITK\_4-13/Modules/ThirdParty/DCMTK/ITKDCMTK\_ExtProject/ofstd/libsrc/ofchrenc.cc:58:10: fat…

---

## [MRFImageFilter classification image](https://discourse.itk.org/t/mrfimagefilter-classification-image/1815)

<div class="topic-metadata">

**Author:** [@Courtney\_Ambrozic](https://discourse.itk.org/u/Courtney_Ambrozic)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 9:44pm UTC](https://discourse.itk.org/t/mrfimagefilter-classification-image/1815 "2019-05-15T21:44:29Z")

</div>

Hello, I’m following up to a question I posted awhile back, but never received a response about. I hope I can simplify my question in order to get some feedback. I’m playing around with the MRFImageFilter and am confu…

---

## [link error (LNK2019)](https://discourse.itk.org/t/link-error-lnk2019/1865)

<div class="topic-metadata">

**Author:** [@eninyo](https://discourse.itk.org/u/eninyo)\
**Replies:** 2\
**Last updated:** [May 14, 2019, 5:06pm UTC](https://discourse.itk.org/t/link-error-lnk2019/1865 "2019-05-14T17:06:21Z")

</div>

hi, i get the following error: ofstd.lib(ofstd.obj):-1: error: LNK2019: unresolved external symbol NetWkstaUserGetInfo referenced in function “public: static class OFString \_\_cdecl OFStandard::getUserName(void)” (?getU…

---

## [\[fixed\]How to read raw data using simpleitk?](https://discourse.itk.org/t/fixed-how-to-read-raw-data-using-simpleitk/1858)

<div class="topic-metadata">

**Author:** [@hubutui](https://discourse.itk.org/u/hubutui)\
**Replies:** 2\
**Last updated:** [May 15, 2019, 8:32am UTC](https://discourse.itk.org/t/fixed-how-to-read-raw-data-using-simpleitk/1858 "2019-05-15T08:32:03Z")

</div>

Hi, I’m trying to read an image without meta header. I’m told that I could use ImageJ/Fiji to open the image by “File menu \> import \> Raw”, and set Image type: 16-bit Unsigned Width: 2048 pixels Height: 2048 pixels …

---

## [ImageFileWriter crashes when writing MHD file to long absolute path](https://discourse.itk.org/t/imagefilewriter-crashes-when-writing-mhd-file-to-long-absolute-path/1856)

<div class="topic-metadata">

**Author:** [@lukas](https://discourse.itk.org/u/lukas)\
**Replies:** 7\
**Last updated:** [May 14, 2019, 10:00am UTC](https://discourse.itk.org/t/imagefilewriter-crashes-when-writing-mhd-file-to-long-absolute-path/1856 "2019-05-14T10:00:58Z")

</div>

Hi all, I have encountered a problem with the itk::ImageFileWriter when writing mhd files. When the absolute path exceeds 263 characters, the program crashes with a segfault in the UnRegister method of the itkSmartPoin…

---

## [Computation time does not scale with SetMetricSamplingPercentage setting in ITK V4](https://discourse.itk.org/t/computation-time-does-not-scale-with-setmetricsamplingpercentage-setting-in-itk-v4/1798)

<div class="topic-metadata">

**Author:** [@eewujian](https://discourse.itk.org/u/eewujian)\
**Replies:** 10\
**Last updated:** [May 13, 2019, 2:35pm UTC](https://discourse.itk.org/t/computation-time-does-not-scale-with-setmetricsamplingpercentage-setting-in-itk-v4/1798 "2019-05-13T14:35:07Z")

</div>

I have been away from ITK community for a few years and recently I was trying to adapt my old code to the latest release. I was running into a few problems and I don’t know if those are the known issues with the new rele…

---

## [Affine registration in itk](https://discourse.itk.org/t/affine-registration-in-itk/1868)

<div class="topic-metadata">

**Author:** [@c.spanakis83](https://discourse.itk.org/u/c.spanakis83)\
**Replies:** 1\
**Last updated:** [May 13, 2019, 1:32pm UTC](https://discourse.itk.org/t/affine-registration-in-itk/1868 "2019-05-13T13:32:24Z")

</div>

Hello. I want to experiment with affine registration in ITK. In the itk::AffineTransform\< TParametersValueType, NDimensions \> Class Template, it is possible to specify the rotation center (which, by default, is the origi…

---

## [ITK 4.13.2 - NUmerics traits](https://discourse.itk.org/t/itk-4-13-2-numerics-traits/1862)

<div class="topic-metadata">

**Author:** [@pedromorais17](https://discourse.itk.org/u/pedromorais17)\
**Replies:** 1\
**Last updated:** [May 12, 2019, 2:44pm UTC](https://discourse.itk.org/t/itk-4-13-2-numerics-traits/1862 "2019-05-12T14:44:18Z")

</div>

Hi all, While compiling a simple ITK example from the ITK website, I’m receving a set of error messages related to itk::NumericTraits. Example: member “itk::NumericTraits::One” may not be initialized Although this no…

---

## [Any way to test .wrap files without compiling?](https://discourse.itk.org/t/any-way-to-test-wrap-files-without-compiling/1841)

<div class="topic-metadata">

**Author:** [@Ujhik](https://discourse.itk.org/u/Ujhik)\
**Replies:** 3\
**Last updated:** [May 10, 2019, 9:40pm UTC](https://discourse.itk.org/t/any-way-to-test-wrap-files-without-compiling/1841 "2019-05-10T21:40:01Z")

</div>

Compiling is a lot of time even compiling only the modified module, so detecting an error in a .wrap file when trying to change python wrappers is a pain. Is there any way to test .wrap files without compiling? If not,…

---

## [Python filter example](https://discourse.itk.org/t/python-filter-example/1853)

<div class="topic-metadata">

**Author:** [@finetjul](https://discourse.itk.org/u/finetjul)\
**Replies:** 3\
**Last updated:** [May 9, 2019, 3:44pm UTC](https://discourse.itk.org/t/python-filter-example/1853 "2019-05-09T15:44:15Z")

</div>

Hi, I would like to write an ITK filter in Python. Is there an example somewhere ? Thanks, Julien.

---

## [Particle swarm optimization excet](https://discourse.itk.org/t/particle-swarm-optimization-excet/1850)

<div class="topic-metadata">

**Author:** [@c.spanakis83](https://discourse.itk.org/u/c.spanakis83)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 2:17pm UTC](https://discourse.itk.org/t/particle-swarm-optimization-excet/1850 "2019-05-09T14:17:45Z")

</div>

Hello. I want to use Particle Swarm Optimization (PSO) for Affine image registration. As you see below, I initialized PSO code optimizer-\>SetInertiaCoefficient(0.8); optimizer-\>SetMaximalNumberOfIterations(1000); optimi…

---

## [SimpleITK memory access violation when using large images.](https://discourse.itk.org/t/simpleitk-memory-access-violation-when-using-large-images/1845)

<div class="topic-metadata">

**Author:** [@mattias](https://discourse.itk.org/u/mattias)\
**Replies:** 12\
**Last updated:** [May 9, 2019, 1:51pm UTC](https://discourse.itk.org/t/simpleitk-memory-access-violation-when-using-large-images/1845 "2019-05-09T13:51:50Z")

</div>

Not really sure if this is a beginner question, but at least it’s my first question. I’m having problems when using newer versions of SimpleITK with relatively large images (500M+ voxels), it causes memory access violati…

[Previous page](https://discourse.itk.org/latest.md?page=85)

[Next page](https://discourse.itk.org/latest.md?page=87)
