Presentation is loading. Please wait.

Presentation is loading. Please wait.

ITCS 3134 Final Project Ammar Ahmed and James Reetzke.

Similar presentations


Presentation on theme: "ITCS 3134 Final Project Ammar Ahmed and James Reetzke."— Presentation transcript:

1 ITCS 3134 Final Project Ammar Ahmed and James Reetzke

2  Exposure Lock  Find a good exposure  Lock it in  Match every preview frame afterwards using Histogram Matching

3 Model picture Original pictureHistogram matched picture Original Samples

4  Hist. Matching to Locked Image  Hist. Matching to Saved Image  Save Matched Image to Disk  Adjustable Blend Between Original and Matched

5  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

6  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

7  On Shutter Button Pressed:  Intercept Full Res. RGB Data from Camera  Apply current RGB mappings to Full Res. Pixels  Write Modified Pixels to Disk

8 OptionsMenu SurfaceView decodeYUV420SP imHist CDF histoMatchRGB intXFormRGB SurfaceView decodeYUV420SP imHist CDF histoMatchRGB intXFormRGB SeekBar Camera Preview Photo Grid AdapterView

9

10 Model Picture Original pictureHist. Matched Image

11 Model Picture Original pictureHist. Matched Image

12 Model Picture Original pictureHist. Matched Image

13 Model Picture Original pictureHist. Matched Image

14 Model Picture Original pictureHist. Matched Image

15 Model Picture Original pictureHist. Matched Image

16  New Environment (Android Noobs)  Compatibility (64 bit )  Going from Hex to RGB Int (Bit Shifting)  Debugging and Testing  Image Results not always Attractive

17  GPU acceleration  Accelerometer Integration  Weather data and GPS data  Video Recording

18

19


Download ppt "ITCS 3134 Final Project Ammar Ahmed and James Reetzke."

Similar presentations


Ads by Google