资源简介
LibGeotiff函数库,众所周知是处理TIFF图像的首选函数库.其和LibTiff函数库就像搭档一样,提供了简单简便的函数操作,为处理转化压缩TIFF格式文件的用户提供了极大地便利
代码片段和文件信息
/******************************************************************************
* Copyright (c) 1999 Frank Warmerdam
*
* Permission is hereby granted free of charge to any person obtaining a
* copy of this software and associated documentation files (the “Software“)
* to deal in the Software without restriction including without limitation
* the rights to use copy modify merge publish distribute sublicense
* and/or sell copies of the Software and to permit persons to whom the
* Software is furnished to do so subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS
* OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
* LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING
* FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
******************************************************************************
*
* cpl_csv.c: Support functions for accessing CSV files.
*/
#include “cpl_serv.h“
#include “geo_tiffp.h“
/* ==================================================================== */
/* The CSVTable is a persistant set of info about an open CSV */
/* table. While it doesn‘t currently maintain a record index */
/* or in-memory copy of the table it could be changed to do so */
/* in the future. */
/* ==================================================================== */
typedef struct ctb {
FILE *fp;
struct ctb *psNext;
char *pszFilename;
char **papszFieldNames;
char **papszRecFields;
int iLastLine;
/* Cache for whole file */
int nLineCount;
char **papszLines;
int *panLineIndex;
char *pszRawData;
} CSVTable;
static CSVTable *psCSVTableList = NULL;
/************************************************************************/
/* CSVAccess() */
/* */
/* This function will fetch a handle to the requested table. */
/* If not found in the ‘‘open table list‘‘ the table will be */
/* opened and added to the list. Eventually this function may */
/* become public with an abstracted return type so that */
/* applications can set options about the table. For now this */
/* isn‘t done. */
/************************************************************************/
static CSVTab
相关资源
- 遥感图像几何校正模型探讨
- 开源1A锂电池充电板TP4056原理图+PCB
-
st
yles 引文样式语言( CSL ) 引文样 - 开源电调BLHeli硬件PCB 4层板 2.5cm宽
- 图像的小波包分解
- 图像二维小波变换的实现源代码
- 图像二值化
- [免费]图像识别c 源码
- 三维重建(旋转)由已知对应图像点
-
开源tinyxm
l - jcrop v0.9.12
- 一个比较完整的开源cad 图形程序
- 冈萨雷斯 数字图像处理 源代码(m文
- qt图像处理
- 基于OpenCV的数字识别468815
- 使用opencv去掉二值化图像中黑色面积
- Delphi实现图像拖动,无延时。
- 开源的nmealib
- 很好的一个小波变换图像压缩程序
- 血液图像处理—细胞识别
- 三维地形的仿真显示实现了对地图的
- DICOM图像读取以及窗宽,窗位调整
- 图像缩放(MFC)有详细的实现过程
- 基于Gabor滤波器的图像纹理特征提取
- 图像的小波变换/图像的融合、复原、
- VC数字图像处理课程设计
- 图像描述代码下载(里面是有代码的
- 利用小波变换对图像进行分解与重构
- Macromedia Fireworks V8.0 简体中文版
- jpeg图像压缩实例代码
评论
共有 条评论