Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Monday, 23 January 2012

Global line simplification algorithm POC

I created this line simplification algorithm as a proof-of-concept for a school exercise. The simplification is based on "Ramer–Douglas–Peucker algorithm" (Wikipedia entry), which is a global simplification algorithm. Code is written in Python, which doesn't support recursion too well. Python will throw you with an ugly "maximum recursion depth exceeded" error if the line consists of too many points and the tolerance value is too low.

I will only release the python source because the software doesn't really do anything interesting, but anyone interested can take a look. The file jGeom.py contains required classes and geomUI.py is the crude runnable UI-implementation. I you implement my code on your project, please credit me as the original author.

Download page



Saturday, 21 January 2012

MPO converter Release 2

Taking awesome stereoscopic photos with your Nintendo 3DS but on your computer you only see one picture and a weird .mpo-file? Well here is a solution! This software extracts both left and right pictures and saves them as standard .jpg-files. Then you can convert them to anaglyph picture or edit them as you wish.

Software is completely open source and written in Python. There are standalone versions for Windows and Mac and a .py-file for Unix users. You are also free to implement my algorithm to your own software if you wish. Just credit me as the original author.

Download now:
https://sites.google.com/site/joonamo2/files
The Download includes Windows and Mac versions, source and a sample file.

Update: Tutorial for creating anaglyph (red/cyan) photos with 3ds:
http://joonamo.blogspot.com/2012/01/tutorial-make-anaglyph-redcyan-pictures.html