itcs 3134 final project ammar ahmed and james reetzke
TRANSCRIPT
![Page 1: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/1.jpg)
ITCS 3134 Final ProjectAmmar Ahmed and James Reetzke
![Page 2: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/2.jpg)
Exposure LockFind a good exposureLock it inMatch every preview frame
afterwardsusing Histogram Matching
![Page 3: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/3.jpg)
Model picture
Original picture Histogram matched picture
Original Samples
![Page 4: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/4.jpg)
Hist. Matching to Locked Image Hist. Matching to Saved Image Save Matched Image to Disk Adjustable Blend Between Original and
Matched
![Page 5: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/5.jpg)
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
![Page 6: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/6.jpg)
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
![Page 7: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/7.jpg)
On Shutter Button Pressed: Intercept Full Res. RGB Data from Camera Apply current RGB mappings to Full Res. Pixels Write Modified Pixels to Disk
![Page 8: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/8.jpg)
OptionsMenuOptionsMenu
SurfaceView
decodeYUV420SPimHistCDF
histoMatchRGBintXFormRGB
SurfaceView
decodeYUV420SPimHistCDF
histoMatchRGBintXFormRGB
SeekBarSeekBar Camera Preview
Photo GridPhoto Grid
AdapterView
AdapterView
![Page 9: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/9.jpg)
![Page 10: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/10.jpg)
Model Picture
Original picture Hist. Matched Image
![Page 11: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/11.jpg)
Model Picture
Original picture Hist. Matched Image
![Page 12: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/12.jpg)
Model Picture
Original picture Hist. Matched Image
![Page 13: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/13.jpg)
Model Picture
Original picture Hist. Matched Image
![Page 14: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/14.jpg)
Model Picture
Original picture Hist. Matched Image
![Page 15: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/15.jpg)
Model Picture
Original picture Hist. Matched Image
![Page 16: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/16.jpg)
New Environment (Android Noobs)Compatibility (64 bit )Going from Hex to RGB Int (Bit
Shifting)Debugging and Testing Image Results not always Attractive
![Page 17: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/17.jpg)
GPU accelerationAccelerometer IntegrationWeather data and GPS dataVideo Recording
![Page 18: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/18.jpg)
![Page 19: ITCS 3134 Final Project Ammar Ahmed and James Reetzke](https://reader035.vdocuments.net/reader035/viewer/2022062407/56649e8e5503460f94b91af1/html5/thumbnails/19.jpg)