Efficient pyramid building from stitched field of views.
421
We need to properly mount host directories and then we need to provide pyramid building arguments. Additional environment variables can be set to enable logging.
docker run -v $INPUT_DIR_HOST:$CONTAINER_DIR_INPUTS -v $OUTPUT_DIR_HOST:$CONTAINER_DIR_OUTPUTS \
-e GLOG_v=3 -e GLOG_logtostderr=1 $CONTAINER_IMAGE \
/tmp/main -i $IMAGES_PATH -v $STITCHING_VECTOR_PATH -o $CONTAINER_DIR_OUTPUTS \
-n pyramid -t 1024 -d 8U
Input and Output directories on the host should be mounted as volumes in the container, for example in /tmp/ :
INPUT_DIR_HOST=/path/on/host/to/inputDirectory
OUTPUT_DIR_HOST=path/on/host/to/outputDirectory
CONTAINER_DIR_INPUTS=/path/in/container/to/inputs
CONTAINER_DIR_OUTPUTS=/path/in/container/to/outputs
Now we provide the path to the images and stitching vector within the container
IMAGES_PATH=$CONTAINER_DIR_INPUTS/tiled-images
STITCHING_VECTOR_PATH=$CONTAINER_DIR_INPUTS/stitching_vector/img-global-positions-1.txt
CONTAINER_IMAGE=wipp/pyramid-building:1.0.0
-i $IMAGES_PATH : path to the images in the container-v $STITCHING_VECTOR_PATH : path to the stitching vector in the container-o $OUTPUT_DIR_HOST : path to the ouput directory in the container-n name: name of the pyramid created-d depth : depth and encoding of the ouput images : 8U or 16U (8bits or 16bits unsigned intergers)-t size : size (in pixels) on the pyramid tiles-f format : output format : deepzoom, tiff, all (generates both formats)Environment variables can be set to generate logs.
GLOG_logtostderr=1 : print tostderr instead of log fileGLOG_v=[0..4] : set log level between 0 and 4 for more detailed logsLog Levels :
Content type
Image
Digest
Size
87.2 MB
Last updated
over 6 years ago
docker pull wipp/pyramid-building:1.1.3