Libstereo is a project mainly written in C and SHELL, it's free.
A library for generating autostereograms