Skip to content

How to use ITKMorphologicalContourInterpolation with two slices #118

@9Cirno9

Description

@9Cirno9

@dzenanz
I am sorry to bother you, may I seek expertise on this matter?
Now I have some segmented slices, the type of them is vtkSmartPointer< vtkImageData >
such as:
I40_2
For example, I have two slices in this type, named image1 and image2.Now I want to make image1 as the first slices and image2 as the last slices, put them into ITKMorphologicalContourInterpolation. But the MCI filter requires the type of "itk::Image< unsigned char, 3 >".
How can I transform these two "vtkSmartPointer" images to "itk::Image< unsigned char, 3 >", what functions or class can I use?
Thanks for your Suggestions two months before, I had posted this question on the forum,but I haven't heard back yet. If its not too much trouble, would you mind sharing your thoughts on this issue?
On behalf of my teachers and schoolmates, I sincerely appreciate your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions