Skip to content

Commit 75c4227

Browse files
committed
README.md: Add "Known Issues" section
As mentioned in #11, it would be nice to have a place to centralise known issues with the application.
1 parent 3e95064 commit 75c4227

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
## Table of Contents
99

1010
- [Installation](#installation)
11+
- [Known Issues](#known-issues)
1112
- [License](#license)
1213

1314
## Installation
@@ -16,6 +17,25 @@
1617
pip install histalign
1718
```
1819

20+
## Known Issues
21+
22+
### Seemingly grayscale images are not recognised
23+
24+
When opening an image directory for alignment, it can appear as though the application cannot recognise any of the images present even though you think they are grayscale. That is most likely due to the way the images were exported when acquired.
25+
26+
A simple way to check whether they are truly grayscale or RGB in disguise is to run `histalign info <PATH TO A SAMPLE IMAGE>`. This will print out information about the image in question, among which the number of channels should be available. If you see there is more than a single channel, you are most likely in one of two positions:
27+
28+
1. Your images are actually grayscale but are multichannel with all but one channel being all zeros.
29+
1. Your images are in fact RGB in disguise (as they appear grayscale in an image viewer) and a conversion is needed.
30+
31+
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).
32+
33+
### Volume generation fails on MacOS
34+
35+
It appears that volume generation can fail when run on MacOS (see [#11](https://github.com/DuguidLab/histalign/issues/11)). A workaround is to use a Linux machine to generate the volume if you've done the alignment on a Mac.
36+
37+
Note that the path to your images as used during alignment will need to be the same when switching over to Linux. For example, if your images came from a directory under `/foo/bar` on Mac, that path will need to be the same on the Linux machine.
38+
1939
## License
2040

2141
`histalign` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

0 commit comments

Comments
 (0)