Blog

SSlicer

Slightly off-topic with regard to recent posts, I’ve found an old piece of code which I figured could be published. It’s image slicing utility. Load an image, draw regions using LMB + drag, name and/or remove regions using double-click, export slices using menu or toolbar. A very straightforward tool, replacement […]

Animated normal maps simulating geometry displacement

As promised – application example of Flow Editor‘s new functionality – an animation map. I created a high-poly model of an alien eyeball in Blender and texture-painted it. Then I baked the color map and normal map onto a regular low-poly sphere. After loading the generated color map into Flowed, […]

Flow Field Editor Still Alive

I’ve come up with some new ideas for what seemed a completed tool. This release of FFE (“Flow Field” Editor) has changed significantly, so I will describe it from scratch. Introduction What FFE now produces is in general an image. It can be created from: flow field points, color points, […]

mat_joy – MATLAB Interface for Joysticks

Admittedly, it already exists – http://code.google.com/p/prok-screen/ but its awkward way of doing things (exposing functions using ActiveX server) was a bit of overkill for our needs. Hence, this stripped down, pure MEX version. Enjoy. Usage: [position, buttons] = mat_joy(joystick_id), where: joystick_id – joystick identifier (0-15), position – list of joystick […]

GraviBall Demo

A small Unity3D game I started creating recently. Features custom character controller and several interesting transparent materials. It will get more fascinating as I come up with new ideas to employ the non-orthodox game physics. Game created in Unity Indie. All geometry and textures were created in Blender.

Thin-Git Update: Commit bug fix

I’ve update JGit to version 2.0.0.201206130900 which should fix for some people the following problem when making commits: java.io.EOFException: Input did not match supplied length. 2042 bytes are missing. Enjoy! DOWNLOAD: thin-git.zip

Save SPM8 results with anatomical labels

Hi there! This little script saves cluster-level SPM results along with anatomical labels to spm_results_with_anat.txt file in the current directory. Results are appended to the file, so that you can run it repeatedly for different contrasts. It requires SPM8. Included are AAL atlas files: aal_MNI_V4.nii, aal_MNI_V4.txt and atlas to anatomical […]

Faster dot product for SVM

If you’ve ever used SVM for classification of 3D images, you’re probably a big fan of the kernel trick as it improves SVM performance significantly when working with such huge sets of features. I’m working in neuroscience at the moment and I think it’s fair to say that using SVM […]

ls_kmeans

Just in case you’re missing the Stats toolbox, a KMeans implementation for MATLAB. DOWNLOAD: ls_kmeans.zip

explore_matlab_path: Tree-based MATLAB source code browser

In my opinion MATLAB is rather lacking when it comes to modern software development. One of the things which always pissed me off is the absence of proper code hierarchy browser. Sure – there is current directory window but it displays everything, not only source code files and doesn’t provide […]