自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (8)
  • 收藏
  • 关注

原创 如何捕获和响应MapControl的添加图层事件

通常地图都需要加上一个鹰眼,要实现鹰眼功能,不可避免的就需要实现主地图和鹰眼的同步。令人失望的是ArcGIS的帮助文档和范例中都采用同时在主地图和鹰眼中加载mxd文档的方式来实现同步的,确切的说,这样只是加载了地图,并没有实现同步。如果程序启动后并没有加载任何地图文档,而只是添加图层,那么这种处理方式就暴露马脚了。其实会出问题的不仅仅是这种情况,当我们修改主地图的符号、样式等时,也会有问题,因此我

2012-07-30 17:02:58 7056 4

原创 GDAL输出影像

//输出影像/*** @brief ReadImageToBuff.* 把数据从内存中输出到文件中,默认保存为tif格式。* @created: 2012/03/25* @author: Zhengwen.Fu* @param szPath 输出路径* @param img 数据块内存块指针* @param nSamples 数据块内存块代表的影像的列数* @para

2012-07-27 11:28:30 6391 1

原创 GDAL影像重采样

#include "gdal_priv.h"#include "ogrsf_frmts.h"#include "gdalwarper.h"/*** * 遥感影像重采样 (要求影像必须有投影,否则走不通)* @param pszSrcFile 输入文件的路径 * @param pszOutFile 写入的结果图像的路径 * @param eResample

2012-07-27 11:04:33 10016 7

原创 使用GDAL读取影像

//把影像读入到内存空间//把影像读到内存中/*** @brief ReadImageToBuff.* 把数据从内存中输出到文件中* @created: 2012/03/25* @author: Zhengwen.Fu* @param inputFileName 目标文件路径* @param pImageBuf 内存块指针* @exception 无* @retur

2012-07-27 10:54:02 9412 2

原创 Windows Server 2003下RSA加密遭遇”该项不适与在指定状态下使用”的错误的解决办法

今天使用RSA加密遇到了点问题,之前正常的程序突然无法正常加密和解密,无奈之下,尽然在用户的机器上安装了开发环境,跟踪代码。还好有所发现,令人费解的是之前正常的RSA加密解密程序再每次执行加密或解密时,到”new RSACryptoServiceProvider“一句,就会出现“该项不适与在指定状态下使用”的错误。询问用户最近对计算机所做的更改,得知他们给机器设置了操作系统密码。

2012-07-23 22:48:27 6280 2

原创 对WEB应用及WEB浏览器的一些思考

面对当今纷繁的web技术,各种眼花缭乱的web应用极大的丰富的人们的生活。在工程师们不断地惊叹各种层出不穷的新技术的同时,用户却在为各种莫名奇妙的死机和崩溃而恼怒着。web应用的稳定性问题越来越让用户难以接受了。    与桌面应用程序的不同之处在于,web应用只需要一个浏览器即可运行。但是在一个新技术层出不穷、浏览器百家争鸣的时代,各浏览器互不兼容的问题往往让开发人员和用户甚为恼火。一些技

2012-07-03 00:03:54 1981 2

Qt4.7.1-32位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的32位版Qt4.8.7,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.8.7,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

Qt4.8.7-64位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的64位版Qt4.8.7,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.8.7,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

Qt4.7.1-32位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的32位版Qt4.7.1,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.7.1,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

Qt4.7.1-64位版,适用于Vistual Studio 2015

Qt官网没有提供适用于VS2015的Qt4版本,自己编译比较费劲。在此分享自己编译的64位版Qt4.7.1,适用于Vistual Studio 2015下的Qt4开发。 使用方法:下载解压后,放到自己需要的目录下,如C://Qt/Qt4.7.1,然后在VS2015的Qt-Addin插件菜单中添加Qt版本及路径即可。

2023-04-24

tensorflow-1.12支持cuda10.0

自编译tensorflow: 1.python3.5,tensorflow1.12; 2.支持cuda10.0,cudnn7.3.1,TensorRT-5.0.2.6-cuda10.0-cudnn7.3; 3.支持mkl,无MPI; 软硬件硬件环境:Ubuntu16.04,GeForce GTX 1080 配置信息: hp@dla:~/work/ts_compile/tensorflow$ ./configure WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel 0.19.1 installed. Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3 Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/dist-packages] Do you wish to build TensorFlow with XLA JIT support? [Y/n]: XLA JIT support will be enabled for TensorFlow. Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: No OpenCL SYCL support will be enabled for TensorFlow. Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. Do you wish to build TensorFlow with CUDA support? [y/N]: y CUDA support will be enabled for TensorFlow. Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /usr/local/cuda-10.0 Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 7.3.1 Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda-10.0]: Do you wish to build TensorFlow with TensorRT support? [y/N]: y TensorRT support will be enabled for TensorFlow. Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]:/home/hp/bin/TensorRT-5.0.2.6-cuda10.0-cudnn7.3/targets/x86_64-linux-gnu Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]: Please specify a list of comma-separated Cuda compute capabilities you want to build with. You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1,6.1,6.1]: Do you want to use clang as CUDA compiler? [y/N]: nvcc will be used as CUDA compiler. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: Do you wish to build TensorFlow with MPI support? [y/N]: No MPI support will be enabled for TensorFlow. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]: Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=monolithic # Config for mostly static monolithic build. --config=gdr # Build with GDR support. --config=verbs # Build with libverbs support. --config=ngraph # Build with Intel nGraph support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=noignite # Disable Apacha Ignite support. --config=nokafka # Disable Apache Kafka support. --config=nonccl # Disable NVIDIA NCCL support. Configuration finished 编译: hp@dla:~/work/ts_compile/tensorflow$ bazel build --config=opt --config=mkl --verbose_failures //tensorflow/tools/pip_package:build_pip_package 卸载已有tensorflow: hp@dla:~/temp$ sudo pip3 uninstall tensorflow 安装自己编译的成果: hp@dla:~/temp$ sudo pip3 install tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl

2019-01-11

tensorflow1.12支持cuda10

自编译tensorflow: 1.python3.5,tensorflow1.12; 2.支持cuda10.0,cudnn7.3.1,TensorRT-5.0.2.6-cuda10.0-cudnn7.3; 3.无mkl支持; 软硬件硬件环境:Ubuntu16.04,GeForce GTX 1080 TI 配置信息: hp@dla:~/work/ts_compile/tensorflow$ ./configure WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel 0.19.1 installed. Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3 Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/dist-packages] Do you wish to build TensorFlow with XLA JIT support? [Y/n]: XLA JIT support will be enabled for TensorFlow. Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: No OpenCL SYCL support will be enabled for TensorFlow. Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. Do you wish to build TensorFlow with CUDA support? [y/N]: y CUDA support will be enabled for TensorFlow. Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /usr/local/cuda-10.0 Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 7.3.1 Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda-10.0]: Do you wish to build TensorFlow with TensorRT support? [y/N]: y TensorRT support will be enabled for TensorFlow. Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]://home/hp/bin/TensorRT-5.0.2.6-cuda10.0-cudnn7.3/targets/x86_64-linux-gnu Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]: Please specify a list of comma-separated Cuda compute capabilities you want to build with. You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1,6.1,6.1]: Do you want to use clang as CUDA compiler? [y/N]: nvcc will be used as CUDA compiler. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: Do you wish to build TensorFlow with MPI support? [y/N]: No MPI support will be enabled for TensorFlow. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]: Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=monolithic # Config for mostly static monolithic build. --config=gdr # Build with GDR support. --config=verbs # Build with libverbs support. --config=ngraph # Build with Intel nGraph support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=noignite # Disable Apacha Ignite support. --config=nokafka # Disable Apache Kafka support. --config=nonccl # Disable NVIDIA NCCL support. Configuration finished 编译: bazel build --config=opt --verbose_failures //tensorflow/tools/pip_package:build_pip_package 卸载已有tensorflow: hp@dla:~/temp$ sudo pip3 uninstall tensorflow 安装自己编译的成果: hp@dla:~/temp$ sudo pip3 install tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl

2019-01-11

太阳天顶角计算工具

太阳天顶角计算工具,输入经纬度和日期,计算当天0-24时的太阳天顶角和方位角,同时给出当天的日出日落时间及日地平均距离。

2015-03-30

Modis MCD12Q1数据提取工具

批量提取MODIS土地覆盖数据MCD12Q1中的数据集。使用方法:选择输入目录下的一个hdf文件,选择要提取的字段,指定输出目录,点击运行即可将输入目录下所有hdf文件中MCD12Q1数据集中指定的数据集提取出来,结果按按照原文件名,保存为tiff格式。参考:http://blog.csdn.net/giselite/article/details/21081297

2014-03-17

CLR+via+C#

CLRViaC#,C#开发者的绝对秘籍,不适合入门级选手,资源里包含: CLRViaC#.第3版.1-7章.25-26章.易读版.供纠错.周靖.pdf CLR+via+C#.第二版.英文.pdf 中文第三版不完整,经过搜集,找到了第二版,不过是英文的,对于高级选手,我想是中文或英文没啥关系。另外里面包含搜集到的相应版本的范例代码。

2012-10-23

64位Linux安装ENVI详解及LibXp.so.6安装包

64位Linux下安装ENVI的详细说明,包含libXp库。因为csdn上传限制,里面不包含ENVIEX的压缩包,仅有下载链接。

2012-10-23

ArcGIS建模实现影像格式批量转换

ArcGIS模型工具,将指定路径下的所有或某种类型的栅格数据转换为其它的栅格数据格式。 运行环境:ArcGIS10.0以上。

2012-09-15

文本文件查找替换工具

文本文件查找替换工具,用于C++,C#,vb,js,txt等文本文件的查找替换,弥补Visual studio,记事本等文本编辑器不能实现多行文本替换的缺陷,也可用于普通需求,比如替换文本文件中的回车换行等,支持批量处理,支持代码注释量统计。

2012-01-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除