public class ImageStitcher extends Object
Constructor and Description |
---|
ImageStitcher() |
Modifier and Type | Method and Description |
---|---|
static boolean |
stitchImagePartitionsFromHadoopFile(String imageTilePath,
int resolutionX,
int resolutionY,
int zoomLevel,
int partitionOnX,
int partitionOnY)
Stitch image partitions from hadoop file.
|
static boolean |
stitchImagePartitionsFromLocalFile(String imageTilePath,
int resolutionX,
int resolutionY,
int zoomLevel,
int partitionOnX,
int partitionOnY)
Stitch image partitions from local file.
|
static boolean |
stitchImagePartitionsFromS3File(String regionName,
String accessKey,
String secretKey,
String bucketName,
String imageTilePath,
int resolutionX,
int resolutionY,
int zoomLevel,
int partitionOnX,
int partitionOnY)
Stitch image partitions from S 3 file.
|
public static boolean stitchImagePartitionsFromLocalFile(String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY) throws Exception
imageTilePath
- the image tile pathresolutionX
- the resolution XresolutionY
- the resolution YzoomLevel
- the zoom levelpartitionOnX
- the partition on XpartitionOnY
- the partition on YException
- the exceptionpublic static boolean stitchImagePartitionsFromS3File(String regionName, String accessKey, String secretKey, String bucketName, String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY) throws Exception
regionName
- the region nameaccessKey
- the access keysecretKey
- the secret keybucketName
- the bucket nameimageTilePath
- the image tile pathresolutionX
- the resolution XresolutionY
- the resolution YzoomLevel
- the zoom levelpartitionOnX
- the partition on XpartitionOnY
- the partition on YException
- the exceptionpublic static boolean stitchImagePartitionsFromHadoopFile(String imageTilePath, int resolutionX, int resolutionY, int zoomLevel, int partitionOnX, int partitionOnY) throws Exception
imageTilePath
- the image tile pathresolutionX
- the resolution XresolutionY
- the resolution YzoomLevel
- the zoom levelpartitionOnX
- the partition on XpartitionOnY
- the partition on YException
- the exceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.