[Vv] How can I pass a "patient mask" to clitkExtractLung?
Simon Rit
simon.rit at creatis.insa-lyon.fr
Mon Jan 9 11:04:16 CET 2012
Hi,
clitkExtractLung is currently only compiled for images with "short"
pixel type. I don't know if this is by design or for compilation speed
but you can uncomment line 44 "ADD_IMAGE_TYPE(Dim, float);" in
clitkExtractLungGenericFilter.txx to compile it also for float images
and give it a try.
Good luck!
Simon
On Mon, Jan 9, 2012 at 5:18 AM, 黄成 <huangcheng1987928 at gmail.com> wrote:
> Hi all,
>
> I'm using clitkExtractLung.exe to extract the lung from a CT image,
> and I run it using command line: "clitkExtractLung.exe -i myImage.nii"
> Then I get an error message:
>
> itk::ExceptionObject (00000000009EF4B0)
> Location: "Unknown"
> File: ..\..\..\Source\clitk\common\clitkImageToImageGenericFilterBase.cxx
> Line: 243
> Description: **Error** The filter <ExtractLung> is not available for 3D
> images with pixel=float and 1 component.
> The filter <ExtractLung> manages:
> Dim: 3, Type: short
>
> Since the help information of clitkExtractLung.exe tells me that a
> patient mask image is needed, I guess I should pass a patient mask image as
> an argument to it. However, I cannot figure out how to do this because there
> is no argument for "patient mask". How can I make this work?
>
> _______________________________________________
> vv mailing list
> vv at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/vv
>
More information about the vv
mailing list