vanvalenlab / kiosk-frontend

DeepCell web application built using NodeJS, Express, React, and Webpack.
Other
1 stars 0 forks source link

Generalize dimension order options for more models #202

Open tddough98 opened 2 years ago

tddough98 commented 2 years ago

As mentioned in #201, both the mesmer and segmentation pipelines support flexible dimension ordering in slightly different ways. For mesmer, we get the dimension order from the redis consumer, and for segmentation, we select the dimension order from a dropdown menu.

When we add dimension order options for more models, we should standardize and generalize the approach to recording and forwarding the dimension order to DeepCell Label so that results can be properly loaded and visualized.

tddough98 commented 2 years ago

It also seems that mesmer dimension orders put Y before X while the segmentation dimensions put X before Y (i.e. CYX is the order for mesmer, while CXY is the option in the segmentation dropdown).

I'm not sure if this is being improperly ignored and resulting in unexpected rotations, or if there's a difference in dimension order convention happening.