# Does anyone know where to download the file "GraphCut3D/ImageMultiLabelGridCutFilter.h".

**URL:** <https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353>\
**Category:** Community\
**Tags:** dicom\
**Created:** [August 24, 2021, 9:25am UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353 "2021-08-24T09:25:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [August 24, 2021, 9:25am UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/1 "2021-08-24T09:25:30Z")

</div>

Whe I download and build the project “”, I can not find the file “AlphaExpansion\_3D\_6C\_MT.h”, where include in “GraphCut3D/ImageMultiLabelGridCutFilter.h”  
like this:

 ![图片](https://discourse.itk.org/uploads/default/original/2X/2/28e4946266e67c56ebfbb68abcb47c09511cd5dc.png)

can anyone give me a websit to download this file.

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [August 24, 2021, 1:17pm UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/3 "2021-08-24T13:17:56Z")

</div>

Maybe [here](https://github.com/KiranPrakash/medical-imaging-segmentation-evaluation/blob/0801fe9b4a251a393522f4c71f6c0b0387aa90e8/GridCutSolver/include/AlphaExpansion/AlphaExpansion_3D_6C_MT.h) or [here](https://github.com/KiranPrakash/medical-image-segmentation/blob/bd1ead39a5a8cab6a6c54c5c46c18b8e660349e5/source/include/AlphaExpansion/AlphaExpansion_3D_6C_MT.h)?

---

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [August 25, 2021, 5:32am UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/6 "2021-08-25T05:32:48Z")

</div>

Thanks! do you how to make backgroundmask,foregroundmask,multilabelmask for 3D GraphCut algorithm。Now，I want to learn GraphCut algorithm applying in medical

---

<div class="post-metadata">

**Author:** ![jhlegarreta](https://discourse.itk.org/user_avatar/discourse.itk.org/jhlegarreta/32/476_2.png) [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Post date:** [August 25, 2021, 1:42pm UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/7 "2021-08-25T13:42:02Z")

</div>

Here are some resources concerning graph cuts and related methods (including how to select the appropriate seeds or masks) in ITK:

> **[GitHub - InsightSoftwareConsortium/ITKGrowCut: ITKGrowCut is a remote module...](https://github.com/InsightSoftwareConsortium/ITKGrowCut)**
>
> ITKGrowCut is a remote module for ITK. It segments a 3D image from user-provided foreground and background seeds. - GitHub - InsightSoftwareConsortium/ITKGrowCut: ITKGrowCut is a remote module for ...

Some earlier works:

> **[GitHub - Besler/ITKGraphCutSegmentation: An ITK implementation of the...](https://github.com/Besler/ITKGraphCutSegmentation)**
>
> An ITK implementation of the GraphCut framework. See 'Graph cuts and efficient ND image segmentation' by Boykov and Funka-Lea and 'Interactive graph cuts for optimal boundary & regi...

> **[GitHub - daviddoria/ImageGraphCutSegmentation: This is a non-interactive...](https://github.com/daviddoria/ImageGraphCutSegmentation)**
>
> This is a non-interactive version of image graph-cut segmentation with an ITK interface. - GitHub - daviddoria/ImageGraphCutSegmentation: This is a non-interactive version of image graph-cut segmen...

[https://www.insight-journal.org/browse/publication/306](https://www.insight-journal.org/browse/publication/306)

Otherwise, you may find useful resources for learning under the `Resources` section in [itk.org](http://itk.org)

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [August 25, 2021, 1:51pm UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/8 "2021-08-25T13:51:33Z")

</div>

I highly recommend [ITKGrowCut](https://github.com/InsightSoftwareConsortium/ITKGrowCut). It is being actively developed, and has been long in use by Slicer.

---

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [August 26, 2021, 2:35am UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/9 "2021-08-26T02:35:55Z")

</div>

@dzenanz @jhlegarreta Thanks for your recommendations and resources, I hope i can help anyone some day in this forum.

---

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [September 13, 2021, 10:36am UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/11 "2021-09-13T10:36:42Z")

</div>

Hi! I have download the code and compiled the code, But I did not know how to use the the demo, especially how to make" image.mhd multiLabelMask.mhd backgroundMask.mhd" parameters!  
Can you give me a demo to make the parameters.

 ![image](https://discourse.itk.org/uploads/default/original/2X/a/a7dad293af33d67d25d71cf7bc7e547d6fc1d879.png)

![image](https://discourse.itk.org/uploads/default/original/2X/7/76083b5847763209e188f201b12c6f1cc2ca7896.png)

---

<div class="post-metadata">

**Author:** ![jhlegarreta](https://discourse.itk.org/user_avatar/discourse.itk.org/jhlegarreta/32/476_2.png) [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Post date:** [September 13, 2021, 1:21pm UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/12 "2021-09-13T13:21:20Z")

</div>

Those correspond to the input data used by the example. You can find them in the [data folder of the repository](https://github.com/Besler/ITKGraphCutSegmentation/tree/master/data/test).

---

<div class="post-metadata">

**Author:** ![wulicheng](https://discourse.itk.org/user_avatar/discourse.itk.org/wulicheng/32/1390_2.png) [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Post date:** [September 14, 2021, 1:28am UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/13 "2021-09-14T01:28:01Z")

</div>

Yes ,I know the data and test it, but I do not know how to make the data,like multiLabelMask.mhd espacially!

---

<div class="post-metadata">

**Author:** ![jhlegarreta](https://discourse.itk.org/user_avatar/discourse.itk.org/jhlegarreta/32/476_2.png) [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Post date:** [September 15, 2021, 6:35pm UTC](https://discourse.itk.org/t/does-anyone-know-where-to-download-the-file-graphcut3d-imagemultilabelgridcutfilter-h/4353/14 "2021-09-15T18:35:03Z")

</div>

I have not opened the file, but from the context it is a multilabel (segmentation) file: each pixel in the original image has been assigned a label (essentially an integer number) meaning that it belongs to a structure of interest based on some property and (segmentation) method.

Take into account that segmentation is a very problem-specific (image modality, structure you are trying to segment, etc.) task, so what is in the SW Guide are explanations on the foundations of the methods available in ITK and general guidelines.

You may want to about the segmentation methods available in the ITK SW Guide (chapter 4):  
[https://itk.org/ItkSoftwareGuide.pdf](https://itk.org/ItkSoftwareGuide.pdf)

The examples in the ITK SW Guide are hosted as self-contained, ready-to-use scripts in the [ITK code base](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Examples).
