Skip to content

Conversation

@rsenft1
Copy link
Collaborator

@rsenft1 rsenft1 commented Nov 12, 2021

Fixes #310 by allowing visualization of image stacks depending on the mid-point of a particular object or image in z.
Changed classifier, image gallery, and image reading/tile fetching functions to allow 3D images to be read with a specific z plane depending on the midpoint of an object or image in z.

Tested w/ 2D (translocation) and 3D (monolayer) datasets.

This pull request is more up to date than #312 (I couldn't change this because a collaborator may need to use that specific version). Specifically, this PR fixes issues with Image Gallery that were present in #312. To my knowledge, there aren't further bugs that need squashing in this version.

rsenft1 and others added 13 commits September 29, 2021 11:57
…geviewer, prproperties, sortbin, trainingset, though current behavior is just to have the z level for the first object queried
…ow tiles will appear with object's center z, BUT then when doubleclicking, the full image will be at the first object's z
…ile, imagetools, properties, tilecollection

Rather than relying on having a Z coordinate, scripts now rely on being processed as 3D. Also cleaned up some code in line with David's suggestions.
Changed dbconnect, imagereader, imagetile, and imagetools to fix issues with fetching tiles in Image Gallery and 3D datasets
In imagereader.py, allow for image set z at middle value for that image.
In imagetile.py, Fixed double click issue where opening an image full-size from the image gallery caused a crash if the dataset was 3d (fixed by not grabbing object coordinates first) and passing if the obkey is -1.
Removed a stray print statement in dbconnect.py.
@rsenft1 rsenft1 marked this pull request as ready for review November 12, 2021 19:19
@bethac07 bethac07 merged commit 0c34953 into CellProfiler:master Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visualize data from stacks

2 participants