# \#mask

**URL:** https://discourse.itk.org/tag/mask/42.md

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

---

## [Remove Noisy Objects](https://discourse.itk.org/t/remove-noisy-objects/5492)

<div class="topic-metadata">

**Author:** [@cristinamontserrat](https://discourse.itk.org/u/cristinamontserrat)\
**Replies:** 1\
**Last updated:** [November 16, 2022, 3:12pm UTC](https://discourse.itk.org/t/remove-noisy-objects/5492 "2022-11-16T15:12:28Z")

</div>

Hi! I am trying to remove labels from Label Map, which belong to noisy objects. For doing that, I have created the following code: ITKImgLabelType2D::Pointer RemoveNoisyObjects( const ITKImgLabelType2D::Pointer& imgIn,…

---

## [Remove multiple labels in 1 bone and have only 1 label per bone](https://discourse.itk.org/t/remove-multiple-labels-in-1-bone-and-have-only-1-label-per-bone/5186)

<div class="topic-metadata">

**Author:** [@Vilma\_Bozgo](https://discourse.itk.org/u/Vilma_Bozgo)\
**Replies:** 5\
**Last updated:** [July 15, 2022, 2:14pm UTC](https://discourse.itk.org/t/remove-multiple-labels-in-1-bone-and-have-only-1-label-per-bone/5186 "2022-07-15T14:14:29Z")

</div>

Hello! I have a multilabel skeleton mask for MRI images of the skeleton. But for the same bone I sometimes get different labels, like in the image attached where the first bone gets a red label and a green label. But in …

---

## [Simple region-growing segmentation of the small intestine is terrible, using many seed points and 3D T2 MRI data](https://discourse.itk.org/t/simple-region-growing-segmentation-of-the-small-intestine-is-terrible-using-many-seed-points-and-3d-t2-mri-data/4942)

<div class="topic-metadata">

**Author:** [@aliabidi](https://discourse.itk.org/u/aliabidi)\
**Replies:** 8\
**Last updated:** [April 28, 2022, 4:55pm UTC](https://discourse.itk.org/t/simple-region-growing-segmentation-of-the-small-intestine-is-terrible-using-many-seed-points-and-3d-t2-mri-data/4942 "2022-04-28T16:55:15Z")

</div>

I am currently trying to apply region growing to 3D T2 MRI scans which I have been given, to segment the end of the small intenstine (i.e. the terminal ileum). I am using several features from SimpleITK. The problem is, …

---

## [Apply 3D mask to 4D image - itkSliceBySliceImageFilter](https://discourse.itk.org/t/apply-3d-mask-to-4d-image-itkslicebysliceimagefilter/2694)

<div class="topic-metadata">

**Author:** [@javierjuan](https://discourse.itk.org/u/javierjuan)\
**Replies:** 1\
**Last updated:** [February 10, 2020, 3:35pm UTC](https://discourse.itk.org/t/apply-3d-mask-to-4d-image-itkslicebysliceimagefilter/2694 "2020-02-10T15:35:14Z")

</div>

Hello, I am trying to mask a 4D image with a 3D mask with the itkSliceBySliceImageFilter. My piece of code is: using SliceBySliceImageFilterType = itk::SliceBySliceImageFilter\<ImageType, ImageType\>; typename SliceBySli…

---

## [How to apply a .vtk file as mask to my 3d Image](https://discourse.itk.org/t/how-to-apply-a-vtk-file-as-mask-to-my-3d-image/1717)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.itk.org/u/siaeleni)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 1:45pm UTC](https://discourse.itk.org/t/how-to-apply-a-vtk-file-as-mask-to-my-3d-image/1717 "2019-03-29T13:45:09Z")

</div>

Hello, I have a .vtk model that I have created and I want to apply that as a mask to my 3d Image. Do you have any idea how can I approach that? Thanks, Eleni

---

## [Filter DICOM images with a 3d vtk model](https://discourse.itk.org/t/filter-dicom-images-with-a-3d-vtk-model/1662)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.itk.org/u/siaeleni)\
**Replies:** 1\
**Last updated:** [March 13, 2019, 6:28pm UTC](https://discourse.itk.org/t/filter-dicom-images-with-a-3d-vtk-model/1662 "2019-03-13T18:28:17Z")

</div>

Hello all, I would like to filter my dicom files using vtk model. Is that possible? If not is there any other workaround? Thanks a lot, Helen

---

## [Which Interpolator to Resample Image and its segmentation Mask](https://discourse.itk.org/t/which-interpolator-to-resample-image-and-its-segmentation-mask/689)

<div class="topic-metadata">

**Author:** [@Jsphine](https://discourse.itk.org/u/Jsphine)\
**Replies:** 4\
**Last updated:** [February 20, 2018, 3:12pm UTC](https://discourse.itk.org/t/which-interpolator-to-resample-image-and-its-segmentation-mask/689 "2018-02-20T15:12:44Z")

</div>

Dear community, I have a set of CT images and their masks (segmentations). What I want to do is to rotate/resample them without losing the correspondence between the image and the mask. Using the LinearInterpolator yie…
