The invention discloses an
OpenGL ES (open
graphics library for
embedded system) implementation method for a
ray casting algorithm under an ARM+GPU (advanced RISC
machine+graphic
processing unit) heterogeneous architecture. The method comprises the following steps of 1, establishing a display
window system in an ARM; 2, acquiring initial body data from the ARM, and recreating the initial body data to a three-dimensional Cartesian coordinate
system; 3, arranging two-dimensional textures by using the ARM, and importing three-dimensional ultrasonic body data in a two-dimensional texture way by using an
OpenGL ES interface; 4, receiving a human-computer interaction instruction by using a GPU, and calculating a coordinate
transformation matrix to realize a human-computer
interaction function in three-dimensional imaging; 5, performing
OpenGL ES implementation on the
ray casting algorithm by using the GPU, and controlling the calculated amount; and 6, drawing a display plane by using the GPU. According to the method, a conventional
ray casting algorithm based on a
graphics card and an Intel processor is implemented under an embedded platform, so that the
system development cost is lowered.