Package nom.tam.image.tile.operation
Interface ITileOperationInitialisation<OPERATION extends ITileOperation>
- Type Parameters:
OPERATION- the generic type of the operation to be performed
public interface ITileOperationInitialisation<OPERATION extends ITileOperation>
(for internal use) Interface for initializing parallel operations on 2D image tiles.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTileOperation(int tileIndex, TileArea area) Creates a new instance of the supported parallel tile operation for a specifictilevoidInitializes the parallel tile operation before it can be executed.voidtileCount(int tileCount) Sets the total number of 2D image tiles to be processed.
-
Method Details
-
createTileOperation
Creates a new instance of the supported parallel tile operation for a specifictile- Parameters:
tileIndex- the sequential index of the tilearea- the location and size of the tile in the full image- Returns:
- a new parallel operation for processing the particular 2D image tile.
-
init
Initializes the parallel tile operation before it can be executed. For example to set particular options / parameters for the processing.- Parameters:
tileOperation- the parallel operation that processes a specific 2D image tile.
-
tileCount
Sets the total number of 2D image tiles to be processed.- Parameters:
tileCount- the total number of image tiles to be- Throws:
FitsException- if the operation cannot support the desired number of tiles, for example because data stored in a FITS file is for fewer tiles.
-