BigDataViewer Source Names

bigdataviewer
Tags: #<Tag:0x00007fb87a7b0f90>

#1

Hi @tpietzsch

I would like to control the names of the Bdv Sources.

However I could not figure out neither:

  • How to control the channel names when using “Plugins > Bdv > Export current image …”
  • How to change Source names afterwards, i.e. during loading. I only found a getName() method, but nothing for setName()

Any help is appreciated!

[EDIT]
I figured out below code, but that does not seem to change what is displayed at the top of the BigDataViewer window. Looks like in my case I’d need to change the ViewSetup name rather than the Channel name…

spimData.getSequenceDescription()
                .getViewSetups().get(  0  )
                .getChannel().setName( "AAA" );