Class MergeExample


  • public class MergeExample
    extends Object
    Author:
    Tobias Pietzsch
    • Constructor Detail

      • MergeExample

        public MergeExample()
    • Method Detail

      • mergeHdf5ViewsSetups

        public static void mergeHdf5ViewsSetups​(List<String> inputFilenames,
                                                List<mpicbg.spim.data.registration.ViewTransform> transforms,
                                                String outputXmlFilename)
                                         throws mpicbg.spim.data.SpimDataException
        Merge multiple HDF5 datasets, where each dataset contains the same timepoints but different views.
        Parameters:
        inputFilenames - xml file names for input datasets
        transforms - transforms to apply to each input dataset
        outputXmlFilename - xml filename into which to store the merged dataset. An HDF5 link master file with the same basename and extension ".h5" will be created that links into the source hdf5s.
        Throws:
        mpicbg.spim.data.SpimDataException
      • mergeHdf5ViewsTimepoints

        public static void mergeHdf5ViewsTimepoints​(List<String> inputFilenames,
                                                    String outputXmlFilename)
                                             throws mpicbg.spim.data.SpimDataException
        Append multiple HDF5 datasets, where each dataset contains the same setups but different timepoints.
        Parameters:
        inputFilenames - xml file names for input datasets
        outputXmlFilename - xml filename into which to store the merged dataset. An HDF5 link master file with the same basename and extension ".h5" will be created that links into the source hdf5s.
        Throws:
        mpicbg.spim.data.SpimDataException