PCB graph spindle direction calculation method

A calculation method and graphics technology, applied in the field of image processing, can solve the problem of low calculation efficiency of PCB graphics spindle, and achieve the effect of reducing lighting requirements, reducing calculation amount, and improving calculation efficiency

Inactive Publication Date: 2018-08-24
BEIJING LUSTER LIGHTTECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a calculation method for the main axis direction of PCB graphics to solve the problem of low calculation efficiency of the main axis direction of PCB graphics

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
  • PCB graph spindle direction calculation method
  • PCB graph spindle direction calculation method
  • PCB graph spindle direction calculation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0026] The method for calculating the principal axis direction of a PCB graphic provided in the embodiment of the present application includes step S100: performing grayscale processing on the acquired PCB image.

[0027] Specifically, the PCB image is grayscaled to obtain a grayscale image, and grayscale values ​​of all pixels of the graysca...

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 present invention provides a PCB (Printed Circuit Board) graph spindle direction calculation method. The method comprises the steps of: performing binaryzation processing of all the pixel points of a PCB image corresponding to a preset fixed threshold value to obtain pixel values of all the pixel points; according to the pixel values of all the pixel points, calculating contour points of a target graph in the PCB image; calculating the contour center of gravity of all the contour points in the target graph; according to the contour center of gravity and the contour points, calculating thesecond-order center distance of the target graph; and according to the second-order center distance of the target graph, calculating and obtaining the spindle direction of the target graph. The PCB graph spindle direction calculation method employs a binaryzation method and the contour points to calculate the spindle direction of the PCB graph so as to greatly improve the calculation efficiency ofthe spindle direction of the PCB graph.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to a method for calculating the direction of a principal axis of a PCB graphic. Background technique [0002] PCB (Printed Circuit Board, printed circuit board) is a circuit board composed of layers of copper foil circuits. There are usually various holes on the PCB, which can be divided into round holes, slot holes and special-shaped holes according to the shape. Among them, the slot hole is a hole with a rectangle in the middle and arc-shaped holes at both ends, and holes other than round holes and slot holes are collectively referred to as special-shaped holes. During the PCB production process, due to the deviation of the pin position, the looseness of the spindle of the drill bit, the unevenness of the platen, etc., the slotted holes and special-shaped holes may have angle deviation defects, that is, the main axis direction and the preset reference direction ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/66G06T7/13
CPCG06T7/13G06T7/66G06T2207/30141
Inventor 张夏欢姚毅
Owner BEIJING LUSTER LIGHTTECH
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