Active Topics

 


Reply
Thread Tools
Posts: 7 | Thanked: 1 time | Joined on Aug 2010 @ USA
#1
Hello All,

I was wondering...has anyone used Fcam before?
I am using FCam and I am trying to capture a shot with RGB24 format but it does not work for me.
So I did something like:
shot.image = FCam::Image(640, 480, FCam::RGB24);
It does not work but if I do:
shot.image = FCam::Image(640, 480, FCam::UYVY);
it worked and I don't understand why RGB24 format never works in FCam for simple capture image.

Can someone help me? Thank you so much,
 
Posts: 46 | Thanked: 392 times | Joined on Apr 2010 @ Stanford University
#2
chun0216,

Thanks for trying out FCam.

Unfortunately, the N900 hardware can only provide two formats for output, either RAW or UYVY. UYVY is what FCamera (and the default camera app) uses for the viewfinder.

If you want RGB24, you'll either have to convert UYVY to RGB yourself, or use the FCam Demosaic function to convert RAW data to RGB24. Note that you can't currently get 640x480 RAW with FCam, but you can get 1280x1024 RAW, at the same rate as 640x480.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:27.