自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Gtk-Message: 14:47:21.541: Failed to load module “canberra-gtk-module“ 的处理方法

最近研究读取Elekta加速器XVI产生的his格式的数据读取,利用OpenCV 进行显示时,发现了一个错误(Ubuntu20)如下:Gtk-Message: 14:47:21.541: Failed to load module "canberra-gtk-module"这个提示可能是缺少canberra-gtk-module模块没有安装。作为新一代青年,上网搜索才是解决方法。上网搜索得知,我的判断是对的,于是sudo apt-get install libcanberra-gtk*神.

2021-04-06 15:14:32 1561

原创 在Mac OS 上安装OpenCV4.5.1时没有SIFT和SURF算法的处理方法

在Mac OS 上安装OpenCV4.5.1时,下载的是源代码,进行本地编译和安装。安装好了之后,使用以前写的image stitching的代码进行测试,本以为会风平浪静,没想到弹出错误:xfeatures2d/src/surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPEN

2021-03-17 14:58:24 1091 1

原创 macOS 上面 brew 安装软件无法写入的处理 Error: Could not create /usr/local/Cellar  

brew install opencv报错如下: Error: Could not create /usr/local/Cellar Check you have permission to write to /usr/local这是因为你可能使用了ports安装了软件(我是安装过vtk),因此你的/usr/local目录被锁了,解决办法就是,你在命令行终端输入: sudo chown -R $(whoami):admin /usr/local 然后再执行brew install o...

2020-08-14 09:18:43 394

原创 Install Geant4.10.06.p01 on MacOS Catalina

在Mac上面安装geant4,主要是写代码,看看探测器的结构,粒子发射的位置,产生的粒子等。一般情况都会在Linux主机上面,或者是Cluster上面,非图像界面跑数据的。但是就是想在Mac上面装,我愿意呀。然而安装的时候一定要按照安装手册进行配置。首先要有brew,这个如果你不会,你在网上搜,一搜一大把。推荐官网:https://brew.sh,免得被骗掉坑里。如果要运行geant4,而且使用Qt界面显示(好用,强烈推荐),你要装Qt。1 首先要装OpenGL的库,到官网https://ww.

2020-07-30 22:31:50 622

原创 ITK install with IIKVtkGlue Module in Cmake Configure

ITKVtkGlue is a module in ITK, which by default is not built. You need to enable this module with cmake when you build ITK. Also, before you do this, you need to download, build and install VTK (which is very similar to building ITK) first. Assuming you ar

2020-05-31 09:39:33 248

原创 如何更新Ubuntu Linux 中CMake 的版本

在编译Geant4相关项目的时候发现对CMake的版本要求是3.9以上,但是通过update和upgrade的操作之后CMake的版本还是停留在3.5的状态,那就只能使用源码的方法安装了。具体的操作过程如下:1.下载CMake打开cmake官网,或者直接点击 cmake3.12-linux版本地址下载。2.安装注意本文使用的是3.12版本,在安装的时候使用跟自己下载的版本对应的...

2020-04-21 16:36:00 1151

原创 VTK 体重建代码

有时候使用表面重建不能显示细节。因此使用VolumeRender才好。见代码:#include "base.h"void show(vtkSmartPointer<vtkRenderer> renderer){    // show the renderer window using passed renderer object.    vtkSmartPointer<vtkRe...

2018-06-01 16:59:38 405

转载 Numpy he scipy 的安装

Numpy he scipy 的安装scipy的安装需要依赖于numpy、lapack、atlas(后两者都是线性代数工具包,不清楚的自行google之。。。),而numpy和sci的测试程序的运行又依赖于nose,因此,整个安装过程必须要按顺序执行的,否则是无法执行下去的。安装详解:1、先安装nose包。sudo apt-get install python-nose11这个

2017-06-09 09:36:06 321

原创 ubuntu 14.04 添加新硬盘

1 关机,安装新硬盘。然后上电开机。2 检查是否检测到了新硬盘:@Physics-Precision-WorkStation-T5400:~$ ls -l /dev/sd*brw-rw---- 1 root disk 8,  0  5月 23 09:20 /dev/sdabrw-rw---- 1 root disk 8,  1  5月 23 09:20 /dev/sda1brw

2017-05-23 10:53:45 5026

转载 ax+by+c=1 & a^2+b^2=1 why?

Line through two pointsThe line through two distinct points (x1, y1) and(x2, y2) is given by(1)y = y1 + [(y2 - y1) / (x2 - x1)]·(x - x1),where x1 and x2 are assumed to be differe

2016-10-12 16:16:59 369

转载 MATLAB: 3d reconstruction using eight point algorithm

I am trying to achieve 3d reconstruction from 2 images. Steps I followed are,1. Found corresponding points between 2 images using SURF.2. Implemented eight point algo to find "Fundamental mat

2016-09-21 13:44:02 845

转载 ct Reconstruction

Hello everyone,I am trying to reconstruct an image from a projection data mat file. It consists of data with 256 angles of projection. This is the program that I wrote to reconstruct the image. I need

2016-09-06 09:32:43 726

转载 computer vision-calculate fundamental matrix

If you are using one of the calibration images, then all the information you need is in thecameraParams object.Let's say you are using calibration image 1, and let's call it I.First, undistort the

2016-09-02 15:46:44 523

原创 Linux系统中Java版本选择

Linux系统中,如果安装有多个Java版本时(有时候有些软件自行安装),怎样方便的进行切换呢:update-alternatives --config javaupdate-alternatives --config javac例如:[Jack@localhost ~]$ update-alternatives --config javaThere are 2 pro

2016-09-01 14:11:03 1443

转载 mac +opencv +java

之前一篇文章是通过brew的方式安装openCV在mac机器上,在这种情况下默认是没有安装openCV的java环境的,本文讲述如何在Mac OSX上安装opencv和JAVA的环境。本文不是采用的opencv官网上面的编译的方式,是通过MacPorts的安装方式[如果你的mac还没有macports,可以点击这里进行安装],步骤也很简单,如下:1、sudo port selfup

2016-09-01 13:49:26 481

原创 GradeDescent algorithm (Matlab Code)

clc;clear;%set dataX=[3 6 4 7 2 8 5 1];Y=[12 18 15 28 6 16 14 13];esp=0.0003;gamma=0.001; %ratew_old=zeros(size(X',2),1);k=1;figure(1);while 1    minJ_w(k)=1/2*(norm(X'*w_old-Y

2015-12-16 20:57:25 403

RS.SRSZFY.CT_1.dcm

结构文件

2021-06-04

RP.SRSZFY.Plan1.dcm

放射治疗计划系统到处的计划文件。

2021-06-04

RD.SRSZFY.Plan1.dcm

放射治疗中,计划系统中导出的剂量文件。

2021-06-04

Elekta加速器XVI产生的his格式文件

Elekta加速器XVI产生的文件

2021-04-06

oneslice_sample.dcm

CT图像(dicom格式)一张,用来测试

2021-03-17

patch.zip for opencv contrib

needed by the opencv contribution part installed on ubuntu18.04 using cmake

2020-09-08

空空如也

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

TA关注的人

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