image thumbnail

updated 25 days ago

Remove image white margin by Quan Wang

This script removes the wide margins of images generated when saving Matlab figures (image processing)

RemoveImageWhiteMargin.m

image thumbnail

updated 26 days ago

Active geometric shape models by Quan Wang

The active geometric shape model is a novel approach for fitting a geometric shape in images. (image processing, mathematics, optimization)

AGSM Canvas

DD=myspline(D,theta)

GI=gaussianBlur(I,s)

image thumbnail

updated 29 days ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Computing distance matrix without loops (data, distance, matrix)

D=distanceMatrix(X)

demo.m

image thumbnail

updated 1 month ago

GMM-HMRF by Quan Wang

GMM-Based Hidden Markov Random Field for Color Image and 3D Volume Segmentation (image processing, optimization, pattern recognition)

GI=gaussianBlur(I,s)

GMM=get_GMM(X,Y,g)

GMM=get_GMM(X,Y,g)

image thumbnail

updated 1 month ago

HMRF-EM-image by Quan Wang

Implementation of the Hidden Markov Random Field Model and its Expectation-Maximization Algorithm (markov random field, expectationmaximizati..., image segmentation)

GI=gaussianBlur(I,s)

[X mu sigma]=HMRF_EM(X,Y,Z,mu,sigma,k,EM_iter,MAP_iter)

[X mu sigma]=image_kmeans(Y,k)

image thumbnail

updated 1 month ago

Fast Gradient Vector Flow (GVF) by Quan Wang

This package implements the Gradient Vector Flow (GVF) in C++/MEX. (image processing, image segmentation, pattern recognition)

GI=gaussianBlur(I,s)

demo.m

image thumbnail

updated 1 month ago

Decision Tree and Decision Forest by Quan Wang

This software implements decision tree/forest classifier in C++/MEX. (image processing, pattern recognition, machine learning)

TrainDecisionForest(X,Y,forestPath,forestSize,depth,noc)

[Y,P]=RunDecisionForest(X,forestPath)

demo.m

image thumbnail

updated 1 month ago

Dynamic Time Warping (DTW) by Quan Wang

This package implements Dynamic Time Warping (DTW). (signal processing, machine learning, time series)

d=dtw(s,t,w)

demo_dtw.m

image thumbnail

updated 9 months ago

Binary Fisher LDA by Quan Wang

This package implements binary Fisher linear discriminant analysis in both Matlab and Java (statistics, machine learning, pattern recognition)

[l,precision,recall,accuracy,F1]=fisher_testing(f,w,t,l0,...

[w,t,fp]=fisher_training(f,l)

demo.m

image thumbnail

updated 10 months ago

Efficient Multidimensional Scaling (MDS) by Quan Wang

The is the source code of iterated Levenberg-Marquardt algorithm (ILMA) for solving MDS (mathematics, optimization, pattern recognition)

CM=confusion_matrix_reorder(CM)

[X, total_cost]=MDS_training(Dist,d,iter,strategy,display...

[X2]=MDS_encoding(X1,Dist,display_flag)

image thumbnail

updated 1 year ago

Kernel PCA and Pre-Image Reconstruction by Quan Wang

standard PCA, Gaussian kernel PCA, polynomial kernel PCA, pre-image reconstruction (signal processing, large data, dimension reduction)

K=kernel(X,type,para)

Y=PCA(X,d)

[Y, eigVector, para]=kPCA(X,d,type,para)

image thumbnail

updated 1 year ago

GPU Implementation for GVF Force Field by Quan Wang

We implement the GVF force field on GeForce GPU using CUDA. (image processing, optimization, signal processing)

info =mha_read_header(filename)

mha_read_volume(info)

Contact us