pRPL

所属分类:图形图像处理
开发工具:C++
文件大小:200KB
下载次数:0
上传日期:2017-12-05 08:13:27
上 传 者sh-1993
说明:  并行光栅处理库(pRPL)是一个支持MPI的C++编程库,提供易于使用的接口...
(parallel Raster Processing Library (pRPL) is a MPI-enabled C++ programming library that provides easy-to-use interfaces to parallelize raster/image processing algorithms)

文件列表:
LICENSE (35141, 2017-12-05)
aspectTrans.cpp (6417, 2017-12-05)
aspectTrans.h (727, 2017-12-05)
make_pAspect (2073, 2017-12-05)
nd_dem.tif (263439, 2017-12-05)
pAspect.cpp (7225, 2017-12-05)
pgtiol-basicTypes.h (1858, 2017-12-05)
pgtiol-basisLib.h (295, 2017-12-05)
pgtiol-dataset.cpp (2256, 2017-12-05)
pgtiol-dataset.h (2970, 2017-12-05)
pgtiol-gTiffData.cpp (64166, 2017-12-05)
pgtiol-gTiffData.h (5315, 2017-12-05)
pgtiol-gTiffManager.cpp (2856, 2017-12-05)
pgtiol-gTiffManager.h (2591, 2017-12-05)
pgtiol-gTiffMetaData.cpp (16093, 2017-12-05)
pgtiol-gTiffMetaData.h (3429, 2017-12-05)
prpl-basicTypes.cpp (9733, 2017-12-05)
prpl-basicTypes.h (34135, 2017-12-05)
prpl-cellStream.cpp (5169, 2017-12-05)
prpl-cellStream.h (1301, 2017-12-05)
prpl-cellspace.cpp (20409, 2017-12-05)
prpl-cellspace.h (62476, 2017-12-05)
prpl-cellspaceGeoinfo.cpp (6331, 2017-12-05)
prpl-cellspaceGeoinfo.h (1860, 2017-12-05)
prpl-cellspaceInfo.cpp (16662, 2017-12-05)
prpl-cellspaceInfo.h (8583, 2017-12-05)
prpl-dataManager.cpp (108468, 2017-12-05)
prpl-dataManager.h (12586, 2017-12-05)
prpl-exchangeMap.cpp (903, 2017-12-05)
prpl-exchangeMap.h (358, 2017-12-05)
prpl-layer.cpp (34233, 2017-12-05)
prpl-layer.h (6100, 2017-12-05)
prpl-neighborhood.cpp (16331, 2017-12-05)
prpl-neighborhood.h (4126, 2017-12-05)
prpl-ownershipMap.cpp (6882, 2017-12-05)
prpl-ownershipMap.h (1230, 2017-12-05)
prpl-process.cpp (5662, 2017-12-05)
... ...

# pRPL parallel Raster Processing Library (pRPL) is a C++ programming library that provides easy-to-use interfaces to parallelize raster/image processing algorithms. 1. To Compile
Note: this version is not a final release, and some components are still under testsing. The program has been tested on Scientific Linux 6.7 operation system, compiled using g++ 4.9, OpenMPI 1.9, GDAL 1.9, and LibTIFF 4.0. The makefile (i.e., make_pAspect) will compile a demonstration program, pAspect, which is able to calcuate aspect and slope from DEM data in parallel.
(1) Before compiling, make sure MPI, GDAL, and LibTIFF libraries have been installed.
(2) Open make_pAspect and modify the lines that specify the locations of libraries.
(3) Type 'make -f make_pAspect depend'.
(4) Type 'make -f make_pAspect' to compile.
After successful compilation, an executable file named pAspect will be generated. 2. To Run
There is a nd_dem.tif file, which is the DEM data at 1.5km resolution of North Dakota in the US. Note that this data is only for testing if the pAspect program works as expected, not for demonstrating the performance.
2.1 Usage:
mpirun -np \ pAspect \ \ \ \ \ \ \
workspace: the directory where the input file is located and the output files will be written.
input-demFilename: the input file in the GeoTIFF format, usually the DEM data.
num-row-subspaces: the number of sub-domains in the Y axis, for domain decomposition. If num-row-subspaces > 1 and num-col-subspaces = 1, the domain is decomposed as row-wise; if num-row-subspaces = 1 and num-col-subspaces > 1, the domain is decomposed as column-wise; if both > 1, the domain is decomposed as block-wise.
num-col-subspaces: the number of sub-domains in the X axis, for domain decomposition.
task-farming: load-balancing option, either 0 or 1. if 0, static load-balancing; if 1, task farming.
io-option: I/O option, ranges within [0, 5]. Option 0: GDAL-based centralized reading, no writing; Option 1: GDAL-based parallel reading, no writing; Option 2: pGTIOL-based parallel reading, no writing; Option 3: GDAL-based centralized reading and writing; Option 4: GDAL-based parallel reading and pseudo parallel writing; Option 5: pGTIOL-based parallel reading and parallel writing.
with-writer: an option that specify whether a writer process will be used. If 0, no writer; if 1, use a writer.
2.2 Example:
mpirun -np 8 ./pAspect ./ nd_dem.tif 8 1 0 5 0
3 To Cite in Publications:
- Miao, J.; Guan, Q.*; Hu, S. 2017. pRPL + pGTIOL: The marriage of a parallel processing library and a parallel I/O library for big raster data. Environmental Modelling and Software, 96: 347-360 - Guan, Q.; Zeng, W.; Gong, J.; and Yun, S. 2014. pRPL 2.0: improving the parallel raster processing library. Transactions in GIS, 18(S1): 25-52 - Guan, Q. and Clarke, K. C. 2010. A general-purpose parallel raster processing programming library test application using a geographic cellular automata model. International Journal of Geographical Information Science, 24(5): 695-722

近期下载者

相关文件


收藏者