Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 26 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
26
Dung lượng
1,17 MB
Nội dung
Mobileimageprocessing – Part 3 Mobile application development on Android “ Hello World ” project Hello World project “Viewfinder EE368” project Ima g e processin g librar y ggy Mobile application examples Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 1 Scan Life 2D barcode recognition Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 2 http://www.scanlife.com Spring 2006 Project: Visual Code Marker Recognition Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 3 Imageprocessing library for Android Jon’s Java Imaging Library (JJIL) http://code google com/p/jjil/ http://code . google . com/p/jjil/ Collection of common imageprocessing functions Lookin g for EE368 students to au g ment this librar y with new g gy imageprocessing functions and algorithms Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 4 Importing JJIL as external JAR (1) Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 5 Importing JJIL as external JAR (2) Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 6 Android and JJIL image formats Image formats “Bitma p ” class in Android p “Image” class in JJIL: subclasses RgbImage, Gray8Image, Gray16Image, Gray32Image Conversion example Conversion example Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 7 JJIL sequences Images are processed through sequences (pipelines) Sequence acts like a queue where the first image inserted Sequence acts like a queue , where the first image inserted is the first image retrieved Image downsampling example Sequence RbI Sequence.Push (RgbImage) Sequence.GetFront() Rgb 3x3Average Rgb SubSample Sequence R g bI mage RgbImage 3x3Average SubSample Sequence.Add Sequence.Add Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 8 Sequence.Add (new Rgb3x3Average) Sequence.Add (new RgbSubSample) 3x3 averaging filter (1) Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 9 3x3 averaging filter (2) Original Image Processed Image Original Image Processed Image Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no. 10 [...]... Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 11 Horizontal differences (2) Original Image Bernd Girod, David Chen: EE368 Processed ImageMobileImageProcessing – Part 3 no 12 Vertical differences (1) 1 Transpose the image 2 2 Find horizontal differences on the transposed image 3 Transpose the resulting image Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 13 Vertical... RgbSelectGray RgbSubSample … MobileImageProcessing – Part 3 no 15 Communications between phone and server Server Phone HTTP Post (e.g., Image, Features ) Wireless e ess Network HTTP Response (e.g., Identification) (e g Apache PHP MATLAB / C Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 16 HTTP file upload Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 17 Virtual... EE368 MobileImageProcessing – Part 3 no 18 Real-time object tracking http://www.youtube.com/watch?v=kGtHPNAwjz8 Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 19 CD/DVD/Book cover recognition http://www.youtube.com/watch?v= V3V0UP4afUk Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 20 Spring 2008 Project: CD Cover Recognition Bernd Girod, David Chen: EE368 Mobile. .. Project: CD Cover Recognition Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 21 Retrieving music for recognized images Server Phone HTTP Post (e.g., Image, Features ) Wireless Network HTTP Response (e.g., Identification) Sample MP3 files from the web can be sent to the phone Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 3 no 22 Playing music files on the phone Context... l kT (2000) player.stop(); Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 3 no 23 Retrieving videos for recognized frames Server Phone HTTP Post (e.g., Image, Features ) Wireless Network HTTP Response (e.g., Identification) Sample video files from the web can be streamed to the phone Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 3 no 24 Playing videos on the phone Context... differences on the transposed image 3 Transpose the resulting image Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 3 no 13 Vertical differences (2) Original Image Bernd Girod, David Chen: EE368 Processed ImageMobile Image Processing – Part 3 no 14 JJIL functions ApplyMaskRgb BinaryHeap Complex32Gray32 Complex32IFFT Fft1d Gray16Gray8 Gray16LinComb G 16Li C b Gray16Threshold Gray32Div Gray32Gray8... player.setVideoPath(“http://somesite.com/repository/sample.mp4”); l tVid P th(“htt // it / it / l 4”) player.start(); player.pause(); player.seekTo(2000); // msec player.stopPlayback(); Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 25 Android resources Developer website http://developer.android.com http://developer android com Class tutorial http://ee368.stanford.edu/Android Android-related office... are completed Held in the H ld i th SCIEN lab during regular time on W d l bd i l ti Wednesday d Reference book Meier, Professional Android 2 Application Development Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 3 no 26