Skip to content

Releases: CielAl/torch-staintools

V1.0.4 Release

12 Jan 11:43
c696fde
Compare
Choose a tag to compare

(1) Fix an issue such that the augmentation may draw out-of-intended-boundary noise for concentration augmentation.

(2) Add optional least square solver (torch.linalg.lstsq) for concentration computation (concentration_method='ls', besides the existing 'ista' and 'cd' options) when dealing with huge number of small image inputs (e.g., batches of Nx3x256x256 input) on-the-fly. Note that while 'ls' is faster in such scenario, it does not have sparse constraints, and it may fail on GPU if the height/width of image is too large regardless of batch size, due to the limitation of torch.linalg.lstsq.

(3) Readme and demo update.

V1.0.3 Release

03 Jan 09:58
58e2832
Compare
Choose a tag to compare
  • optional tissue masking for reinhard (statistics computation within tissue regions).
  • unittest updates.

V1.0.2 Release

02 Jan 01:58
Compare
Choose a tag to compare

Changelog:

  • Optional stain matrices caching for both Normalizer and Augmentor.
  • Add unit testing.
  • Add documentation.

Installation from PyPI:

pip install torch-staintools

v0.0.4

30 Dec 07:26
Compare
Choose a tag to compare
v0.0.4 Pre-release
Pre-release

What's new

  • add stain augmentation (macenko/vahadane)
  • add the support of stain matrix caching to avoid recomputation (currently in augmentors only). Cached can be dumped/loaded to/from local file system for future reuses.