flatironinstitute / neurosift

Browser-based NWB visualization and DANDI exploration
Apache License 2.0
39 stars 4 forks source link

Add rotation control to summary images #155

Open CodyCBakerPhD opened 2 months ago

CodyCBakerPhD commented 2 months ago

Splintered from #151

As in https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/f02db27e-82eb-41dd-865a-a08bb41491da/download/&dandisetId=000728&dandisetVersion=draft&tab=neurodata-item:/processing/ophys/SummaryImages|Images

it would be nice to be able to rotate/flip the image in ways to align it to, for instance, other views across files or other datasets to gain some perspective

This would be especially important in some cases like zebrafish (if https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/assets/8477f3df-2feb-4da8-bb82-364f58a3a8ec/download/&dandisetId=000350&dandisetVersion=0.221219.1506&tab=neurodata-item:/acquisition/TwoPhotonSeries|TwoPhotonSeries had calculated maximum intensity projections, for instance, which one could do and add in a derived dataset)

In this case the user might want to conventionally orient the summary image to match a given direction as seen, for example, in the publication figures