the background to my question is: i am currently developing a system for 
the detection and
recognition of traffic signs. for this i use color segmentation in hsv 
color space. the system
works well via webcam und desktop pc.

i have ported this algorithm to android via java native interface / android 
ndk. however, i realized
that android makes use of some image enhancements e.g. white balance.

these changes on the picture, especially caused by the automatic white 
balance, have strong
influence on the color segments. even various modes such as

WHITE_BALANCE_AUTO
WHITE_BALANCE_CLOUDY_DAYLIGHT
WHITE_BALANCE_DAYLIGHT
WHITE_BALANCE_FLUORESCENT
WHITE_BALANCE_INCANDESCENT

do not work realiably.

for displaying my camera pictures i implement a surfaceview.

here are my questions:
1) is there a possibility to acces the image / image data without 
consideration for the automatic image enhancements which are provided by 
the android camera api?

2) if not, is there a possibility to individually disable the 
above-mentioned image enhancements?
methods such as setAutoWhiteBalanceLock() only cause me a black screen. 
Regarding the
camera lifecycle, where exactly does this lock have to be activated? this, 
however, would only
be an emergency solution as for the first frames the white balance is 
applied and will then only 
be blocked.

thanks in advance!



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to