I have tried to use sitk::VectorConfidenceConnected with sitk::Image retrieved from a dicom images:
sitk::Image imgTemp(img);
....
....
img = sitk::VectorConfidenceConnected(sitk::Cast(imgTemp, sitk::PixelIDValueEnum::sitkComplexFloat32),
seed, 3, 3, 1, 255);
But after I used all kind of sitk::PixelIDValueEnum, I got the following error:
sitk::ERROR: Pixel type: complex of 32-bit float is not supported in 3D byclass itk::simple::VectorConfidenceConnectedImageFilter
My question is, there any way to use this filter on DICOM images ?