Category: Matlab

[Kinect] use with Matlab

I have recently purchased a Kinect camera (although I do not even own an X-Box). It’s main purpose is to get the multi-touch working on it. Well, multi-touch: multi-sky-touch that is. For this i...

[3D] Sky Touch 3D objects with Matlab

[3D] Sky Touch 3D objects with Matlab

So as a viewer for 3D objects I thought that sky-touch would be a nice tool to use. That means that you would be waving in the sky (remember Minority Report) and the 3D...

[3D] Reconstruct object from multiple Kinect captures in Matlab

[3D] Reconstruct object from multiple Kinect captures in Matlab

This code written in Matlab demonstrates how to reconstruct 3D information from an object, using multiple orientated images captured with the Kinect. You need at least 1 image for the reconstruction, and then you...

[3D] Draw in air with Wii controller in Matlab

[3D] Draw in air with Wii controller in Matlab

This code in matlab enables you to write with your wiimote in free-air to a pointcloud. So you can make a 3d drawing! You can draw in the air, either connected lines or just...

[Matlab] Execute Matlab function from C#

This code makes you execute a matlab function from C#. Essentially, C# runs a Matlab instance, so you can run any command or function from C# in Matlab. I needed this to make a...

[3D] Depth map from 2 images

[3D] Depth map from 2 images

With this code written in matlab, you can get a depth map from 2 images or pictures. These two images should be the equivalent of the left eye and the right eye. This is...

[2D] Largest Area

This function for Matlab gets all the largest areas from a binary image, larger than a given threshold as a factor [0-1] of the largest found area. function [outim] = largestarea(im,threshold)% Tim Zaman ©...

[3D] Ransac (get planes from point clouds)

[3D] Ransac (get planes from point clouds)

With this code in Matlab you can get planes or surfaces from point clouds (points in space). It uses the RANSAC algorithm and a LSQ function in the bottom. I have made two alrogithms,...