Open loladidi opened 5 months ago
@loladidi hi! I don't think Elastix supports multichannel images. In your case, the image was likely treated as a 3D volume. This led to the channels being transformer using 3 independent warping fields, thus, the results.
There are two ways to handle multichannels images with Elastix:
你好!我不认为 Elastix 支持多通道图像。在您的案例中,图像可能被视为 3D 体积。这导致通道使用 3 个独立的翘曲场进行变压器,因此产生了结果。
有两种方法可以使用 Elastix 处理多通道图像:
- 转换为灰度并继续使用现有管道。
- 将样品分解为单独的通道,并直接使用 Elastix,如下所示(来自 Elastix 用户指南):
If the above two methods are used, the resulting image will be a grayscale image, but I want the final result to be a color image. Is it possible to use pyelastix to achieve this?
@loladidi I suggest looking into the second method closer. It is as close as it gets with elastix to the solution of your problem.
I tried to register with color images, but it got very strange results. Do you know the reason for this?