allen-cell-animated / colorizer-data

example scripts and utilities for preparing data for the time series colorizer app
Other
1 stars 0 forks source link

Reduce data script complexity #44

Open ShrimpCryptid opened 7 months ago

ShrimpCryptid commented 7 months ago

We could make a unified API call that hides most of the details of the writer. That way, scientists would only need to pass in a CSV and the column names for the track, centroids, bounds, etc. data and a list of FeatureInfo objects for their features, plus any metadata.

One potential wrinkle would be needing to handle different kinds of image transformations, since different projects want to flatten their 3D z-stack images differently. This could be handled through a callback, maybe, that takes a URL/filepath and returns the 2D segmentations.

This would make it much easier to start working with colorizer data!