Fixes bugs: vec3f->vec3b

Awesome version, but it corrupted in my Ubuntu 12.04 when I set the number of superpixels above 1000.
Actually, it corrupted at line #274 when it tried to assign a Vec3f variable to a Vec3b variable. 

Thanks!