-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to use ITKMorphologicalContourInterpolation with two slices #118
Comments
I already answered it here:
|
I think so, but I dont know what functions or class can I use to code about inserting the slices as the first and last. |
@dzenanz ,
![I40_2](https://private-user-images.githubusercontent.com/67948065/309615372-604f25f1-62e8-4e1e-890c-148d72f00a0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwODg5MjAsIm5iZiI6MTcyNjA4ODYyMCwicGF0aCI6Ii82Nzk0ODA2NS8zMDk2MTUzNzItNjA0ZjI1ZjEtNjJlOC00ZTFlLTg5MGMtMTQ4ZDcyZjAwYTBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDIxMDM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmY2EzMjJjMGY0ODBmN2E0MzM5MmEyODk0MzlmZDU0NjBhY2Y1ODNiYzNhNDU4ZjI0YTVjNzBiMGRkYzYyYzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Mfn8NGxFi1900-9zLxfX8nSpWDF1JBD7KQSCKL-tBrk)
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:
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.
The text was updated successfully, but these errors were encountered: