+To find out which situation you are in, simple open the image in ImageJ and split the channels (`Image > Color > Split Channels`). If there is more than one channel with pixel values other than zero, you have RGB images. If only a single channel have non-zero values, you have truly grayscale images. This latter case is easy to fix using the `histalign split --on C <PATH TO YOUR IMAGE>` command which will split each channel of your image into a separate file. You can then only align the non-zero channel. If you have RGB images, you can either convert them with ImageJ (slowest but most accurate), or use the `histalign transform -t rgb2gray <PATH TO YOUR IMAGE>` command (most convenient but slightly worse results than ImageJ).
0 commit comments