Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdvancedKappaStatistic metric not installed #32

Open
crayonxx opened this issue Nov 9, 2020 · 2 comments
Open

AdvancedKappaStatistic metric not installed #32

crayonxx opened this issue Nov 9, 2020 · 2 comments

Comments

@crayonxx
Copy link

crayonxx commented Nov 9, 2020

I want to perform multi-metric registration, which register two CT data sets with MI and simultaneously register the corresponding segments (binary images) with the kappa statistic. Although I did not pass the segmentation node to Elastix, there seemed some problems with the configuration. The error log is shown below.
`Error:
AdvancedKappaStatistic(index 3) - This component is not installed!
ERROR: error occurred while creating Metric 1.

itk::ExceptionObject (00000000001BF480)
Location: "unknown"
File: D:\D\P\S-0-E-b\SlicerElastix-build\elastix\Core\Kernel\elxElastixMain.cxx
Line: 822
Description: itk::ERROR: ElastixMain(000000000377DF10): The following component could not be created: AdvancedKappaStatistic

ERROR:
One or more components could not be created.
Errors occurred!`
Hope for some ideas. Thanks a lot.

@lassoan
Copy link
Owner

lassoan commented Nov 9, 2020

We build Elastix that is bundled with the extension using default options. Usually what is not included by default is experimental or problematic. I would recommend to get an Elastix release that is built with this feature enabled (maybe the binaries that you can get from Elastix website are like that) and set in Slicer to use that (in Advanced section). If you find that this metric works better than others then let me know and I will check if it is easy to enable it in Slicer's Elastix build.

@crayonxx
Copy link
Author

crayonxx commented Dec 8, 2020

Thanks for your advice. As indicated by Elastix, this metric was OFF by default before elastix 5.0.1 (https://github.com/SuperElastix/elastix/blob/develop/Components/Metrics/AdvancedKappaStatistic/CMakeLists.txt). We have tested this feature following your advice and found it works well in conjunction with the MI metric. Thank you very much again.

Crayon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants