/** * Updates the ViewSetups using the imageMetaDataCache * * @param data - the {@link SpimData} object that contains all {@link ViewSetup}s can could be potentially updated * @param forceUpdate - overwrite the data if it is already present */ public void updateXMLMetaData( final SpimData data, final boolean forceUpdate ) { updateXMLMetaData( data.getSequenceDescription().getViewSetupsOrdered(), forceUpdate ); }
/** * @param seqDesc the sequence description * @param t - the timepoint * @param c - the channel * @param a - the angle * @param i - the illumination * @param x - the tile * @return - the ViewId that fits to timepoint, angle, channel & illumination by ID (or null if it does not exist) */ public static ViewId getViewId( final SequenceDescription seqDesc, final TimePoint t, final Channel c, final Angle a, final Illumination i, final Tile x ) { final ViewSetup viewSetup = getViewSetup( seqDesc.getViewSetupsOrdered(), c, a, i, x ); if ( viewSetup == null ) return null; else return new ViewId( t.getId(), viewSetup.getId() ); }
if (resaveAsHDF5) final Map< Integer, ExportMipmapInfo > perSetupExportMipmapInfo = Resave_HDF5.proposeMipmaps( data.getSequenceDescription().getViewSetupsOrdered() ); final int firstviewSetupId = data.getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId(); Generic_Resave_HDF5.lastExportPath = String.join( File.separator, chosenPath.getAbsolutePath(), "dataset"); final Parameters params = Generic_Resave_HDF5.getParameters( perSetupExportMipmapInfo.get( firstviewSetupId ), true, true );
final int firstviewSetupId = data.getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId(); final ExportMipmapInfo autoMipmapSettings = perSetupExportMipmapInfo.get( firstviewSetupId );
final int firstviewSetupId = xml.getData().getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId(); final Parameters params = Generic_Resave_HDF5.getParameters( perSetupExportMipmapInfo.get( firstviewSetupId ), true, true );
for ( final ViewSetup v : data.getSequenceDescription().getViewSetupsOrdered() ) for ( final ViewSetup vs : data.getSequenceDescription().getViewSetupsOrdered() )
final SequenceDescription sd = spimData.getSequenceDescription(); for ( final ViewSetup vs : sd.getViewSetupsOrdered() ) for ( final ViewSetup vs : sd.getViewSetupsOrdered() )
int newTimepointId = Integer.MIN_VALUE; for( final ViewSetup vs : fusion.getSpimData().getSequenceDescription().getViewSetupsOrdered() )
final int firstviewSetupId = xml.getData().getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId(); ExportMipmapInfo autoMipmapSettings = perSetupExportMipmapInfo.get( firstviewSetupId );