Upload
joleen-franklin
View
223
Download
3
Tags:
Embed Size (px)
Citation preview
ITCS 3134 Final ProjectAmmar Ahmed and James Reetzke
Exposure LockFind a good exposureLock it inMatch every preview frame
afterwardsusing Histogram Matching
Model picture
Original picture Histogram matched picture
Original Samples
Hist. Matching to Locked Image Hist. Matching to Saved Image Save Matched Image to Disk Adjustable Blend Between Original and
Matched
Start the camera ( cam.open(), cam.startPreview() )
Intercept camera byte data Convert from YCbCr to RGB Make Bitmap from RGB Draw Bitmap to Screen Draw Button to Screen
On Lock Button Pressed: Get and Save Histogram for Current Frame or
Saved Image Get Histogram for Next Frame Find CDF for every Channel on Source Image
Hist. Do Histogram Matching between Current Frame
Hist. and Model Frame Hist. Store RGB Mapping Information Apply Color Transformation to Current Frame Draw Modified Pixels to Screen
On Shutter Button Pressed: Intercept Full Res. RGB Data from Camera Apply current RGB mappings to Full Res. Pixels Write Modified Pixels to Disk
OptionsMenuOptionsMenu
SurfaceView
decodeYUV420SPimHistCDF
histoMatchRGBintXFormRGB
SurfaceView
decodeYUV420SPimHistCDF
histoMatchRGBintXFormRGB
SeekBarSeekBar Camera Preview
Photo GridPhoto Grid
AdapterView
AdapterView
Model Picture
Original picture Hist. Matched Image
Model Picture
Original picture Hist. Matched Image
Model Picture
Original picture Hist. Matched Image
Model Picture
Original picture Hist. Matched Image
Model Picture
Original picture Hist. Matched Image
Model Picture
Original picture Hist. Matched Image
New Environment (Android Noobs)Compatibility (64 bit )Going from Hex to RGB Int (Bit
Shifting)Debugging and Testing Image Results not always Attractive
GPU accelerationAccelerometer IntegrationWeather data and GPS dataVideo Recording