原创 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

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

在編譯Geant4相關項目的時候發現對CMake的版本要求是3.9以上,但是通過update和upgrade的操作之後CMake的版本還是停留在3.5的狀態,那就只能使用源碼的方法安裝了。 具體的操作過程如下: 1.下載CMake 打開c

原创 GradeDescent algorithm (Matlab Code)

clc; clear; %set data X=[3 6 4 7 2 8 5 1]; Y=[12 18 15 28 6 16 14 13]; esp=0.0003; gamma=0.001; %rate

原创 ax+by+c=1 & a^2+b^2=1 why?

Line through two points The line through two distinct points (x1, y1) and (x2, y2) is given by (1) y = y1 + [(y2 - y1)

原创 ubuntu 14.04 添加新硬盤

1 關機,安裝新硬盤。然後上電開機。 2 檢查是否檢測到了新硬盤: @Physics-Precision-WorkStation-T5400:~$ ls -l /dev/sd* brw-rw---- 1 root disk 8,  0 

原创 VTK 體重建代碼

有時候使用表面重建不能顯示細節。因此使用VolumeRender纔好。見代碼:#include "base.h"void show(vtkSmartPointer<vtkRenderer> renderer){    // show th

原创 Numpy he scipy 的安裝

Numpy he scipy 的安裝 scipy的安裝需要依賴於numpy、lapack、atlas(後兩者都是線性代數工具包,不清楚的自行google之。。。),而numpy和sci的測試程序的運行又依賴於nose,因此,整個安裝過程必

原创 Linux系統中Java版本選擇

Linux系統中,如果安裝有多個Java版本時(有時候有些軟件自行安裝),怎樣方便的進行切換呢: update-alternatives --config java update-alternatives --config javac 例

原创 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

原创 mac +opencv +java

之前一篇文章是通過brew的方式安裝openCV在mac機器上,在這種情況下默認是沒有安裝openCV的java環境的,本文講述如何在Mac OSX上安裝opencv和JAVA的環境。 本文不是採用的opencv官網上面的編譯的方式,是通

原创 ct Reconstruction

Hello everyone,I am trying to reconstruct an image from a projection data mat file. It consists of data with 256 angl

原创 computer vision-calculate fundamental matrix

If you are using one of the calibration images, then all the information you need is in the cameraParams object. Let's