Hello Folks, I’m searching for how to convert my 3D data to grayscale. I can’t find how on the documentation. Thanks in advance.
ConvertRGBImageToGrayscaleImage example is the first hit for Google search
itk rgb to grayscale.
Thanks for the answer, but does it work as well for 3D
Yes, it should work just as well for 3D or other nD images.
Unfortunately, this does not work on my 3D data.
Did you change
Dimension = 2 into
Dimension = 3? If so, what is the problem?
It works. thanks a lot.