Donnerstag, 21. März 2013

Texture Gradient


Today i finished my first implementation of a texture gradient in python:

Today i will just post the results. The code will be available soon.



Input image
Texton distribution (with 36 textons)

Result ( ~ 20 seconds on 2x2 Ghz with non optimized code)

Update:
The code is at  https://github.com/DerThorsten/superimage/blob/master/superimage/texute_gradient.py 

The code needs my fork of vigra

Donnerstag, 7. März 2013

2d - Cgp in Vigra

A cgp-like graph for 2d segmentations in vigra:
The code does the same as this package, only in 2d.

Here is a short bit of code I wrote to see if my 2d cgp is working.
This is still very unstable code, and some members have strange names, but this
will be fixed soon.
The code is in my fork : https://github.com/DerThorsten/vigra

Donnerstag, 13. Dezember 2012

Slic Superpixels


I was bored so i implemented a pure python of slic superpixels.
http://ivrg.epfl.ch/supplementary_material/RK_SLICSuperpixels/  for the
paper.
The python code needs vigranumpy just to open the image and to compute
the gradient magnitude of the image. One can easy replace this to remove
the vigra numpy dependency.
The rest is just default stuff like numpy and matplotlib to visualize stuff.

https://github.com/DerThorsten/vision/

A part of my code is based on a great post of the blogger Peekaboo:
peekaboo-vision.blogspot.de region-connectivity-graphs-in-python


update:
 
 i also implemented it in C++ using the vigra-library .
It is soooo fast. Code will be added to github in a few days.
arrsoooo

Donnerstag, 29. November 2012

Optimization Seminar - Fast correlation clustering for image segmentation

I did a seminar where I had to summarize the paper:
 Fast correlation clustering for image segmentation [Yarkony et. al 2012].

Since i think my talk was successful i decided to share my slides an my
short summary of the paper.

I decided to put (all pdfs) on www.pdfcast.org

The slides can be found at: Slides
The short summary at : Summary

Mittwoch, 28. November 2012

C++ Benchmark: std::vector vs. std::list—Baptiste Wicht

A very nice benchmark comparing std::vector vs std::list can be found here.

C++ Benchmark: std::vector vs. std::list—Baptiste Wicht

Seems that i use std::vector where i should =)

OpenGM Python

An (improved) Python-Wrapper for OpenGm 2 OpenGM can be found
at my github https://github.com/DerThorsten/opengm .
This is still a beta version but seems to work without trouble (in most cases).

A major update in the inference system will be added soon.