Design of three-dimensional reconstruction system for farm production

Similar documents
Development of a Rapid Design System for Aerial Work Truck Subframe with UG Secondary Development Framework

Modeling with Transformations

A Rapid Automatic Image Registration Method Based on Improved SIFT

9. Display Lists. Display lists optimize performance by caching and saving end results, thus avoiding many intermediate steps for

Computer Graphics. Prof. Feng Liu. Fall /21/2016

THE AUSTRALIAN NATIONAL UNIVERSITY Final Examinations(Semester 2) COMP4610/COMP6461 (Computer Graphics) Final Exam

Application of Geometry Rectification to Deformed Characters Recognition Liqun Wang1, a * and Honghui Fan2

Design on a method for interactive editing fault polygon

An Efficient AC Algorithm with GPU

DSP-Based Parallel Processing Model of Image Rotation

Design of three-dimensional photoelectric stylus micro-displacement measuring system

Available online at ScienceDirect. Procedia Environmental Sciences 36 (2016 )

Parallel 3D Images Surface Texture Editing

Skeleton-based Template Retrieval for Virtual Maize Modeling

Available online at ScienceDirect. Energy Procedia 69 (2015 )

Available online at ScienceDirect. Procedia Engineering 111 (2015 )

Half-edge Collapse Simplification Algorithm Based on Angle Feature

Research on software development platform based on SSH framework structure

Topics and things to know about them:

Virtual Interaction System Based on Optical Capture

Qiqihar University, China *Corresponding author. Keywords: Highway tunnel, Variant monitoring, Circle fit, Digital speckle.

Numerical simulation of 3-D seepage field in tailing pond and its practical application

A Hand Gesture Recognition Method Based on Multi-Feature Fusion and Template Matching

CATIA V5 Robust Design Method to Prevent Feature Failure Lihua Sun 1, Baoqing Zhang 2, Bo Li 3, Wei Yin 3

6.837 Introduction to Computer Graphics Assignment 5: OpenGL and Solid Textures Due Wednesday October 22, 2003 at 11:59pm

Display Lists. Conceptually similar to a graphics file. In client-server environment, display list is placed on server

OpenGL: Setup 3D World

Rapid Modeling of Digital City Based on Sketchup

Research on monitoring technology of Iu-PS interface in WCDMA network

Design and Simulation Based on Pro/E for a Hydraulic Lift Platform in Scissors Type

Operation Trajectory Control of Industrial Robots Based on Motion Simulation

Research on Impact of Ground Control Point Distribution on Image Geometric Rectification Based on Voronoi Diagram

ScienceDirect. Realistic Scenes in CAD Application

Ray tracing. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd 3/19/07 1

Available online at ScienceDirect. Procedia Technology 18 (2014 )

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

CS 591B Lecture 9: The OpenGL Rendering Pipeline

CS451Real-time Rendering Pipeline

Speech Recognition Based on Efficient DTW Algorithm and Its DSP Implementation

CHAPTER 1 Graphics Systems and Models 3

Study on Digitized Measuring Technique of Thrust Line for Rocket Nozzle

Usability evaluation of e-commerce on B2C websites in China

FACET SHIFT ALGORITHM BASED ON MINIMAL DISTANCE IN SIMPLIFICATION OF BUILDINGS WITH PARALLEL STRUCTURE

Scene Graphs. CS4620/5620: Lecture 7. Announcements. HW 1 out. PA 1 will be out on Wed

7 th Grade Accelerated Learning Targets Final 5/5/14

CSE4030 Introduction to Computer Graphics

Display Lists in OpenGL

A display list is a group of OpenGL commands that have been stored for later execution.

Spring 2012 Final. CS184 - Foundations of Computer Graphics. University of California at Berkeley

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc. Research on motion tracking and detection of computer vision ABSTRACT KEYWORDS

Rapid Processing of Frames Refreshment with Viewpoint Movement Based on OpenGL for 3D Walkthrough System

A Fast Video Illumination Enhancement Method Based on Simplified VEC Model

Research on 3D-Model Reconstruction and Coordinate-Picking. Technology Based on CsGL

CIS 636 Interactive Computer Graphics CIS 736 Computer Graphics Spring 2011

Multi-projector-type immersive light field display

Describe the Orthographic and Perspective projections. How do we combine together transform matrices?

Implementation of RS-485 Communication between PLC and PC of Distributed Control System Based on VB

Research on Design Reuse System of Parallel Indexing Cam Mechanism Based on Knowledge

Design and Development of a High Speed Sorting System Based on Machine Vision Guiding

Self-calibration of telecentric lenses : application to bubbly flow using moving stereoscopic camera.

FAST REGISTRATION OF TERRESTRIAL LIDAR POINT CLOUD AND SEQUENCE IMAGES

CT Reconstruction with Good-Orientation and Layer Separation for Multilayer Objects

Geometric Rectification Using Feature Points Supplied by Straight-lines

Welcome to COMP 770 (236) Introduction. Prerequisites. Prerequisites

Design and Implementation of Animation Post-processor Based on ACIS and HOOPS in MWorks

Out-of-Plane Rotated Object Detection using Patch Feature based Classifier

Design of New Oscillograph based on FPGA

101. Design and realization of virtual prototype of shotcrete robot based on OpenGL

Introduction to 3D Concepts

ScienceDirect. Forming of ellipse heads of large-scale austenitic stainless steel pressure vessel

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

FSRM Feedback Algorithm based on Learning Theory

Application of Two Rendering Techniques in the Visualization of 3D Geospatial Data

Translation. 3D Transformations. Rotation about z axis. Scaling. CS 4620 Lecture 8. 3 Cornell CS4620 Fall 2009!Lecture 8

Study on Delaunay Triangulation with the Islets Constraints

A Growth Measuring Approach for Maize Based on Computer Vision

CIS 581 Interactive Computer Graphics (slides based on Dr. Han-Wei Shen s slides) Requirements. Reference Books. Textbook

Preliminary Research on Distributed Cluster Monitoring of G/S Model

CIS 581 Interactive Computer Graphics

Spring 2009 Prof. Hyesoon Kim

Benchmark 1.a Investigate and Understand Designated Lab Techniques The student will investigate and understand designated lab techniques.

ScienceDirect. The use of Optical Methods for Leak Testing Dampers

360 Full View Spherical Mosaic

Tele-operation Construction Robot Control System with Virtual Reality Technology

Research Article. Three-dimensional modeling of simulation scene in campus navigation system

Research on Technologies in Smart Substation

Two possible ways to specify transformations. Each part of the object is transformed independently relative to the origin

Surface Wave Suppression with Joint S Transform and TT Transform

Computer Graphics and Visualization. Graphics Systems and Models

Ray Tracer I: Ray Casting Due date: 12:00pm December 3, 2001

Three-Dimensional Reconstruction from Projections Based On Incidence Matrices of Patterns

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T

The Design of Electronic Color Screen Based on Proteus Visual Designer Ting-Yu HOU 1,a, Hao LIU 2,b,*

TABLE OF CONTENTS. Worksheets Lesson 1 Worksheet Introduction to Geometry 41 Lesson 2 Worksheet Naming Plane and Solid Shapes.. 44

3.2 Hierarchical Modeling

Unknown Malicious Code Detection Based on Bayesian

Visualizing Molecular Dynamics

CSE528 Computer Graphics: Theory, Algorithms, and Applications

Adaptive Zoom Distance Measuring System of Camera Based on the Ranging of Binocular Vision

Available online at Procedia Engineering 7 (2010) Procedia Engineering 00 (2010)

Transcription:

Available online at www.sciencedirect.com Procedia Engineering 24 (2011) 593 597 2011 International Conference on Advances in Engineering Design of three-dimensional reconstruction system for farm production Qian yan a, Yin wen-qing a*, Fen xue-bin a, Zhang mei-na a a Nanjing Agriculture University,College of Engineering, Nanjing 210031,China Abstract This paper proposed a 3D reconstruction system of the farm production, method using the OPenGL and VC++ programming language. By programming design on 3D sphere data and building a model of farm production, 3D effect approached to real farm production was realized. Firstly, 3D reconstruction system framework for the farm production was discussed with system functions and development circumstance. Secondly, implementation methods and steps were elaborated in details. In the following, important modules were deeply analyzed. Finally, experiment results of program platform with reconstruction images were shown. 2011 Published by Elsevier Ltd. Open access under CC BY-NC-ND license. Selection and/or peer-review under responsibility of ICAE2011. Keywords: 3D reconstruction;opengl; machine vision 1. Introduction Three-dimensional (3D) [1] reconstruction, which has been a leading purpose of human vision, is a most important research direction in the machine vision field. Three-dimensional construction can be apprehended as the process of renewing dimensional points' three-dimensional coordinate, while the dimensional points are calculated from a single image, double images or more than two images etc. Computer solid optical technique ensures the construction of a scene by taking several pictures which are in different view points. All these theories are basic on geometry. The central problem of three-dimensional reconstruction theory [2] is aimed at three aspects which are image process, computer graphics and computer vision. Image process is used to analyse information of video or images and build vision perceive from low to high levels; computer graphics affords threedimensional expressive abilities which are more accurate; computer vision is mainly to ensure geometrical relationship from video and images to space. * Corresponding author. Tel.: +86-025-58606585. E-mail address: yinwq@njau.edu.cn. 1877-7058 2011 Published by Elsevier Ltd. doi:10.1016/j.proeng.2011.11.2701 Open access under CC BY-NC-ND license.

594 Qian yan et al. / Procedia Engineering 24 (2011) 593 597 At present, three topic methods are used for three-dimensional reconstruction issue, which are slices combination method, X-ray stereo imaging method and image reconstruction method based on analysis of the chip [3]. A three-dimensional reconstruction system in agriculture is designed in this program. The design gives a way to fulfil the 3D model of simple farm productions. By programming work on 3D sphere data and building a model of farm production, a 3D effect approach to real farm production can be realized. In the following step, the images of farm production are modified for the model, with the method of texture mapping technology, images, and the framework can be perfect assembled. 2. 3D reconstruction system framework This 3D reconstruction system for farm production could mainly build a 3D vision image of farm production, the target images which were generated by this system could near to real object. In process of reconstruction, redundant element that effect observation in images should be removed. In the second place, the system affords some additional functions such as rotation, stretching and special effect treatment. 2.1. System functions 3D reconstruction system has all these functions in the following: Loading original images of farm production which is bitmap format; Producing 3D reconstruction object which is near to real farm production automatic; Processing special processes to 3D model which are illumination, anti-aliasing and process with point,line and plane; Automatic adjusting light color to background; Rotating the object for watch in multi-angle; Stretching the objects in X and Y axis. The system functions framework is shown in Figure1. Fig.1. system function framework 2.2. System development platform The 3D reconstruction system is designed by program platform of Visual C++ 6.0. OpenGL technology has been used as well. OpenGL (Open Graphics Library) is an open graphics library, which is a software interface that is not concerned in hardware of computer system. As a 3D graphics programming interface, now it has become a common international open 3D graphic standard. OpenGL is dependent of the window system and

Qian yan et al. / Procedia Engineering 24 (2011) 593 597 595 operating system, application program which is based on OpenGL can be very convenient transplanted in various programming environment. It integrates all kinds of complex computer graphics algorithm such as surface modeling, graphics transform, illumination, material qualitative, texture, pixel operation, fusion, anti-aliasing and atomization. Used with some outstanding 3D modeling software such as 3DMAX, while supported by rapid graphic showing system in computer hardware, OpenGL can display more excellent 3D construction technology. 3. 3D reconstruction system implement 3.1. System design flow Fig. 2. system design flow As Figure2 shows, the design flows of 3D reconstruction system for farm production include two main aspects which are 3D model process and texture process. Three-dimensional model is built by OPenGL program. Three kinds of data structure are used in this process which are vertex set, polygons list, and related triangle list. At same time,because of the large scale of data in 3D model, in order to enhance the speed of program running, display list technology in OPenGL is used in which all the process of 3D model have been saved in display list. In order to express 3D effect in sense of reality, texture mapping technology has been used after successfully building of 3D model. Consider of the practical need of user, additional functions are developed in the program which include color management, rotation and stretching operation etc. 3.2. System 3D modeling Three-dimensional model is created in use of display list which could enhance the speed of program running. Creating display list lay on a course of loading all kinds of OPenGL functions. There are two ways of creating display list which are GL-coMPILE andgl-compile_and EXECUTE. No matter what way is chosen, glnewlist() function is firstly executed to start loading and glendlist() function is used in the end to finish loading. The way of GL-coMPILE is loading data to display list but not execute them, another way of GL-CoMPILE_AND EXECUTE is not only loading data but also execute it once. glcalllist() function is used to call a display list. gllistbase() function can be used to set an offset before using glcalllist( ) function. In the end, gldeletelists() function is used to destroy a linear sequence of display lists. Code of 3D modeling is analyzed in the following.

596 Qian yan et al. / Procedia Engineering 24 (2011) 593 597 void CChildView::MakeModelList() { glpushmatrix(); //Push matrix to stack in order to protect matrix m_nlist = glgenlists(1); //produce a new list number gllistbase(m_nlist); glnewlist(m_nlist,gl_compile); //create display list //three-dimensional modeling for( j = 0; j <= Precision/2-1; j++ ) { theta1 = j*2*pi/precision - PI/2; theta2 = (j+1)*2*pi/precision - PI/2; glbegin(gl_quad_strip); for(i = 0; i <= Precision; i++ ) { theta3 = i*2*pi/precision; x = cos(theta2) * cos(theta3); y = sin(theta2); z = cos(theta2) * sin(theta3); px = Radius*x; py = Radius*y; pz = Radius*z; tex_x = 1.0f - i/precision; tex_y = 2.0*(j+1.0)/Precision; gltexcoord2f(tex_x, tex_y); glvertex3f(px,py,pz);} glend(); }glendlist();//display list creating finish glpopmatrix();} 3.3. System texture mapping Texture mapping module includes five key steps. Creating texture object and link to a special kind of texture; Making sure how to apply the texture to each pixel; Using function of texture mapping by OpenGL function glenable(gl_texture_2d) which can begin the mapping; Using function of setting attribute value by OpenGL function gltexparameteri() before mapping options.this mapping option includes drawing scene, affording texture coordinate and calculating coordinate of geometrical figure; Deleting texture objects. 4. Experimental result

Qian yan et al. / Procedia Engineering 24 (2011) 593 597 597 Fig. 3. (a) Reconstruction result of orange; (b) Reconstruction result of melon; (c) Reconstruction result of cucumber As shown in figure3, three-dimensional reconstruction system for farm production afford a platform for farmer to manage his harvest, on the other side, farmer can use this platform to analyze effect of crop planting. 5. Conclusion This paper discusses the methods of three-dimension reconstruction based on OpenGL in Visual C++ programming environment. In a word, this paper shows all these design aspects of 3D reconstruction system. Firstly, system framework has been designed and all the functions have been marked out. Secondly, deeply study the technology of 3D modeling which lied on the method of texture mapping. Thirdly, the design methods of additional functions have been implemented for high efficiency and impression. Finally, experiment results have been shown with system application. The advantages of this system include successfully achievements of simple 3D modeling, building of geometry relationship and a usable system for farm production reconstruction with several additional functions in practicability.this exploratory system design motivates significant of future work and hold great potential for 3D reconstruction fields. Acknowledgements The paper was supported by Youth technology innovation Foundation of Nanjing Agriculture University (KJ2010032). References [1] Haiming Huang, Bao wei Liu, Jin gang Liu, Yun peng Ma. Building of Virtual Reality Scene Based on Real Scenery. In Computer Engineering. 2005. [2] Kazuaki Iwata, Masahiko Onosata, Koji Teramoto, Suguru Osaki. Manufaeturing System as Advanced Information Infrastrueture for Integrating Manufaeturing resources and Aetivities, In Annals of the CIRP,2001,46(l):567 一 571 [3] IwataK, onosato M, Teramoto K. A Modeling and Simulation Architecture for Virtual Manufacturing System. In Ailnals of the CIRP,2008,44(l):399 一 402