C Programming/stdio.h/fopen mode

mode description starts.. r rb open for reading (The file must exist) beginning w wb open for writing (creates file ...

2019-05-23 04:29:08

阅读数 6

评论数 0

quite mode in IDL

idl -quiet

2019-05-23 04:28:31

阅读数 15

评论数 0

Inertia tensor

Inertia Tensor in 2D We can't have rotations in one dimension so two is the lowest number of dimensions to which we can apply this. In two dimension...

2019-02-16 02:47:50

阅读数 156

评论数 0

matrix norm

Matrix Norm Given a square complex or real matrix , a matrix norm  is a nonnegative number associated with  having the properties 1.  when  and  if...

2019-02-16 02:45:58

阅读数 62

评论数 0

vector norm

Vector Norm Given an -dimensional vector (1) a general vector norm , sometimes written with a double bar as , is a nonnegative norm d...

2019-02-16 02:45:24

阅读数 68

评论数 0

What does the determinant of a matrix mean physically

Each  n×nn×n  matrix describes a linear transformation  T:Rn→Rn.T:Rn→Rn.  If you take a figure S⊆Rn,S⊆Rn,  then that transformation maps it to its im...

2019-02-16 02:44:21

阅读数 89

评论数 0

Easiest way to test for existence of cuda-capable GPU from cmake?

#include<cuda.h> int main (){ int deviceCount; cudaError_t e = cudaGetDeviceCount(&deviceCount); retu...

2019-01-31 03:30:44

阅读数 47

评论数 0

CMake Set temporarily the policy CMP0074 to OLD

I'm not sure that if(POLICY CMP0074) # TODO: # 1. Find*.cmake modules need to be individually verified. # 2. PCLConfig.cmake needs to be chan...

2019-01-31 03:29:57

阅读数 170

评论数 0

Outlier removal using Hampel identifier

https://www.mathworks.com/help/signal/ref/hampel.html hampel Outlier removal using Hampel identifier collapse all in page Syntax y = hampel(x) ...

2018-12-01 03:45:40

阅读数 305

评论数 0

Peak signal detection in realtime timeseries data

  Smoothed z-score algo (peak detection with robust threshold) I have constructed an algorithm that works very well for these types of datasets. It...

2018-12-01 03:43:54

阅读数 75

评论数 0

Linux and Unix ps command tutorial with examples

Tutorial on using ps, a UNIX and Linux command for reporting information on running processes. Examples of searching by user, group, executable name ...

2018-12-01 02:26:16

阅读数 53

评论数 0

IDL borrow license from server

IDL borrow license error Harris License Administrator IDL 8.6.0, Nov 21 2016 (325531) (linux x86_64) Wed Nov 14 11:46:28 2018 *** Unable to retrieve...

2018-11-15 11:38:39

阅读数 139

评论数 0

Calculate Rotation Matrix to align Vector A to Vector B in 3d?

Octave/Matlab Implementation The basic implementation is very simple. You could improve it by factoring out the common expressions of dot(A,B) and...

2018-10-05 01:48:27

阅读数 106

评论数 0


  介绍 我们已经知道,傅里叶变换是一种信号处理中的有力工具,可以帮助我们将图像从空域转换到频域,并提取到空域上不易提取的特征。但是经过傅里叶变换后,图像在不同位置的频度特征往往混合在一起,但是Gabor滤波器却可以抽取空间局部频度特征,是一种有效的纹理检测工具。Figure 1: A sin...

2018-08-28 05:50:24

阅读数 495

评论数 0

Determinant of Jacobian of a displacement field

% J = jacobian(S) % Determinant of Jacobian of a displacement field % % Herve Lombaert, Jan. 8th, 2013 % function det_J = jacobian(sx,sy,sz) ...

2018-08-22 03:43:59

阅读数 123

评论数 1

Filtering Images in the Frequency Domain

Can be also implemented directly with Butterworth.pro QUESTION: I've heard about frequency domain filtering of images. How can I build image filters...

2018-08-14 02:26:19

阅读数 204

评论数 0

Calculating center of mass of a array IDL

2D FUNCTION Centroid, array s = Size(array, /Dimensions) totalMass = Total(array) xcm = Total( Total(array, 2) * Indgen(s[0]) ) / total...

2018-07-28 05:24:36

阅读数 106

评论数 0

work gitlab with git

最近准备迁移projects从github到gitlab, 因为有一些代码要放在private repository下。首先在gitlab网页上设置密码,ssh key可以忽略。 打开git bash, 输入 $ git remote add gitlab https://github.com...

2018-07-23 01:06:09

阅读数 104

评论数 0

crop image in given size imagej

you can use physical units in the Edit>Selection>Specify… dialog. Here is how you would do this in a macro: run("Spe...

2018-07-20 06:49:38

阅读数 87

评论数 0

Selected multiple values from a matrix

q = [a c]; p = [b d]; idx=sub2ind(size(M),q,p); out=M(idx)

2018-07-04 03:03:00

阅读数 62

评论数 0

取消 删除