Rapid algorithm of quasi-rectangular object bounding box

A fast algorithm and bounding box technology, applied in computing, 3D image processing, image data processing, etc., can solve problems such as complex operation, low efficiency, and narrow application range, and achieve low algorithm complexity, high execution efficiency, and application wide range of effects

Active Publication Date: 2019-12-20
HENAN POLYTECHNIC INST
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016]1. In the OBB algorithm proposed by Chen Hua, the coordinate system of the object to be solved is rotated around three orthogonal axes by n3 Second, its time complexity is O(n3), the efficiency is very low, and the accuracy of the bounding box depends on the rotation step. The smaller the step, the higher the calculation accuracy, but the calculation time will increase significantly , the calculation time usually ranges from tens of seconds to hundreds of seconds
[0017]2. Hu Zhigang and Qin Qifei proposed a closed directed bounding box generation algorithm based on the minimum volume of the convex hull for the given 3D point cloud data of the object. The complexity is reduced to O(n3/2(logn)2); Sun Dianzhu et al. have avoided enumerating and solving various postures of objects through genetic algorithms, and can Quickly solve the approxim

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rapid algorithm of quasi-rectangular object bounding box
  • Rapid algorithm of quasi-rectangular object bounding box
  • Rapid algorithm of quasi-rectangular object bounding box

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Please refer to the attached figure 1 Shown, the present invention is a kind of fast algorithm of rectangular object bounding box, and it comprises the following steps:

[0040] 1), read the object, obtain and save the original WCS (that is, the working coordinate system) of the object, and obtain the ID (unique identification number of the geometry) of the object.

[0041] 2), traverse all feature IDs of the object, store all the planes in the linked list, and facilitate subsequent calls; traverse all the edges of the object, and find the longest edge as the Z-axis of the temporary coordinate system, and keep this edge The edge ID and the endpoint of the edge are used as the origin of the temporary coordinate system.

[0042] 3), construct the Z-axis vector and the Y-axis vector; find out the plane perpendicular to the Z-axis in all the planes of the geometry, and extract the vector of the longest side in the plane as the Y-axis vector. If no plane perpendicular to t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a rapid algorithm for a quasi-rectangular object bounding box, and the algorithm comprises the following steps: 1), reading an object, and obtaining the ID of the object; 2) traversing all feature IDs of the object; 3) constructing a Z-axis vector and a Y-axis vector; 4) performing cross multiplication on the Z-axis vector and the Y-axis vector to obtain an X-axis vector;5) constructing a temporary coordinate system: 6) calling an AABB bounding box in the temporary coordinate system to obtain the minimum bounding box of the object, and outputting the sizes of the bounding box in the X, Y and Z directions and the coordinates of the left lower corner and the right upper corner of the box; and 7) setting the temporary coordinate system as WCS, and drawing and displaying the bounding box according to the parameters of the bounding box. According to the method, the defects that an existing AABB algorithm, an OBB algorithm and other algorithms are low in efficiency,complex in processing process and the like are overcome, the calculation time of a computer is shortened, the calculation time of the bounding box is controlled within 0.1 s, and engineering application of the algorithms is facilitated.

Description

【Technical field】 [0001] The invention relates to a design method of a packaging box, in particular to a fast algorithm for a bounding box of a similar rectangular object, and belongs to the technical field of computer graphics processing. 【Background technique】 [0002] The minimum bounding box of spatial objects is widely used in the fields of packaging engineering, image processing, pattern recognition, collision detection, mold parting design and mechanical control. A bounding box is a simple three-dimensional geometric space. At present, the main types are sphere, axis-aligned bounding box (AABB), oriented bounding box (OBB), 8-DOP, and convex hull. In practical applications, people hope to have both the smallest bounding box size and fast results, and the two are often exclusive. In engineering applications, people often put the first priority on the ability to quickly calculate the results, taking into account the dimensional accuracy. [0003] The existing bounding...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T15/10G06T7/62
CPCG06T15/10G06T7/62
Inventor 熊毅孙育竹张玉华户燕会王蕾刘清文陈元博郭君扬董嫔陆茵于玲苏君刘清君张虎陈正辉李志国张旭
Owner HENAN POLYTECHNIC INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products