image thumbnail

updated 15 days ago

iPeak: Interactive Peak Detector (Version 6) by Tom O'Haver

Keypress operated interactive peak detector function. (analytical chemistry, chemistry, instrumental analysis)

FPB=findpeaksb3(x,y,SlopeThreshold,AmpThreshold,smoothwid...

P=findpeaks(x,y,SlopeThreshold,AmpThreshold,smoothwidth,p...

P=findpeaksE(x,y,SlopeThreshold,AmpThreshold,smoothwidth,...

image thumbnail

updated 17 days ago

MVTec Halcon Wrapper by Dirk-Jan Kroon

MVTec Halcon function mex-wrapper (mvtec, halcon, medianimage)

tline_old;

compile_cpp_code.m

generate_help_files.m

image thumbnail

updated 21 days ago

Peak Fitter by Tom O'Haver

Command-line peak fitter for time-series signals. Version 5.4, June, 2014 (chemistry, curve fitting, decomposition)

[FitResults,LowestError,baseline,BestStart,xi,yi,BootResu...

image thumbnail

updated 21 days ago

Interactive Peak Fitter (Version 10.4) by Tom O'Haver

Keyboard operated peak fitting function for time-series signals. (chemistry, physics, peak fitting)

DemoPeakfitBootstrap

ExpBroaden(y,t)

IPFDemo11Gauss

image thumbnail

updated 1 month ago

ifilter: Interactive Fourier filter function, version 4 by Tom O'Haver

Keyboard-operated interactive Fourier filter function for time-series signals. (communications, measurement, signal processing)

ry=ifilter(ix,iy,icenter,iwidth,ishape,imode,ifilt)

image thumbnail

updated 4 months ago

iSignal 3 by Tom O'Haver

Interactive smoothing, differentiation, peak sharpening and measurement of time-series signals. (signal processing, data import, chemistry)

Processed=ProcessSignal(x,y,DerivativeMode,w,type,ends,Sh...

[pY,SpectrumOut]=isignal(DataMatrix,xcenter,xrange,sm,sw,...

isignaldemo2

image thumbnail

updated 5 months ago

Senz3D Acquisition interface by Dirk-Jan Kroon

Creative Senz3D, Intel Interactive Gesture Camera (Time of Flight), Acquisition interface. (senz3d, gesture, intel)

WorldCoordinates2ColorImage(XYZ, UV,sizeI)

compile_cpp_files.m

example.m

image thumbnail

updated 6 months ago

Patch Curvature by Dirk-Jan Kroon

Principal, Gaussian and Mean Curvature of triangulated mesh (curvature, gaussian, principal)

[Cmean,Cgaussian,Dir1,Dir2,Lambda1,Lambda2]=patchcurvatur...

image thumbnail

updated 8 months ago

Peak finding and measurement by Tom O'Haver

Function to locate and measure the positive peaks and valleys in noisy data sets. (chemistry, physics, peak detection)

P=findpeaks(x,y,SlopeThreshold,AmpThreshold,smoothwidth,p...

P=findpeaksGSS(x,y,SlopeThreshold,AmpThreshold,smoothwidt...

P=findpeaksL(x,y,SlopeThreshold,AmpThreshold,smoothwidth,...

image thumbnail

updated 1 year ago

Kinect Matlab by Dirk-Jan Kroon

Microsoft Kinect, OpenNI wrapper, Skeleton, Depth (kinect, microsoft, skeleton)

J=imagemax(Iin)

[I_SSD,I_NCC]=template_matching(T,I)

compile_cpp_files(OpenNiPath)

image thumbnail

updated 1 year ago

Method for quantitative absorption spectroscopy, version 2.1 by Tom O'Haver

A computational method for quantitative analysis by multiwavelength absorption spectroscopy (chemistry, physics, absorption spectrosco...)

CalculateTfit(x,y,InstFunction,width,absorbance,InstWidth...

TFit3A1(n,h)

TFit3A2(n,h)

image thumbnail

updated almost 2 years ago

Demo functions for peak detection and fitting. by Tom O'Haver

A collection of self-contained demonstration functions for iPeak.m and peakfit.m. (signal processing, peak detection)

DemoPeakfitBootstrap

PeakFitDemo11Lor

idemo

image thumbnail

updated almost 2 years ago

Matrix Inverse using LU factorization by Dirk-Jan Kroon

Example code LU decomposition with partial pivoting, also forward substitution, and Matrix inverse. (lu, lu factorization, lu decomposition)

Ainv=MatrixInverse(A)

C=TriangleBackwardSub(U,b)

C=TriangleForwardSub(L,b)

image thumbnail

updated 2 years ago

Polygon2Voxel by Dirk-Jan Kroon

Convert a triangulated mesh into a voxel volume (discretization, mesh, polygons)

Volume=polygon2voxel(FV,VolumeSize,mode,Yxz)

Volume=polygon2voxel_double(FacesA,FacesB,FacesC,Vertices...

image thumbnail

updated 2 years ago

Tiff Tag Reader by Dirk-Jan Kroon

A one file implementation of Tag-reader for complex Tiff files. (tiff, tif, tag)

[TiffInfo,Img]=tiff_read_header(filename)

image thumbnail

updated 2 years ago

Corresponding Points through MDL by Dirk-Jan Kroon

Minimum Description Length optimization of PCA model for 2D/3D ASM model building (mdl, minimum description l..., pca)

A=imresize3d(V,scale,tsize,ntype,npad)

AffineGradient2D( UpdateAffine,mappingdata,options)

Alpha=UniformLine(nLandmarks)

image thumbnail

updated 2 years ago

Active Shape Model (ASM) and Active Appearance Model (AAM) by Dirk-Jan Kroon

Cootes 2D/3D Active Shape & Appearance Model for automatic image object segmentation and recognition (asm, active shape model, active shape)

A=imresize3d(V,scale,tsize,ntype,npad)

AAM_2D_example.m

AAM_3D_train_example.m

image thumbnail

updated 2 years ago

Shape Context Based Corresponding Point Models by Dirk-Jan Kroon

Shape Context based nonrigid registration of 2D/3D objects, to build Active Shape Models (shape context, corresponding point m..., corresponding points)

A=imresize3d(V,scale,tsize,ntype,npad)

A=imresize3d(V,scale,tsize,ntype,npad)

A=imresize3d(V,scale,tsize,ntype,npad)

image thumbnail

updated 2 years ago

Classic AdaBoost Classifier by Dirk-Jan Kroon

Weak threshold classifier boosted to strong Classifier with Adaboost (adaboost, boosting, classifier)

[estimateclasstotal,model]=adaboost(mode,datafeatures,dat...

example.m

image thumbnail

updated 2 years ago

Export multiple Matlab surfaces to a single Avizo© (VSG) compatible surface by Sheng Yue

Export multiple Matlab surfaces to a single Avizo© (VSG) compatible surface ((HyperSurface 0.1 ASCII (avizo, amira, hypersurface)

writeAvizoSurfMulti.m

image thumbnail

updated 2 years ago

Export a Matlab surface to an Avizo© (VSG) compatible surface by Sheng Yue

Export a single surface defined by vertices and triangular faces to an Avizo compatible surface (usagewriteavizosurff, v, filename)

writeAvizoSurf.m

image thumbnail

updated 2 years ago

Kinect Microsoft SDK by Dirk-Jan Kroon

Video, Audio, Depth Stream and Skeleton tracking (microsoft sdk, 2d, 3d)

compile_cpp_files(MicrosoftSDKPath)

Example.m

ExampleMicrophone.m

image thumbnail

updated 2 years ago

Snake : Active Contour by Dirk-Jan Kroon

Snake Segmentation (Kass et al), 2D/3D including GVF and balloon force (Easy to read code) (snakes, active, contour)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ExternalForceImage2D(I,Wline, Wedge, Wterm,Sigma)

image thumbnail

updated 2 years ago

Diffraction grating, version 2 by Tom O'Haver

Aids for learning and teaching about the principles of diffraction gratings. (chemistry, physics, optics)

interference

monograting

ordergrating

image thumbnail

updated 2 years ago

iPower: Interactive Power Spectrum Demonstrator, Version 2 by Tom O'Haver

Keyboard-controlled self-contained interactive power spectrum demonstrator with sound output. (communications, demo, signal processing)

ipower

image thumbnail

updated 2 years ago

Web Server by Dirk-Jan Kroon

HTTP Matlab Web Server, allows m-files to be executed in a browser (http, server, matlab)

[TCP,data]=JavaTcpServer(action,TCP,data,config)

header=make_bin_http_header(html,found)

header=make_html_http_header(html,found)

image thumbnail

updated 2 years ago

2D Line Curvature and Normals by Dirk-Jan Kroon

Accurate Curvature and Normals of a line/contour consisting of 2D points (normals, normal, curvature)

N=LineNormals2D(Vertices,Lines)

k=LineCurvature2D(Vertices,Lines)

image thumbnail

updated 2 years ago

plotdata, version 2 by Tom O'Haver

A simple data plotting function, useful for plotting x,y data and polynomial fitting. (signal processing, data import)

[coef, RSquared]=plotdata(xi,yi,polyorder)

image thumbnail

updated almost 3 years ago

Wavefront OBJ toolbox by Dirk-Jan Kroon

Read and Write Wavefront OBJ geometry and MTL files (obj, wavefront, wobj)

OBJ=read_wobj(fullfilename)

write_wobj(OBJ,fullfilename)

image thumbnail

updated almost 3 years ago

Matlab 3D figure to 3D (X)HTML by Dirk-Jan Kroon

Converts 3D objects of a Matlab figure to XHTML embedded X3D file. Interactive 3D website graphics. (xhtml, x3d, webgl)

[F,V,Cface,Cedge,E,T]=surf2FV(Obj)

[data,loc]=XMLaddNode(name,data,loc)

[data,loc_body]=XHTMLheader(options)

image thumbnail

updated 3 years ago

IDpeak: Peak Identifier Function by Tom O'Haver

Function to identify peaks in a signal based on a database of known peaks. (signal processing, measurement, data import)

[IdentifiedPeaks,AllPeaks]=idpeaks(DataMatrix,AmpT,SlopeT...

image thumbnail

updated 3 years ago

Showvol Isosurface Render by Dirk-Jan Kroon

GUI to show Isosurface of volume data, with fast preview render (isosurface, iso, surface)

showvol(varargin)

image thumbnail

updated 3 years ago

Dicom Toolbox by Dirk-Jan Kroon

Search/Read/Write dicom folders and dicom volumes (dicom, read, write)

V=dicom_normalize(V,info)

choose_from_list(varargin)

datasets=dicom_folder_info(link,subfolders)

image thumbnail

updated 3 years ago

Interactive Power Spectrum Demo, Version 2 by Tom O'Haver

Interactive signal generator with power spectrum display and sound output (spectral analysis, power spectrum signal...)

RedrawFourierFilter

SampleRateSlider(n,h)

SamplingtimeSlider(n,h)

image thumbnail

updated 3 years ago

B-spline Grid, Image and Point based Registration by Dirk-Jan Kroon

B-spline registration of two 2D / 3D images or corrsp. points, affine and with smooth b-spline grid. (geometric transformat..., image registration, registration)

A=imresize3d(V,scale,tsize,ntype,npad)

Dlocal=jacobiandet_transform_2d_double(Ox,Oy,Isize,dx,dy)

E=strain(Ux,Uy,Uz)

image thumbnail

updated 3 years ago

Isocontour by Dirk-Jan Kroon

Find ISO-contour geometry in a 2D image using marching-squares, and sort the contour objects (isocontour, iso, contour)

[Lines,Vertices,Objects]=isocontour(I,isovalue)

image thumbnail

updated 3 years ago

Dicom Tags Read and Write by Dirk-Jan Kroon

Read / Write raw Dicom tags with large dictionary, for small file manipulations, like anonymize (dicom, dcm, tags)

CreateDicomDict(filename)

WriteDicomElementList(Elements,fname)

elementlist=ReadDicomElementList(fname)

image thumbnail

updated 3 years ago

Read Medical Data 3D by Dirk-Jan Kroon

GUI to open most Medical file-formats: Dicom, V3D, ISI, NifTI, Analyze and other formats (dicom, dcm, v3d)

ErrorData3D(varargin)

InfoData3D(varargin)

ReadData3D(varargin)

image thumbnail

updated 3 years ago

Fast/Robust Template Matching by Dirk-Jan Kroon

Template Matching with SSD Block Matching and Normalized CC, (color) 2D and 3D (template, template matching, matching)

[I_SSD,I_NCC,Idata]=template_matching(T,I,IdataIn)

image thumbnail

updated 3 years ago

HistConnect by Dirk-Jan Kroon

Smooth histograms for sparse sampled signals and images, using low-frequency assumption. (histogram, hist, linear interpolation)

H=HistConnect(X,B,R)

image thumbnail

updated 3 years ago

List Video Codecs, FourCC by Dirk-Jan Kroon

Lists all available video compressors for usage with avifile in Matlab (fourcc, cc, four)

varargout=getfourcc

image thumbnail

updated 3 years ago

Viewer3D by Dirk-Jan Kroon

MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI (volume render, volume rendering, mip)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ErrorData3D(varargin)

image thumbnail

updated 3 years ago

Plot to Bitmap by Dirk-Jan Kroon

Plot lines (and text) directly into a bitmap, including filled polygons. (bitmap, image, text)

I=bitmapplot(x,y,Ibackground,options)

I=bitmaptext(lines,I,pos,options)

image thumbnail

updated 3 years ago

Accurate Fast Marching by Dirk-Jan Kroon

Multistencils second order Fast Marching 2D and 3D including rk4 shortest path and skeletonize (msfm, multistencils, multi stencils)

S=skeleton(I,verbose)

ShortestLine=shortestpath(DistanceMap,StartPoint,SourcePo...

[Fy,Fx,Fz]=pointmin(I)

image thumbnail

updated 3 years ago

MenuBar by Dirk-Jan Kroon

Create Menu Bar (s) on any location in a figure window (menubar, uipanel, uicontextmenu)

menubar(varargin)

test(varargin)

image thumbnail

updated 3 years ago

structfind by Dirk-Jan Kroon

Search for a value, cell or string inside a Matlab struct (structfind, struct, find)

index=structfind(a,field,value)

image thumbnail

updated 3 years ago

GPUCONV2 by Dirk-Jan Kroon

Example, Matlab R2010B Cuda CONV2 on GPU using Cuda kernels (cuda, conv2, gpu)

gpuconv2(A,B,SHAPE)

nvcc(varargin)

image thumbnail

updated 3 years ago

NVCC cuda compiler wraper by Dirk-Jan Kroon

Compile cuda kernels in Matlab, like nvcc('example.cu') (cuda, kernel, cuda kernel)

nvcc(varargin)

image thumbnail

updated 3 years ago

Viola Jones Object Detection by Dirk-Jan Kroon

Viola Jones Object detection using OpenCV trained classifiers (opencv, xml, face)

ConvertHaarcasadeXMLOpenCV(filename)

GetIntergralImages(Picture,Options)

HaarCasadeObjectDetection(IntegralImages,HaarCasade,Optio...

image thumbnail

updated 3 years ago

Reset M-lint files by Dirk-Jan Kroon

Removes, M-lint caused your previous MATLAB session to terminate unexpectedly (red, mlint, r2010a)

ResetMlint

Contact us