CN108846403B - Method for extracting facet gem image features - Google Patents

Method for extracting facet gem image features Download PDF

Info

Publication number
CN108846403B
CN108846403B CN201810562783.0A CN201810562783A CN108846403B CN 108846403 B CN108846403 B CN 108846403B CN 201810562783 A CN201810562783 A CN 201810562783A CN 108846403 B CN108846403 B CN 108846403B
Authority
CN
China
Prior art keywords
gem
image
faceted
point
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810562783.0A
Other languages
Chinese (zh)
Other versions
CN108846403A (en
Inventor
杨琇明
雷自力
刘晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hubei Emers Intelligent Testing Equipment Co ltd
Wuhan Hengyu Scientific And Educational Instrument And Equipment R&d Co ltd
Original Assignee
Hubei Emers Intelligent Testing Equipment Co ltd
Wuhan Hengyu Scientific And Educational Instrument And Equipment R&d Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Emers Intelligent Testing Equipment Co ltd, Wuhan Hengyu Scientific And Educational Instrument And Equipment R&d Co ltd filed Critical Hubei Emers Intelligent Testing Equipment Co ltd
Priority to CN201810562783.0A priority Critical patent/CN108846403B/en
Publication of CN108846403A publication Critical patent/CN108846403A/en
Application granted granted Critical
Publication of CN108846403B publication Critical patent/CN108846403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Adornments (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method for extracting the characteristics of a faceted gem image. The optical system collects a facet gem image, and denoising and binaryzation pretreatment are carried out on the facet gem image; obtaining the outline characteristics of the gem by adopting an edge extraction algorithm and a fitting algorithm; establishing a distance interval for screening angular point features; obtaining characteristic angular points of the gem by using an angular point algorithm; and calculating the distance from the characteristic corner points to the circular points of the gem outline, and taking the characteristic corner points in the distance interval as the strong corner point characteristics of the faceted gem. The method fully combines the geometric properties of the faceted gem, screens strong angular points representing the characteristics of the faceted gem by using the distance intervals, eliminates the interference of redundant angular points and provides scientific reference data for the identification of the faceted gem.

Description

Method for extracting facet gem image features
Technical Field
The invention belongs to the field of gem identification.
Background
The facet gem is a circulation finished product with higher commercial value obtained after the natural gem is cut by people, and the gem identification is an essential link in the gem commercial circulation, but at present, the gem identification mainly depends on manual visual inspection and qualitative analysis, the error rate is high, the standardization degree is low, and the development of the gem industry is influenced. The method is characterized in that a facet gem image is acquired by using an optical imaging system, a standard feature extraction method is researched, the geometric features such as outlines, angular points and the like of the facet gem are automatically acquired from the image, the geometric feature data of the gem are established, a more scientific reference basis is provided for gem identification, and the method has important significance for improving the facet gem circulation supervision capability in the jewelry industry.
Disclosure of Invention
The invention discloses a method for extracting facet gem outline characteristics and strong corner point characteristics according to the requirements on characteristic data in gem identification. Collecting a facet gem image by using an optical system, and performing denoising and binaryzation pretreatment on the facet gem image; obtaining the outline characteristics of the gem by adopting an edge extraction algorithm and a fitting algorithm, and establishing a distance interval for screening the corner point characteristics; obtaining a characteristic corner set of the gem by using a corner algorithm; and calculating the distance from the characteristic angular points to the circular points of the gem outline, wherein the characteristic angular points in the distance interval form the strong angular point characteristics of the faceted gem.
A method for extracting the characteristics of a faceted gem image comprises the following steps:
step one, carrying out non-local mean value denoising processing on the facet gem image.
And step two, carrying out Otsu method binarization processing on the image.
And step three, extracting a gem edge point set in the image through a canny algorithm.
And fourthly, performing least square method circumference fitting on the edge point set, calculating to obtain a center point and a radius value R, and taking the fitting circumference as the profile characteristic of the faceted gem.
And fifthly, according to the R value, defining 4 distance intervals of 0.18R to 0.27R,0.38R to 0.42R,0.58R to 0.62R and 0.78R to 0.82R respectively.
And step six, calculating characteristic corner points of the image by adopting a harris corner point algorithm.
And step seven, calculating the distance from the characteristic angular point to the fitting central dot.
And step eight, taking the characteristic corner points with the distance within the distance interval defined in the step five as the characteristic of the strong corner points of the faceted precious stone.
According to the method, the outline and the strong corner point characteristics are taken as characteristic extraction objects, on the basis of fully considering the geometrical properties and the corner point distribution rule of the faceted gem, the strong corner points which can represent the characteristics of the faceted gem are screened by using the distance intervals, the interference of redundant corner points is eliminated, and the characteristic data for identifying the faceted gem is established.
Drawings
FIG. 1 is an image of a faceted gemstone for use with an embodiment of the present invention.
FIG. 2 is a diagram illustrating a profile of a faceted gemstone and a distribution of features of strong corners extracted according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a method for extracting the characteristics of a facet gem image, which comprises the following steps:
a method for extracting the characteristics of a faceted gem image comprises the following steps:
step one, performing non-local mean denoising treatment on the faceted gem image. Redundant information in the image is fully utilized, the detail characteristics of the image can be furthest maintained while denoising is carried out, and the algorithm processing process is as follows,
the de-noised gray value at x position in the image containing noise is set as u (x),
Figure 191383DEST_PATH_IMAGE001
/>
Figure 174383DEST_PATH_IMAGE002
(1)
in the formula, V (y) is the gray value at y position in the image, w (x, y) is the similarity between x and y representing pixel points, and the value is determined by the distance between the adjacent domains of V (x) and V (y) of the rectangle taking x and y as the center
Figure 772854DEST_PATH_IMAGE003
/>
Figure 524909DEST_PATH_IMAGE004
(2)
In the formula, Z (x) is a normalized coefficient, and the larger h is a smoothing coefficient, the more gradual the change of the Gaussian function is, the higher the denoising level is, but the image is blurred. The smaller h, the more edge detail components remain, but too many noise points remain. The specific value of h is based on the degree of grinding and polishing of the facet gem, and is generally 0.5 to 0.7.
And step two, carrying out Otsu binaryzation processing on the image.
And step three, extracting a gem edge point set in the image through a standard canny algorithm, and in a double-threshold selection link of the canny algorithm, selecting a proportion of a high threshold value in the image gradient histogram, wherein the proportion is generally determined by the reflectivity of the faceted gem, and a low threshold value is 20% -30% of the high threshold value.
And fourthly, performing least square method circumference fitting on the edge feature point set, calculating to obtain a central point and a radius value R, and taking the fitting circumference as the profile feature of the facet gem.
And fifthly, according to the R value, defining 4 distance intervals of 0.18R to 0.27R,0.38R to 0.42R,0.58R to 0.62R and 0.78R to 0.82R respectively.
Step six, calculating characteristic angular points of the image by adopting a harris angular point algorithm,
Figure 550634DEST_PATH_IMAGE005
/>
Figure 785044DEST_PATH_IMAGE006
(3)
Figure 593731DEST_PATH_IMAGE007
/>
Figure 465872DEST_PATH_IMAGE007
(4)
in the formulas (3) and (4), P is an image gradient distribution matrix calculated by a three-canny algorithm, v xy Is the corner response value at image (x, y), k is the corner decision threshold, C v Is a characteristic corner distribution map of the image. In general, the value of k is such that the total number of corner points obtained from equation (4) is greater than 1.5 times the number of actual polished corner points of the faceted gemstone.
And step seven, calculating the distance from the characteristic angular point to the fitting central dot.
And step eight, taking the characteristic corner points with the distances within the distance interval defined in the step five as the strong corner point characteristics of the faceted gem.

Claims (1)

1. A method for extracting the characteristics of a faceted gem image is characterized by comprising the following steps:
firstly, carrying out non-local mean value denoising treatment on a facet gem image;
step two, carrying out Otsu method binarization processing on the image;
step three, extracting a gem edge point set in the image through a canny algorithm;
performing least square method circumference fitting on the edge point set, calculating to obtain a central point and a radius value R, and taking the fitting circumference as the profile characteristic of the faceted gem;
establishing distance intervals for screening corner point characteristics according to the R value, and defining 4 distance intervals of 0.18-0.27R, 0.38R-0.42R, 0.58R-0.62R and 0.78R-0.82R;
step six, calculating characteristic angular points of the image by adopting a harris angular point algorithm;
step seven, calculating the distance from the characteristic angular point to the fitting center round point;
and eighthly, taking the characteristic corner points with the distances within the distance interval defined in the step five as the strong corner point characteristics of the faceted gem image.
CN201810562783.0A 2018-06-04 2018-06-04 Method for extracting facet gem image features Active CN108846403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810562783.0A CN108846403B (en) 2018-06-04 2018-06-04 Method for extracting facet gem image features

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810562783.0A CN108846403B (en) 2018-06-04 2018-06-04 Method for extracting facet gem image features

Publications (2)

Publication Number Publication Date
CN108846403A CN108846403A (en) 2018-11-20
CN108846403B true CN108846403B (en) 2023-04-07

Family

ID=64210722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810562783.0A Active CN108846403B (en) 2018-06-04 2018-06-04 Method for extracting facet gem image features

Country Status (1)

Country Link
CN (1) CN108846403B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109682414A (en) * 2019-02-28 2019-04-26 襄阳爱默思智能检测装备有限公司 A kind of characteristic present of jewel identity and recognition methods
US11874231B1 (en) 2023-06-21 2024-01-16 Chow Sang Sang Jewellery Company Limited System and method for gemstone identification

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667287A (en) * 2008-09-02 2010-03-10 新奥特(北京)视频技术有限公司 Method for detecting corner points of outermost frames of symbols in symbol images
JP5500404B1 (en) * 2013-05-28 2014-05-21 株式会社コンセプト Image processing apparatus and program thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100501312C (en) * 2007-09-06 2009-06-17 许焱 Gem tri-dimensional cut detection device based on machine vision
CN103472064B (en) * 2013-10-12 2015-11-18 梧州学院 A kind of method of justifying the qualification of bright cut jewel cut
CN104732563B (en) * 2015-04-01 2017-06-27 河南理工大学 Circle ring center's line detecting method based on dual range conversion and feature distribution in image
CN106652033B (en) * 2016-12-05 2020-02-14 中国石油天然气股份有限公司 Method for subdividing natural grid of geological profile

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667287A (en) * 2008-09-02 2010-03-10 新奥特(北京)视频技术有限公司 Method for detecting corner points of outermost frames of symbols in symbol images
JP5500404B1 (en) * 2013-05-28 2014-05-21 株式会社コンセプト Image processing apparatus and program thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Semi-infinite Optimization Meets Industry:A Deterministic Approach to Gemstone Cutting》;Karl-Heinz Küfer 等;;《SIAM News》;第41卷(第8期);第1-3节 *
《一种改进的角点探测方法》;朱如军 等;《计算机应用与软件》;第22卷(第1期);第1-3节 *

Also Published As

Publication number Publication date
CN108846403A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN107862667B (en) Urban shadow detection and removal method based on high-resolution remote sensing image
CN105096259B (en) The depth value restoration methods and system of depth image
CN101996328B (en) Wood identification method
CN108171688B (en) Wafer surface defect detection method based on Gabor characteristics and random dimensionality reduction
CN117437219B (en) Magnetic glue inductance irregular appearance defect detection method based on computer vision
CN112633212B (en) Tea tender shoot grade identification and classification method based on computer vision
CN108846403B (en) Method for extracting facet gem image features
CN106127735B (en) A kind of facilities vegetable edge clear class blade face scab dividing method and device
CN109871900A (en) The recognition positioning method of apple under a kind of complex background based on image procossing
CN117635609B (en) Visual inspection method for production quality of plastic products
CN110687122A (en) Method and system for detecting surface cracks of ceramic tile
Backes et al. Plant leaf identification using multi-scale fractal dimension
CN110276759A (en) A kind of bad line defect diagnostic method of Mobile phone screen based on machine vision
CN108932449A (en) A kind of bar code binarization method and system based on cluster
CN109544513A (en) A kind of steel pipe end surface defect extraction knowledge method for distinguishing
CN111597848A (en) Batch QR code image extraction method and system
CN117710399A (en) Crack contour extraction method in geological survey based on vision
CN116524269A (en) Visual recognition detection system
CN114782473A (en) Metallographic structure grain boundary extraction method based on pixel relation
CN113724223B (en) YOLOv3 data set production method and system based on optical microscope
CN105550646B (en) Generalized illumination invariant face feature description method based on logarithmic gradient histogram
CN112258532B (en) Positioning and segmentation method for callus in ultrasonic image
CN110298835A (en) A kind of leather surface damage testing method, system and relevant apparatus
CN113850792A (en) Cell classification counting method and system based on computer vision
CN103942526A (en) Linear feature extraction method for discrete data point set

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 441000 C603, high tech entrepreneurship service center, No.2, zhuiri Road, high tech Zone, Xiangyang City, Hubei Province

Applicant after: Hubei emers intelligent testing equipment Co.,Ltd.

Address before: 441000 C603, high tech entrepreneurship service center, No.2, zhuiri Road, high tech Zone, Xiangyang City, Hubei Province

Applicant before: XIANGYANG AIMOSI INTELLIGENT DETECTION EQUIPMENT CO.,LTD.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Yang Xiuming

Inventor after: Lei Zili

Inventor after: Liu Xiaojun

Inventor before: Lei Zili

Inventor before: Yang Xiuming

Inventor before: Liu Xiaojun

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220830

Address after: Room 601, Unit 4, Building 5, East District, Qijin Garden, Wenzheng Street, Caidian Street, Caidian District, Wuhan City, Hubei Province 430000

Applicant after: Wuhan Hengyu Scientific and Educational Instrument and Equipment R&D Co.,Ltd.

Applicant after: Hubei emers intelligent testing equipment Co.,Ltd.

Address before: 441000 C603, high tech entrepreneurship service center, No.2, zhuiri Road, high tech Zone, Xiangyang City, Hubei Province

Applicant before: Hubei emers intelligent testing equipment Co.,Ltd.

GR01 Patent grant
GR01 Patent grant