Class Mosaicker


  • public class Mosaicker
    extends Object
    A class doing the mosaic operation on top of a List of MosaicElements.
    Author:
    Simone Giannecchini, GeoSolutions SAS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MosaicElement createMosaic()
      Once we reach this method it means that we have loaded all the images which were intersecting the requested envelope.
      MosaicElement createMosaic​(boolean useFinalImageLayout)
      Once we reach this method it means that we have loaded all the images which were intersecting the requested envelope.
      MosaicElement createMosaic​(boolean useFinalImageLayout, boolean skipSingleElementOptimization)
      Once we reach this method it means that we have loaded all the images which were intersecting the requested envelope.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createMosaic

        public MosaicElement createMosaic()
                                   throws IOException
        Once we reach this method it means that we have loaded all the images which were intersecting the requested envelope. Next step is to create the final mosaic image and cropping it to the exact requested envelope.
        Returns:
        A MosaicElement}.
        Throws:
        IOException
      • createMosaic

        public MosaicElement createMosaic​(boolean useFinalImageLayout)
                                   throws IOException
        Once we reach this method it means that we have loaded all the images which were intersecting the requested envelope. Next step is to create the final mosaic image and cropping it to the exact requested envelope.
        Parameters:
        useFinalImageLayout - whether the final image layout requested should be used. if false then a default layout will be used. useful if your mosaic layout doesn't match the final layout. default layout will be whatever layout is necessary to do the mosaic op
        Returns:
        A MosaicElement}.
        Throws:
        IOException
      • createMosaic

        public MosaicElement createMosaic​(boolean useFinalImageLayout,
                                          boolean skipSingleElementOptimization)
                                   throws IOException
        Once we reach this method it means that we have loaded all the images which were intersecting the requested envelope. Next step is to create the final mosaic image and cropping it to the exact requested envelope.
        Parameters:
        useFinalImageLayout - whether the final image layout requested should be used. if false then a default layout will be used. useful if your mosaic layout doesn't match the final layout. default layout
        skipSingleElementOptimization - whether the single element case should be optimized. some callers wish to skip this since there are a few differences along this path that can cause issues (namely using the final image layout for operations)
        Returns:
        A MosaicElement}.
        Throws:
        IOException