image thumbnail

updated 2 months 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 6 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 8 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 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 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 almost 3 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 almost 3 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 almost 3 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 almost 3 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 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 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

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

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 almost 4 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 almost 4 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

image thumbnail

updated almost 4 years ago

FMINLBFGS: Fast Limited Memory Optimizer by Dirk-Jan Kroon

Quasi newton limited memory BFGS and Steepest decent optimizer for large amount of unknowns (optimization, optimizer, bfgs)

fminlbfgs.m

myfun(x)

example.m

image thumbnail

updated almost 4 years ago

HexCompare by Dirk-Jan Kroon

Basic hex editor for viewing and comparing files (hexedit, hex, edit)

hexcompare(varargin)

image thumbnail

updated almost 4 years ago

Fast Non-Local Means 1D, 2D Color and 3D by Dirk-Jan Kroon

NL-means image and signal denoising filter based on similarity between pixel patches (nonlocal, means, nlmeans)

J=NLMF(I,Options)

NLMF2Dtree(I, Options)

image thumbnail

updated almost 4 years ago

Image Edge Enhancing Coherence Filter Toolbox by Dirk-Jan Kroon

Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) (scheme, diffusion scheme, diffusion)

CoherenceFilter(u,Options)

D=derivatives(I,option)

I=imgaussian(I,sigma,siz)

image thumbnail

updated almost 4 years ago

OpenSURF (including Image Warp) by Dirk-Jan Kroon

SURF (Speeded Up Robust Features) image feature point detection / matching, as in SIFT (registration, surf, opensurf)

D=FastHessian_BuildDerivative(r,c,t,m,b)

Iout=affine_warp(Iin,M,mode)

PaintSURF(I, ipts)

image thumbnail

updated 4 years ago

Separate Kernel in 1D kernels by Dirk-Jan Kroon

Decompose an arbitrary N dimensional filtering kernel into 1D kernels, for faster filtering (image, 2d, 3d)

[K1 KN ERR]=SeparateKernel(H)

image thumbnail

updated 4 years ago

Read Truevision TARGA images by Dirk-Jan Kroon

Truevision TARGA file-format image reader, for extensions TGA, VDA, ICB VST (truevision, targa, tga)

tga_read_header(fname)

tga_read_image(info)

image thumbnail

updated 4 years ago

Texture Patch by Dirk-Jan Kroon

Show a 3D triangulated mesh ( patch ) with a texture (texture, patch, 3d)

mouse3d(varargin)

patcht(FF,VV,TF,VT,I,Options)

image thumbnail

updated 4 years ago

mouse3d by Dirk-Jan Kroon

Easily zoom, pan, rotate the camera in a Matlab axis with left/center/right mouse button (mouse, mouse control, 3d)

mouse3d(varargin)

image thumbnail

updated 4 years ago

Mesh2Tetra by Dirk-Jan Kroon

Convert a closed triangulated mesh to a tetrahedron volume ( like constrained Delaunay ) (constrained delaunay, delaunay, delaunayn)

C=PointToClosestPointOnPlane(A,B,C,P)

Faces=GetRemainingFaces(T,F,V)

InsidePoints3D(V,F)

image thumbnail

updated 4 years ago

String2Hash by Dirk-Jan Kroon

Convert a String Array (Text) to a hash code (hash, string, string2hash)

hash=string2hash(str,type)

image thumbnail

updated 4 years ago

maxNumCompThreads Replacement by Dirk-Jan Kroon

Returns the number of available CPU cores (maxnumcompthreads, cpu, linux)

maxNumCompThreads(varargin)

image thumbnail

updated 4 years ago

multimodality non-rigid demon algorithm image registration by Dirk-Jan Kroon

non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf. (transforms, nonrigid image regist..., nonrigid)

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

E=strain(Ux,Uy,Uz)

I3=movepixels(I1,Tx,Ty,Tz,mode)

image thumbnail

updated 4 years ago

Smooth Triangulated Mesh by Dirk-Jan Kroon

Accurate smoothing of triangulated patch / mesh (curvature, curvature flow, smoothing)

FV2=smoothpatch(FV,mode,itt,lambda,sigma)

Ne=vertex_neighbours(FV)

Ne=vertex_neighbours_double(Fa,Fb,Fc,Vx,Vy,Vz)

image thumbnail

updated 4 years ago

Patch Software Render by Dirk-Jan Kroon

Patch Software Render with Phong-shading, shadows and textures (software render, render, renderer)

FV=read_wobj(filename)

J=renderpatch(I,FV)

N=patchnormals(FV)

Contact us