I don't know what to do with these .bin images. I tried to open it using matlab, but I could not understand the format. Also getting lot of errors from the tools I tried to use to open the images. Also in my case, using the good old mplayer command on the new kernel gets me solid green images in png format.

So my questions are :
How do we use pictures in the .bin format?
Can we save pictures in png format using 3.5.0 kernel (Linaro)?
Can ROS be used with the caspa cameras somehow?

If anybody could help to answer one question or more, it would be greatly appreciated.
Thanks,

Do you have some matlab code that would allow me to reformat the image into a (752*480*3) matrix?
And I might be asking too much, but in fact I would prefer this .bin image to be loaded and manipulated in python, since I will have to translate it to python anyway.

Re: Caspa cameras with Linaro 3.5.0 kernel, or using ROS?

About changing image from Bayer format
(http://en.wikipedia.org/wiki/Bayer_filter) which is used by Caspa you
can write simple application in opencv to load an image and format it to
normal RGB and save it in, for example .PNG file.

I don't have any snippets of the code on me, but I can send it later
how to achieve this if you want.

Most of the follow-up posts in your thread deal with the format of the
data. If the captured image is not an actual image in some other
format, converting it won't help much.

I have yet to see evidence that the Caspa can be made functional on a
current Yocto-based gumstix build, though if somebody could confirm that
and give details on a working configuration I might actually start using
Gumstix again.

Peter

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Right now, I do succeed to load the image into matlab BUT it's a full black image. I know that the camera is not the problem, since I did manage to capture a yellowish portrait of me using an old angstrom freeze. Thus, I don't understand why the image capture using a recent OS like Linaro is not working.

I use a Caspa VL, but I don't think it matters to use a VL instead of a FS, since the difference is the infrared filter for all I know.

Re: Caspa cameras with Linaro 3.5.0 kernel, or using ROS?

This post has NOT been accepted by the mailing list yet.

I tried yours. You were very close. The Trick was that by default rgb is in Matlab between 0.0:1.0 and your numbers were between 1 :2^10
So if anybody find this post try:
(btw mine is still not correct cause it just takes the highest number. but it will at least show u sth else than a black screen)