Skip to content

Add image processing + scale/scalebar extraction #16

@meson800

Description

@meson800

Let's actually add some of the image processing code to rushd! Ideally we want:

  1. Some simple linear image processing, such as loading scale bars, black balance, other linear scalings, recoloring, etc.
  2. Layout functions that create a grid of plots, with axis labels.

Of note, PIL still does not support (python-pillow/Pillow#1888) high bit rate images. This means we should probably use tifffile to do the loading to numpy arrays directly, so we don't lose high-bit rate images (either from the Keyence or other sources).

To load the Keyence metadata, the Keyence appends XML metadata to the end of tiff's it generates. We can read this, and match it up with the harcoded scale values to automatically detect capture metadata and be able to generate scale bars at a certain resolution.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions