You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# pragma once
# include "stdafx.h"
// 作者:王家星 2014/10/15
// 情报数据通用结构
# include "QBStru.h"
// 保存情报数据为tiff文件
/*
首先看图像数据有效性标识位,无效时直接返回,不做任何处理;
geoImg图像数据有效时, 保存图像数据至本地文件, 否则, 直接返回。
不改变qbData中的任何值。
*/
//功能: 保存情报数据至本地文件( GeoTiff格式)
//输入: 1. qbData 通用情报数据结构体
// 2. savePath Tiff文件保存路径
//输出: 1. 返回值: 保存成功返回true, 失败返回false
bool SaveQBDataToGeoTIFF ( QBStru * qbData , string savePath ) ;
//功能: 保存图像结构体至本地文件( GeoTiff格式)
//输入: 1. qbData 通用图像数据结构体
// 2. savePath Tiff文件保存路径
//输出: 1. 返回值: 保存成功返回true, 失败返回false
bool SaveImgStruToGeoTIFF ( const ImgStru * Img , string savePath ) ;
//功能: 保存图像数据至本地文件( GeoTiff格式)
//输入: 1. Img OpenCV图像
// 2. LBbox 经纬度边界
// 3. savePath Tiff文件保存路径
//输出: 1. 返回值: 保存成功返回true, 失败返回false
bool SaveImgStruToGeoTIFF ( cv : : Mat & Img , GeoBoundingBox & LBbox , string savePath ) ;