自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

看那天上的彩云

求真务实,脚踏实地

  • 博客(79)
  • 资源 (17)
  • 问答 (5)
  • 收藏
  • 关注

原创 CUDA安装—你必须先安装intel@驱动程序

运行驱动安装程序时,提示我:你必须先安装intel@驱动程序 但是我的机子上显示intel@驱动程序是正常的。 解决方案卸载Intel的核显,然后安装CUDA, 最后,别忘了再把核显驱动重新安装上。

2017-12-21 09:17:03 17195 2

原创 VS+QT开发,ui界面更新,.h未更新

编译qgis时,用qdesinger修改ui文件后,ui_mainwindow文件未更新,但重新编译ui项目后,.h文件更新

2017-10-24 16:17:37 4376

原创 测量学—大地测量学基础

绪论大地测量学的定义和作用大地测量学的基本体系和内容大地测量学的发展简史及展望地球重力场及地球形状的基本理论地球重力场的基本原理水准面、大地水准面、似大地水准面、地球椭球水准面两水准面之间的距离 dh=−dWgdh=-\frac{dW}g{} - 两个无穷接近的水准面之间的距离不是一个常数大地水准面大地水准面上的重力位用W0W_{0}表示,位W的水准面相对于位W0W_{0}的大地水准面的高度,可

2017-09-01 21:28:16 1763 1

原创 使RibbonBar中的Button不可用(动态设置CMFCRibbonBar状态)

设置RibbonBar中的button响应函数ON_UPDATE_COMMAND_UIvoid CMainFrame::OnUpdateStopedit(CCmdUI *pCmdUI){ pCmdUI->Enable(boolValue);}boolValue是一个bool类型的变量,当外部函数改变boolValue的值时,RibbonBar中的button也会相应的变灰或者可点击

2017-08-23 21:55:31 2761

原创 测量学—误差理论与测量平差基础

绪论观测误差测量平差学科的研究对象测量平差的简史和发展本课程的任务和内容误差分布与精度指标正态分布偶然误差的规律性衡量精度的指标精度、 准确度与精确度测量不确定度协方差传播律及权数学期望的传播协方差传播律协方差传播律的应用权与定权的常用方法协因数和协因数传播律由真误差计算中误差及其实际应用系统误差的传播平差数学模型与最小二乘原理测量平差概述函数模型函数模型的线性化测量平差的数学模型参数估计与最小二乘

2017-08-04 11:54:30 5488

原创 测量学—数字测图原理与方法

第一章 绪论 1.1 测绘学的任务及作用 1.2 数字测图的发展概况 1.3 学习数字测图原理与方法的目的和要求 第二章 测量的基本知识 2.1 地球形状和大小 2.2 测量常用坐标系和参考椭球定位 2.3 地图投影和高斯平面直角坐标系 2.4 高程 2.5 用水平面代替水准面的限度 2.6 方位角 2.7 地形图的基本知识

2017-08-03 14:46:42 3532

原创 共线方程求解外方位元素--单片空间后方交会

单片空间后方交会是利用三个不在一条直线的已知点计算相片外方位元素的方法。获取已知数据,包括: x[]、y[]:改正后的控制点的像方坐标X[]、Y[]、Z[]:控制点的物方坐标f: 相机焦距 在空间后方交会中,通常采用像片四个角上(或者更多控制点),同时采用最小二乘原理进行平差计算。确定未知数的初始值 在竖直摄影情况下,三个角元素初值都为0,三个线元素初始值: /***********

2017-08-02 14:13:05 7671 1

原创 csplitwnd多个子View间图像同步移动

mfc项目,想实现多个视图中的图像同步移动,我实现的方式是: 1、在View_A中的OnMouseMove中获取鼠标当前的坐标值point, 2、在View_A中获取View_B的指针,将鼠标当前的坐标值point传给View_B, 3、View_B调用invalidate刷新B视图但发现以下问题: 并不是每个鼠标的坐标值point都能穿给View_B, 个人写了个ArrayList存储每

2017-06-13 22:06:38 311

原创 mfc制作32位透明bmp图标

mfc制作32位透明bmp图标 使用Ribbon时,可以导入透明的bmp图片,使用iconworkshop,可以将透明png转变为透明32位bmp图片

2017-03-03 20:25:52 2218

原创 IRibbonCategoryEditor 找不到&&无法设置Large(Small) Images

第一步:打开Ribbon栏,不可以点击按钮,只能点击Ribbon栏整体 第二步:点击属性栏下部的下拉条,第二条就是

2017-03-03 17:57:48 486 2

原创 微信网页协议发送图片

import java.io.BufferedReader;import java.io.ByteArrayOutputStream;import java.io.DataInputStream;import java.io.DataOutputStream;import java.io.File;import java.io.FileInputStream;import java.io

2017-02-26 15:08:33 7440 5

原创 java+selenium实现火车票自动刷学生票

import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.HasInpu

2016-12-20 12:30:14 1313

原创 _main,该符号在函数 ___tmainCRTStartup 中被引用

,点击连接器->系统,在右侧会看到“子系统”选项,控制台改为窗口

2016-09-06 00:19:25 1524

原创 magicskin无法在VS13上运行

想用一个C++界面库,但在vs13上,加载静态库后,始终无法定位magicskin的函数

2016-09-03 16:05:42 378 1

原创 vtk三维场景基本要素

1. 灯光 VTK中用 vtkLight 代表现实场景中的灯光。 vtkLight 分为聚光灯和方向灯。聚光灯为点光源,方向灯为平行光源。 默认地,vtkLight的实例是平行光源。即,位置和焦点定义了平行于光线传播的一个向量,而且光源被认为是在无穷大点处。 常用方法如下: SetColor( ) 设置灯光颜色 SetPoison( ) 设置灯光位置 S

2016-05-23 18:26:13 2176 2

原创 vtk学习资源汇总

http://public.kitware.com/ 包含引擎,指向许多其它资源,如在线手册、问题解答、VTK用户邮件列表。Kitware也出售和支持用VTK开发的商业化的产品,像VolView, ActiViz, GoFly等。 http://public.kitware.com/mailman/listinfo/vtkusers 给出如何加入VTK用户邮件列表的说明。VTK用户邮件列表允许

2016-05-13 08:13:52 3264

原创 java调用动态库时,.dll文件路径问题

网上说”.dll”应该放在”.class”同级目录下,但经测试,程序报错: “java.lang.UnsatisfiedLinkError: no JniDllDemo in java.library.path” 当放到java工程同级目录时,一个例子可以调用: 当我调用vtk测试用例时,却又显示“no java.library.path”。后期这样解决的: 1.右击项目,从弹出的右

2016-05-09 09:54:27 13917

原创 小范围排序

#include <iostream>#include<algorithm>#include <vector>using namespace std;class ScaleSort {public: int* sortElement(int* A, int n, int k) { vector<int> B(k); int i, j;

2016-05-08 19:00:24 307

原创 vtk实战(五十四)—对直线设置颜色

#include <vtkVersion.h>#include <vtkSmartPointer.h>#include <vtkCellArray.h>#include <vtkCellData.h>#include <vtkUnsignedCharArray.h>#include <vtkPoints.h>#include <vtkLine.h>#include <vtkPolyDa

2016-05-08 09:58:48 3467 2

原创 vtk实战(五十三)—坐标轴

#include <vtkPolyDataMapper.h>#include <vtkActor.h>#include <vtkRenderWindow.h>#include <vtkRenderer.h>#include <vtkRenderWindowInteractor.h>#include <vtkPolyData.h>#include <vtkSphereSource.h>#

2016-05-07 00:01:12 6725

原创 vtk实战(五十二)—箭头

#include <vtkArrowSource.h>#include <vtkPolyData.h>#include <vtkSmartPointer.h>#include <vtkPolyDataMapper.h>#include <vtkActor.h>#include <vtkRenderWindow.h>#include <vtkRenderer.h>#include <vt

2016-05-06 23:16:38 3183

原创 基数排序

#include <iostream>#include<algorithm>using namespace std;class RadixSort {public: int* radixSort(int* A, int n) { int index[10]; int** c = new int*[10]; for (size_t i =

2016-05-05 08:33:15 284

原创 计数排序

#include <iostream>#include<algorithm>using namespace std;class CountingSort { int* jishu(int* A, int n, int k){ int* a = new int[k + 1]; //A[6],a[21] for (int i = 0; i < k

2016-05-05 07:40:19 298

原创 vtk实战(五十一)—构建三维形体

#include <vtkSmartPointer.h>#include <vtkPolyDataMapper.h>#include <vtkTextMapper.h>#include <vtkActor.h>#include <vtkActor2D.h>#include <vtkRenderer.h>#include <vtkRenderWindow.h>#include <vtkR

2016-05-04 22:32:14 1750

原创 vtk实战(五十)—计算线段与多边形的交点

主要用到IntersectWithLine()方法,如果交叉点发生,该方法返回非0值,并且计算交叉点坐标。#include <vtkSmartPointer.h>#include <vtkPoints.h>#include <vtkPolygon.h>int main(){ vtkSmartPointer<vtkPoints> points = vtkSmartPointer<vtkP

2016-05-04 22:13:25 3211

原创 希尔排序

#include <iostream>#include<algorithm>using namespace std;class ShellSort{public: void swap(int *A, int i, int j) { int temp = A[i]; A[i] = A[j]; A[j] = temp; }

2016-05-04 19:40:33 260

原创 堆排序

class HeapSort {public: void swap(int *A, int a, int b) { int temp = A[a]; A[a] = A[b]; A[b] = temp; } void adjustheap(int* A, int index, int length) {

2016-05-02 23:51:24 297

原创 快速排序

分两部分实现,函数sort()负责选定区间,函数Qsort()负责给选定区间的数值分大小class QuickSort {public: int Qsort(int* a,int low,int high){ int key = a[low]; while (low < high){ while (low < high && a[high] >= key)

2016-04-30 23:06:34 310

原创 vtk实战(四十九)——使用vtkCell3D构建三维形体

#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include

2016-04-30 13:44:47 4058 2

原创 vtk实战(四十八)——写入raw/mha/mhd格式

#include #include #include #include #include #include #include #include #include #include #include int main(int, char *[]){ std::string filePath = "julia_mha.mhd"; std::string fileP

2016-04-30 13:44:30 7188 1

原创 vtk实战(四十七)——写入tif格式

#include vtkImageData.h>#include vtkInteractorStyleImage.h>#include vtkTIFFWriter.h>#include vtkSmartPointer.h>#include vtkImageCanvasSource2D.h>#include vtkRenderWindow.h>#include vtkRenderWind

2016-04-30 13:44:15 1027

原创 vtk实战(四十六)——写入pnm格式

#include vtkImageData.h>#include vtkPNMWriter.h>#include vtkSmartPointer.h>#include vtkImageCanvasSource2D.h>#include vtkSmartPointer.h>#include vtkRenderWindow.h>#include vtkRenderWindowInterac

2016-04-30 13:43:59 585

原创 vtk实战(四十五)——写入png格式

#include #include #include #include #include int main(){ std::string outputFilename; outputFilename = "output.png"; int extent[6] = { 0, 99, 0, 99, 0, 0 }; vtkSmartPointer imag

2016-04-30 13:43:44 1980

原创 vtk实战(四十四)——写入jpg格式

#include #include #include int main(int vtkNotUsed(argc), char* vtkNotUsed(argv)[]){ std::string outputFilename = "output.jpg"; int extent[6] = { 0, 99, 0, 99, 0, 0 }; vtkSmartPointe

2016-04-30 13:43:27 1614

原创 vtk实战(四十一)——读取tif数据

#include #include #include #include #include #include int main(int argc, char* argv[]){ char* fileName = "test.tif"; vtkSmartPointer reader = vtkSmartPointer::New(); reader

2016-04-30 13:43:06 2133

原创 vtk实战(三十九)——读取PNG数据

#include vtkSmartPointer.h>#include vtkImageViewer2.h>#include vtkPNGReader.h>#include vtkRenderWindow.h>#include vtkRenderWindowInteractor.h>#include vtkRenderer.h>int main(){ char* fileN

2016-04-30 13:42:43 2224

原创 vtk实战(三十八)——读取jpg数据(有问题)

#include #include #include #include #include #include int main(){ char* fileName = "UC截图20160429221551.jpg"; vtkSmartPointer jpegReader = vtkSmartPointer::New(); jpegReade

2016-04-30 13:42:28 1634 4

原创 vtk实战(三十七)——读取bmp数据

#include vtkSmartPointer.h>#include vtkImageViewer2.h>#include vtkBMPReader.h>#include vtkRenderWindow.h>#include vtkRenderWindowInteractor.h>#include vtkRenderer.h>int main(){ char* fileN

2016-04-30 13:42:12 1667

原创 vtk实战(三十六)——读取结构化点云数据

#include vtkSmartPointer.h>#include vtkPolyDataMapper.h>#include vtkStructuredPointsReader.h>#include vtkImageDataGeometryFilter.h>#include vtkRenderWindow.h>#include vtkRenderWindowInteractor.h>

2016-04-30 13:41:43 4662 1

原创 vtk实战(三十五)——读取结构化格网数据

#include vtkSmartPointer.h>#include vtkPolyDataMapper.h>#include vtkStructuredGridReader.h>#include vtkStructuredGridGeometryFilter.h>#include vtkRenderWindow.h>#include vtkRenderWindowInteractor

2016-04-30 13:41:26 2531 4

ffmpeg.rar

ffmpeg342win64-dev.zip,ffmpeg342win64-shared.zip,ffmpeg342win64-static.zip,FFmpeg程序把-i参数指定的若干文件内容读入到内存

2020-11-05

NVIDIA_Nsight_Visual_Studio_Edition_Win64_2019.2.0.19109.zip

使用visual调试cuda程序时,需要安装的 NVIDIA Nsight Visual Studio Edition软件,经验证,支持win10下vs2013

2020-10-11

bwlabel之C++实现(二值图像八连通区域)

有main函数的C++源码,直接可运行,自己写的二值图像八连通区域,对应matlab中的bwlabel

2018-03-15

nvida开发偏振立体

nvida 3d vision 开发立体视觉的文档,我现在还没有实现,摄影测量现在普遍采用偏振立体,而非采用红绿或者红蓝立体

2017-09-03

单片空间后方交会

单片空间后方交会

2017-08-02

gdal_32+64位动态库+静态库+头文件

gdal-1.11.2版本的,采用vs2013编译的32+64位动态库+静态库+头文件

2017-06-11

selenium+phantomjs+java

phantomjs,所有依赖项都已打包,导入eclipse直接运行

2017-06-10

vuforia图书识别

https://developer.vuforia.com/license-manager 中申请 一个380位的license key,替换SampleApplicationSession.java中 Vuforia.setInitParameters(mActivity, mVuforiaFlags, "")第三个参数,eclipse项目

2017-02-06

Android评论和回复功能Eclipse

Android评论和回复功能在Eclipse中实现

2016-12-09

java调用vtk

用java写的调用vtk的简单demo,加载到eclipse中直接运行

2016-05-09

c语言读取bmp文件

c语言读取bmp文件、vs2010工程

2016-05-05

第二章 、图像增强

数字图像处理 第二章 、图像增强

2016-05-04

第一章、图像的基本概念

数字图像处理 第一章、图像的基本概念

2016-05-04

vtk实例代码18—读取PLOT3D格式

vtk读取PLOT3D格式,有实例数据

2016-04-28

C++11最新规范

C++11Z中的一些新规范

2016-04-23

CMFCRibbonStatusBar例子

CMFCRibbonStatusBar中的ID自己定义

2015-12-10

MFC多文档应用程序同时显示两个视图

MFC多文档应用程序同时显示两个视图,通过创建多个CMultiDocTemplate* 进行实现

2015-04-13

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

TA关注的人

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