WO2019128366A1 - Test sample notch positioning method and device - Google Patents

Test sample notch positioning method and device Download PDF

Info

Publication number
WO2019128366A1
WO2019128366A1 PCT/CN2018/109073 CN2018109073W WO2019128366A1 WO 2019128366 A1 WO2019128366 A1 WO 2019128366A1 CN 2018109073 W CN2018109073 W CN 2018109073W WO 2019128366 A1 WO2019128366 A1 WO 2019128366A1
Authority
WO
WIPO (PCT)
Prior art keywords
sample
image
information
processed
key
Prior art date
Application number
PCT/CN2018/109073
Other languages
French (fr)
Chinese (zh)
Inventor
孙茂杰
李福存
苏循亮
周鼎
Original Assignee
江苏金恒信息科技股份有限公司
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 江苏金恒信息科技股份有限公司 filed Critical 江苏金恒信息科技股份有限公司
Priority to DE112018000224.1T priority Critical patent/DE112018000224B4/en
Publication of WO2019128366A1 publication Critical patent/WO2019128366A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • G06T7/74Determining position or orientation of objects or cameras using feature-based methods involving reference images or patches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Definitions

  • the invention relates to the field of automation of the steel industry, and in particular to a method and a device for positioning a sample slot.
  • the cooling temperature range of the sample is large, ranging from -193 ° C to 20 ° C; and when the cooling temperature of the sample is less than or equal to -60 ° C, a large amount of mist may be generated to cause unclear imaging, and at the same time The brightness will be significantly lower than that at 20 °C, causing the imaging to change, causing great interference with the positioning of the sample notch, resulting in inaccurate final positioning.
  • an object of the present invention is to provide a sample notch positioning method and apparatus to solve the above problems.
  • an embodiment of the present invention provides a method for positioning a sample slot.
  • the sample slot positioning method includes:
  • the shooting parameter is determined based on the received sample cooling temperature
  • the specific position information of the sample slot is obtained based on the pre-established image recognition model and the key sample image information.
  • the embodiment of the present invention further provides a sample slot positioning device, where the sample slot positioning device includes:
  • a photographing parameter determining unit configured to determine a photographing parameter based on the received sample cooling temperature
  • a receiving unit configured to receive an image of a sample to be processed collected by an image capturing device in a state of the shooting parameter
  • a filtering unit configured to perform filtering processing on the image of the sample to be processed to obtain image information of the key sample
  • the location information acquiring unit is configured to acquire specific location information of the sample slot based on the plurality of pre-established image recognition models and the key sample image information.
  • the sample notch positioning method and device determine a shooting parameter according to the received sample cooling temperature, and acquire an image of the sample to be processed collected by an image collecting device in the state of the shooting parameter, and then treat Processing the sample image for filtering processing to obtain the image information of the key sample, and finally obtaining the position information of the sample slot based on the plurality of pre-established image recognition models and the image information of the key sample; since the cooling temperature of the different samples has a shooting result Different degrees of influence, so there is a corresponding suitable shooting parameter corresponding to each cooling temperature, so that the image of the sample to be processed is always in a relatively clear state, which is convenient for subsequent background separation, sample slot positioning, etc.
  • the operation not only improves the efficiency of obtaining the position information of the sample notch, but also increases the accuracy of the position information.
  • FIG. 1 is a functional block diagram of a server provided by an embodiment of the present invention.
  • FIG. 2 is a flow chart showing a method for positioning a sample slot provided by an embodiment of the present invention
  • FIG. 3 shows a specific flowchart of step S203 in FIG. 2;
  • Figure 4 shows a specific flow chart of sub-step S2031 in Figure 3;
  • FIG. 5 shows a specific flowchart of step S204 in FIG. 2;
  • FIG. 6 is a functional block diagram of a sample slot positioning device according to a preferred embodiment of the present invention.
  • Icon 100-server; 111-memory; 112-processor; 113-communication unit; 200-sample slot positioning device; 210-shooting parameter determining unit; 220-receiving unit; 230-filtering unit; 240-position information Acquisition unit; 250-transport unit.
  • FIG. 1 shows a functional block diagram of a server 100 that can be applied to an embodiment of the present invention.
  • the sample slot positioning device 200, the memory 111, one or more (only one shown) processor 112, and communication unit 113 are included. These components communicate with one another via one or more communication bus/signal lines.
  • the sample slot locating device 200 includes at least one software functional unit that can be stored in the memory 111 or in an operating system (OS) of the server 100 in the form of software or firmware.
  • OS operating system
  • the memory 111 can be used to store software programs and units, such as program instructions/units corresponding to the software testing apparatus and method in the embodiment of the present invention, and the processor 112 operates the software of the sample slot positioning device 200 stored in the memory 111.
  • the program and the unit thereby performing various function applications and data processing, such as the sample notch positioning method provided by the embodiment of the present invention.
  • the memory 111 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. Access to the memory 111 by the processor 112 and other possible components can be performed under the control of the memory controller.
  • the communication unit 113 is configured to establish a communication connection between the server 100 and other communication terminals through the network, and is used to send and receive data through the network.
  • FIG. 1 is merely illustrative, and the server 100 may further include more or less components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the components shown in Figure 1 can be implemented in hardware, software, or a combination thereof.
  • the invention provides a sample notch positioning method for positioning a notch position of a steel sample during an impact test on a steel sample.
  • FIG. 2 is a flowchart of a method for positioning a sample slot according to an embodiment of the present invention.
  • the sample slot positioning method includes:
  • Step S201 Determine a shooting parameter based on the received sample cooling temperature.
  • the imaging result of the finally obtained sample can be prevented from being largely changed due to the change in the cooling temperature.
  • the shooting parameters include, but are not limited to, shutter, aperture, ISO, EV value, setting parameters of whether or not the flash is turned on.
  • Step S202 Receive an image of the sample to be processed sent by an image acquisition device in the state of the shooting parameter.
  • the image of the sample to be processed collected by an image capturing device in the state of the shooting parameter is clear, easy to identify and analyzed.
  • Step S203 Filtering the sample image to be processed to obtain key sample image information.
  • the background image and the sample portion are included in the image of the sample to be processed.
  • the sample part is the image information of the sample itself, and can reflect its structure, connection relationship and the like.
  • the background part includes the environmental information of the sample, which will cause some interference to the analysis of the sample notch; therefore, the image of the sample to be processed needs to be filtered, and the background part of the image of the sample to be processed is given. After filtering out, the image information of the key sample is obtained.
  • Step S203 includes:
  • Sub-step S2031 Acquire gray-scale histogram information of the sample image to be processed.
  • the difference between the background portion and the sample portion is large, so that the gray histogram information of the image of the sample to be processed can be first obtained, and the background portion and the sample portion are distinguished by the gray histogram information.
  • Sub-step S2031 includes:
  • Sub-step S20311 Obtain a line of distinction between the sample and the background in the image of the sample to be processed.
  • the sample has a certain shape and contour; therefore, the line distinguishing the sample from the background is the contour line of the sample itself, and the dividing line divides the image of the sample to be processed into the sample portion and the background portion.
  • Sub-step S20312 dividing the image of the sample to be processed into a plurality of regions along the dividing line.
  • the image of the sample to be processed is first divided into multiple regions along the dividing line, and then the analysis of each region can be used to reduce the key test. The error of the image information.
  • Sub-step S20313 Acquire a gray histogram and a gray histogram mean for each region.
  • the server 100 By acquiring the gray histogram and the gray histogram mean of each region, it is convenient for the server 100 to acquire the contrast of the gray value of the background portion and the sample portion of each region.
  • Sub-step S20314 The gray histogram having the smallest gray histogram mean is used as the gray histogram information of the sample image to be processed.
  • the area with the smallest mean value of the gray histogram has the smallest contrast between the sample and the background.
  • the gray histogram information of the sample image to be processed can be made. Has the greatest recognition accuracy.
  • the server 100 can recognize the sample and the background at the minimum contrast area, it is naturally also possible to identify the sample and the background at other areas, thereby distinguishing the background portion of the image to be processed from the sample portion. .
  • Sub-step S2032 Filtering background information contained in the image of the sample to be processed based on the grayscale histogram information to obtain key sample image information.
  • Step S204 Acquire specific position information of the sample slot based on the pre-established image recognition model and the key sample image information.
  • the server 100 uses a plurality of pre-established image recognition models to perform the sample slot. Positioning. It should be noted that a plurality of pre-established image recognition models are different; generally, one model corresponds to a feature of the sample slot, and a better anti-interference effect can be achieved.
  • step S204 should be replaced with: acquiring specific position information of the sample slot based on the plurality of pre-established image recognition models and the key sample image information. Please refer to FIG. 5, which is a specific flowchart of step S204. Step S204 includes:
  • Sub-step S2041 Acquiring a plurality of preliminary position information of the sample slot in the key sample image information based on each of the templates.
  • Sub-step S2042 Integrating a plurality of preliminary location information to obtain the location information.
  • the server 100 may reject the larger error in the plurality of preliminary position information, and determine the true position information of the sample slot from the remaining preliminary position information.
  • the specific location information is image coordinates.
  • Step S205 transmitting the position information to an impact robot.
  • the impact robot can know the position of the sample in real time, and it is convenient for the impact robot to perform the impact test.
  • FIG. 6 is a functional block diagram of a sample slot positioning device 200 according to a preferred embodiment of the present invention. It should be noted that the basic principle and the technical effects of the sample notch positioning device 200 provided in this embodiment are the same as those of the above embodiment, and are briefly described. Corresponding content in the embodiment.
  • the sample notch positioning device 200 includes a shooting parameter determining unit 210, a receiving unit 220, a filtering unit 230, a position information acquiring unit 240, and a transmitting unit 250.
  • the shooting parameter determining unit 210 is configured to determine a shooting parameter based on the received sample cooling temperature.
  • the shooting parameter determining unit 210 can be used to perform step S201.
  • the receiving unit 220 is configured to receive the collected sample image to be processed sent by an image capturing device in the state of the shooting parameter.
  • the receiving unit 220 can be used to perform step S202.
  • the filtering unit 230 is configured to perform a filtering process on the sample image to be processed to obtain key sample image information.
  • the filtering unit 230 is configured to acquire grayscale histogram information of a background of the image to be processed.
  • the filtering unit 230 is configured to acquire the distinguishing line between the sample and the background in the image acquisition of the sample to be processed; the filtering unit 230 is further configured to divide the image of the sample to be processed into multiple regions along the dividing line; The filtering unit 230 is further configured to acquire a gray histogram and a gray histogram mean of each of the regions; the filtering unit 230 is further configured to use a gray histogram having a minimum gray histogram mean as the sample to be processed Grayscale histogram information for the image.
  • the filtering unit 230 is further configured to filter background information included in the image to be processed based on the grayscale histogram information to obtain key sample image information.
  • the filtering unit 230 can be used to perform step S203, sub-step S2031, sub-step S2032, sub-step S20311, sub-step S20312, sub-step S20313, and sub-step S20314.
  • the location information acquisition unit 240 is configured to acquire location information of the sample slot based on the pre-established image recognition model and the focused sample image information.
  • the location information acquiring unit 240 is further configured to acquire specific location information of the sample slot based on the plurality of pre-established image recognition models and the focused sample image information.
  • the location information obtaining unit 240 can be used to perform step S204, sub-step S2041, and sub-step S2042.
  • the transmission unit 250 is for transmitting position information to an impact robot.
  • the transmission unit 250 can be used to perform step S205.
  • the received sample cooling temperature determines a shooting parameter, and acquires a sample to be processed collected by an image capturing device in the state of the shooting parameter.
  • Image then processing the sample image to perform filtering processing to obtain key sample image information, and finally obtaining position information of the sample notch based on a plurality of pre-established image recognition models and key sample image information; due to different sample cooling temperatures
  • the shooting results have different degrees of influence, so there is a corresponding suitable shooting parameter at each cooling temperature, so that the image of the sample to be processed is always in a relatively clear state, which is convenient for subsequent background separation and sample
  • the operation of notch positioning and the like not only improves the efficiency of obtaining the position information of the sample notch, but also increases the accuracy of the position information.

Abstract

The embodiments of the present invention propose a test sample notch positioning method and device, relating to the field of automation in the steel industry. The method and device determine a photographing parameter according to a received test sample cooling temperature, acquire a sample image to be processed acquired by an image acquisition device in the photographing parameter state, then filter said sample image to acquire key test sample image information, and finally acquire positional information concerning a test sample notch on the basis of a plurality of pre-established image recognition models and the key test sample image information. As different test sample cooling temperatures affect photographing results differently, there is always a suitable photographing parameter corresponding to each cooling temperature, so that said acquired sample image is always in a relatively clear state for facilitating subsequent operations such as background separation and test sample notch positioning, improving both the efficiency of acquiring the positional information concerning the test sample notch and the accuracy of the positional information.

Description

一种试样槽口定位方法及装置Sample slot positioning method and device 技术领域Technical field
本发明涉及钢铁行业自动化领域,具体而言,涉及一种试样槽口定位方法及装置。The invention relates to the field of automation of the steel industry, and in particular to a method and a device for positioning a sample slot.
背景技术Background technique
随着经济和科技的发展,在钢铁行业中自动化设备的运用越来越广泛,当检测钢样材质特性是否合格时,需要对试样槽口进行定位,然后取出放到相应的位置进行试验。With the development of economy and technology, the use of automation equipment in the steel industry is more and more extensive. When testing the material properties of steel samples, it is necessary to locate the sample notches, and then take them out to the corresponding positions for testing.
但在现有技术中,试样的冷却温度范围较大,从-193℃~20℃不等;而当试样的冷却温度小于等于-60℃时,会出现大量雾气造成成像不清晰,同时亮度会比20℃时的成像有明显下降,致使成像发生变化,从而对试样槽口的定位造成了很大的干扰,导致最终的定位不准确。However, in the prior art, the cooling temperature range of the sample is large, ranging from -193 ° C to 20 ° C; and when the cooling temperature of the sample is less than or equal to -60 ° C, a large amount of mist may be generated to cause unclear imaging, and at the same time The brightness will be significantly lower than that at 20 °C, causing the imaging to change, causing great interference with the positioning of the sample notch, resulting in inaccurate final positioning.
发明内容Summary of the invention
有鉴于此,本发明的目的在于提供一种试样槽口定位方法及装置,以解决上述问题。In view of the above, an object of the present invention is to provide a sample notch positioning method and apparatus to solve the above problems.
为了实现上述目的,本发明实施例采用的技术方案如下:In order to achieve the above object, the technical solution adopted by the embodiment of the present invention is as follows:
第一方面,本发明实施例提供了一种试样槽口定位方法,In a first aspect, an embodiment of the present invention provides a method for positioning a sample slot.
所述试样槽口定位方法包括:The sample slot positioning method includes:
基于接收到的试样冷却温度确定拍摄参数;The shooting parameter is determined based on the received sample cooling temperature;
接收处于所述拍摄参数状态下的一图像采集装置发送的采集到的待 处理样品图像;Receiving an image of the sample to be processed sent by an image acquisition device in a state of the shooting parameter;
对所述待处理样品图像进行过滤处理以获取重点试样图像信息;Performing filtering processing on the image of the sample to be processed to obtain image information of the key sample;
基于预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息。The specific position information of the sample slot is obtained based on the pre-established image recognition model and the key sample image information.
第二方面,本发明实施例还提供了一种试样槽口定位装置,所述试样槽口定位装置包括:In a second aspect, the embodiment of the present invention further provides a sample slot positioning device, where the sample slot positioning device includes:
拍摄参数确定单元,用于基于接收到的试样冷却温度确定拍摄参数;a photographing parameter determining unit, configured to determine a photographing parameter based on the received sample cooling temperature;
接收单元,用于接收处于所述拍摄参数状态下的一图像采集装置采集到的待处理样品图像;a receiving unit, configured to receive an image of a sample to be processed collected by an image capturing device in a state of the shooting parameter;
过滤单元,用于对所述待处理样品图像进行过滤处理以获取重点试样图像信息;a filtering unit, configured to perform filtering processing on the image of the sample to be processed to obtain image information of the key sample;
位置信息获取单元,用于基于多个预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息。The location information acquiring unit is configured to acquire specific location information of the sample slot based on the plurality of pre-established image recognition models and the key sample image information.
本发明实施例提供的试样槽口定位方法及装置,根据接收到的试样冷却温度确定拍摄参数,并获取处于该拍摄参数状态下的一图像采集装置采集到的待处理样品图像,接着对待处理样品图像进行过滤处理以获取重点试样图像信息,最后基于多个预建立的图像识别模型以及重点试样图像信息获取试样槽口的位置信息;由于不同的试样冷却温度对拍摄结果有不同程度的影响,因而每种冷却温度下都存在与之对应的较为合适的拍摄参数,使得获取的待处理样品图像总是处于较为清晰的状态,便于后续进行背景分离、试样槽口定位等操作,不仅提高了获取试样槽口的位置信息的效率,还增加了位置信息的准确率。The sample notch positioning method and device provided by the embodiment of the invention determine a shooting parameter according to the received sample cooling temperature, and acquire an image of the sample to be processed collected by an image collecting device in the state of the shooting parameter, and then treat Processing the sample image for filtering processing to obtain the image information of the key sample, and finally obtaining the position information of the sample slot based on the plurality of pre-established image recognition models and the image information of the key sample; since the cooling temperature of the different samples has a shooting result Different degrees of influence, so there is a corresponding suitable shooting parameter corresponding to each cooling temperature, so that the image of the sample to be processed is always in a relatively clear state, which is convenient for subsequent background separation, sample slot positioning, etc. The operation not only improves the efficiency of obtaining the position information of the sample notch, but also increases the accuracy of the position information.
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实 施例,并配合所附附图,作详细说明如下。The above described objects, features and advantages of the present invention will become more apparent from the description of the appended claims.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It should be understood that the following drawings show only certain embodiments of the present invention, and therefore It should be seen as a limitation on the scope, and those skilled in the art can obtain other related drawings according to these drawings without any creative work.
图1示出了本发明实施例提供的服务器的功能框图。FIG. 1 is a functional block diagram of a server provided by an embodiment of the present invention.
图2示出了本发明实施例提供的试样槽口定位方法的流程图;2 is a flow chart showing a method for positioning a sample slot provided by an embodiment of the present invention;
图3示出了图2中步骤S203的具体流程图;FIG. 3 shows a specific flowchart of step S203 in FIG. 2;
图4示出了图3中子步骤S2031的具体流程图;Figure 4 shows a specific flow chart of sub-step S2031 in Figure 3;
图5示出了图2中步骤S204的具体流程图;FIG. 5 shows a specific flowchart of step S204 in FIG. 2;
图6示出了本发明较佳实施例提供的一种试样槽口定位装置的功能模块图。FIG. 6 is a functional block diagram of a sample slot positioning device according to a preferred embodiment of the present invention.
图标:100-服务器;111-存储器;112-处理器;113-通信单元;200-试样槽口定位装置;210-拍摄参数确定单元;220-接收单元;230-过滤单元;240-位置信息获取单元;250-传输单元。Icon: 100-server; 111-memory; 112-processor; 113-communication unit; 200-sample slot positioning device; 210-shooting parameter determining unit; 220-receiving unit; 230-filtering unit; 240-position information Acquisition unit; 250-transport unit.
具体实施方式Detailed ways
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本 发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of the embodiments of the invention, which are generally described and illustrated in the figures herein, may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention in the claims All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings. Also, in the description of the present invention, the terms "first", "second", and the like are used merely to distinguish a description, and are not to be construed as indicating or implying a relative importance.
请参阅图1,图1示出了一种可应用于本发明实施例中的服务器100的功能框图。包括试样槽口定位装置200、存储器111,一个或多个(图中仅示出一个)处理器112、通信单元113。这些组件通过一条或多条通讯总线/信号线相互通讯。所述试样槽口定位装置200包括至少一个可以软件或固件(firmware)的形式存储于所述存储器111中或固化在所述服务器100的操作系统(operating S4stem,OS)中的软件功能单元。Please refer to FIG. 1. FIG. 1 shows a functional block diagram of a server 100 that can be applied to an embodiment of the present invention. The sample slot positioning device 200, the memory 111, one or more (only one shown) processor 112, and communication unit 113 are included. These components communicate with one another via one or more communication bus/signal lines. The sample slot locating device 200 includes at least one software functional unit that can be stored in the memory 111 or in an operating system (OS) of the server 100 in the form of software or firmware.
存储器111可用于存储软件程序以及单元,如本发明实施例中的软件测试装置及方法所对应的程序指令/单元,处理器112通过运行存储在存储器111内的试样槽口定位装置200的软件程序以及单元,从而执行各种功能应用以及数据处理,如本发明实施例提供的试样槽口定位方法。其中,所述存储器111可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。处理器112以及其他可能的组件对存储器111的访问可在存储控制器的控制下进行。The memory 111 can be used to store software programs and units, such as program instructions/units corresponding to the software testing apparatus and method in the embodiment of the present invention, and the processor 112 operates the software of the sample slot positioning device 200 stored in the memory 111. The program and the unit, thereby performing various function applications and data processing, such as the sample notch positioning method provided by the embodiment of the present invention. The memory 111 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. Access to the memory 111 by the processor 112 and other possible components can be performed under the control of the memory controller.
所述通信单元113用于通过所述网络建立所述服务器100与其它通信终端之间的通信连接,并用于通过所述网络收发数据。The communication unit 113 is configured to establish a communication connection between the server 100 and other communication terminals through the network, and is used to send and receive data through the network.
应当理解的是,图1所示的结构仅为示意,服务器100还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。图1中所示的各组件可以采用硬件、软件或其组合实现。It should be understood that the structure shown in FIG. 1 is merely illustrative, and the server 100 may further include more or less components than those shown in FIG. 1, or have a different configuration than that shown in FIG. The components shown in Figure 1 can be implemented in hardware, software, or a combination thereof.
第一实施例First embodiment
本发明提供了一种试样槽口定位方法,用于在对钢样进行冲击实验的过程中,定位钢材试样的槽口位置。请参阅图2,为本发明实施例提供的试样槽口定位方法的流程图。该试样槽口定位方法包括:The invention provides a sample notch positioning method for positioning a notch position of a steel sample during an impact test on a steel sample. Please refer to FIG. 2 , which is a flowchart of a method for positioning a sample slot according to an embodiment of the present invention. The sample slot positioning method includes:
步骤S201:基于接收到的试样冷却温度确定拍摄参数。Step S201: Determine a shooting parameter based on the received sample cooling temperature.
由于当试样的冷却温度过低,例如-80℃时,试样周围会产生大量的雾气,这将严重影响试样的成像结果,使得最终的成像结果非常不清晰。这不仅对成像结果中背景与试样的分离造成了较大干扰,还会导致最终对于试样中槽口的定位出现偏差。Since when the cooling temperature of the sample is too low, for example, -80 ° C, a large amount of mist is generated around the sample, which will seriously affect the imaging result of the sample, so that the final imaging result is very unclear. This not only causes a large disturbance to the separation of the background and the sample in the imaging result, but also causes a deviation in the positioning of the notch in the sample.
因而,通过依据试样的试样冷却温度来调整图像采集装置的拍摄参数,可以使得最终获取的试样的成像结果,不会因为冷却温度的变化而出现较大的变化。Therefore, by adjusting the photographing parameters of the image pickup device according to the sample cooling temperature of the sample, the imaging result of the finally obtained sample can be prevented from being largely changed due to the change in the cooling temperature.
可以理解地,拍摄参数包括但不仅限于快门、光圈、ISO、EV值、是否开闪光灯的设置参数。It can be understood that the shooting parameters include, but are not limited to, shutter, aperture, ISO, EV value, setting parameters of whether or not the flash is turned on.
步骤S202:接收处于该拍摄参数状态下的一图像采集装置发送的采集到的待处理样品图像。Step S202: Receive an image of the sample to be processed sent by an image acquisition device in the state of the shooting parameter.
可以理解地,通过该拍摄参数状态下的一图像采集装置采集到的待处理样品图像,成像结果清晰、易于辨认以及分析。It can be understood that the image of the sample to be processed collected by an image capturing device in the state of the shooting parameter is clear, easy to identify and analyzed.
步骤S203:对待处理样品图像进行过滤处理以获取重点试样图像信息。Step S203: Filtering the sample image to be processed to obtain key sample image information.
待处理样品图像中包含背景部分以及试样部分。可以理解地,试样部分即为试样自身的图像信息,可体现其结构、连接关系等。背景部分则包括试样所处的环境信息,这些环境信息会对试样槽口的分析造成一定的干扰;因而,需要通过对待处理样品图像进行过滤处理,将待处理样品图像中的背景部分给过滤掉以后,从而获取重点试样图像信息。The background image and the sample portion are included in the image of the sample to be processed. It can be understood that the sample part is the image information of the sample itself, and can reflect its structure, connection relationship and the like. The background part includes the environmental information of the sample, which will cause some interference to the analysis of the sample notch; therefore, the image of the sample to be processed needs to be filtered, and the background part of the image of the sample to be processed is given. After filtering out, the image information of the key sample is obtained.
请参阅图3,为步骤S203的具体流程图。步骤S203包括:Please refer to FIG. 3, which is a specific flowchart of step S203. Step S203 includes:
子步骤S2031:获取待处理样品图像的灰度直方图信息。Sub-step S2031: Acquire gray-scale histogram information of the sample image to be processed.
一般地,背景部分和试样部分的差异较大,因而可以首先获取待处理样品图像的灰度直方图信息,通过该灰度直方图信息将背景部分和试样部分区分开来。Generally, the difference between the background portion and the sample portion is large, so that the gray histogram information of the image of the sample to be processed can be first obtained, and the background portion and the sample portion are distinguished by the gray histogram information.
请参阅图4,为子步骤S2031的具体流程图。子步骤S2031包括:Please refer to FIG. 4, which is a specific flowchart of sub-step S2031. Sub-step S2031 includes:
子步骤S20311:获取待处理样品图像中试样与背景的区分线。Sub-step S20311: Obtain a line of distinction between the sample and the background in the image of the sample to be processed.
可以理解地,试样具有一定形状、轮廓;因而,试样与背景的区分线即为试样自身的轮廓线,区分线将待处理样品图像划分为了试样部分和背景部分。It can be understood that the sample has a certain shape and contour; therefore, the line distinguishing the sample from the background is the contour line of the sample itself, and the dividing line divides the image of the sample to be processed into the sample portion and the background portion.
子步骤S20312:沿区分线将待处理样品图像划分为多个区域。Sub-step S20312: dividing the image of the sample to be processed into a plurality of regions along the dividing line.
由于在试样槽口的位置通常有酒精附着,试样槽口与背景的差异较小,灰度值与背景的相近,仅通过获取某个区域的灰度值作为该待处理样品图像的灰度直方图信息,会对最终的重点试样图像信息造成较大的误差,因而首先沿区分线将待处理样品图像划分为多个区域,再通过对每个区域进行分析,可以减小重点试样图像信息的误差。Since there is usually alcohol adhesion at the position of the sample slot, the difference between the sample notch and the background is small, and the gray value is similar to the background, only by obtaining the gray value of a certain area as the gray of the image of the sample to be processed. The histogram information will cause a large error to the final key sample image information. Therefore, the image of the sample to be processed is first divided into multiple regions along the dividing line, and then the analysis of each region can be used to reduce the key test. The error of the image information.
子步骤S20313:获取每个区域的灰度直方图以及灰度直方图均值。Sub-step S20313: Acquire a gray histogram and a gray histogram mean for each region.
通过获取每个区域的灰度直方图以及灰度直方图均值,便于服务器100获取每个区域背景部分与试样部分的灰度值的对比度。By acquiring the gray histogram and the gray histogram mean of each region, it is convenient for the server 100 to acquire the contrast of the gray value of the background portion and the sample portion of each region.
子步骤S20314:将具有最小的灰度直方图均值的灰度直方图作为待处理样品图像的灰度直方图信息。Sub-step S20314: The gray histogram having the smallest gray histogram mean is used as the gray histogram information of the sample image to be processed.
具有最小的灰度直方图均值的区域,试样与背景的对比度最小,通过将该灰度直方图作为待处理样品图像的灰度直方图信息,可以使得待处理样品图像的灰度直方图信息具有最大的识别精度。The area with the smallest mean value of the gray histogram has the smallest contrast between the sample and the background. By using the gray histogram as the gray histogram information of the sample image to be processed, the gray histogram information of the sample image to be processed can be made. Has the greatest recognition accuracy.
可以理解地,当服务器100可以识别出对比度最小区域处的试样与背景时,自然也可以识别出其他区域处的试样与背景,从而将待处理样品图像的背景部分与试样部分区分开。It can be understood that when the server 100 can recognize the sample and the background at the minimum contrast area, it is naturally also possible to identify the sample and the background at other areas, thereby distinguishing the background portion of the image to be processed from the sample portion. .
子步骤S2032:基于灰度直方图信息滤除待处理样品图像中包含的背景信息以获取重点试样图像信息。Sub-step S2032: Filtering background information contained in the image of the sample to be processed based on the grayscale histogram information to obtain key sample image information.
步骤S204:基于预建立的图像识别模型以及重点试样图像信息获取试样槽口的具体位置信息。Step S204: Acquire specific position information of the sample slot based on the pre-established image recognition model and the key sample image information.
在一种优选的实施例中,为避免在获取试样槽口的位置信息过程中受到干扰导致最终获取的位置信息不准确,服务器100采用多个预建立的图像识别模型对试样槽口进行定位。需要说明的是,多个预建立的图像识别模型是不同的;通常地,一种模型对应试样槽口的一种特征,能达到更好地抗干扰的效果。此时,步骤S204应当替换为:基于多个预建立的图像识别模型以及重点试样图像信息获取试样槽口的具体位置信息。请参阅图5,为步骤S204的具体流程图。步骤S204包括:In a preferred embodiment, in order to avoid inaccuracies in the position information obtained during the acquisition of the position information of the sample slot, the server 100 uses a plurality of pre-established image recognition models to perform the sample slot. Positioning. It should be noted that a plurality of pre-established image recognition models are different; generally, one model corresponds to a feature of the sample slot, and a better anti-interference effect can be achieved. At this time, step S204 should be replaced with: acquiring specific position information of the sample slot based on the plurality of pre-established image recognition models and the key sample image information. Please refer to FIG. 5, which is a specific flowchart of step S204. Step S204 includes:
子步骤S2041:基于每个所述模板获取重点试样图像信息中试样槽口 的多个初步位置信息。Sub-step S2041: Acquiring a plurality of preliminary position information of the sample slot in the key sample image information based on each of the templates.
可以理解地,在未受干扰地情况下,多个初步位置信息应当在误差范围内。It can be understood that, in the case of undisturbed, a plurality of preliminary position information should be within the error range.
子步骤S2042:整合多个初步位置信息而获取所述位置信息。Sub-step S2042: Integrating a plurality of preliminary location information to obtain the location information.
例如,当出现干扰较大的情况,服务器100可将多个初步位置信息中误差较大的剔除,从剩下的初步位置信息中确定试样槽口真正的位置信息。For example, when there is a large interference, the server 100 may reject the larger error in the plurality of preliminary position information, and determine the true position information of the sample slot from the remaining preliminary position information.
在一种优选的实施例中,该具体位置信息为图像坐标。In a preferred embodiment, the specific location information is image coordinates.
步骤S205:将位置信息传输至一冲击机器人。Step S205: transmitting the position information to an impact robot.
通过将位置信息传输给冲击机器人,冲击机器人可实时获知试样的位置,便于冲击机器人进行冲击实验。By transmitting the position information to the impact robot, the impact robot can know the position of the sample in real time, and it is convenient for the impact robot to perform the impact test.
第二实施例Second embodiment
请参阅图6,图6为本发明较佳实施例提供的一种试样槽口定位装置200的功能模块图。需要说明的是,本实施例所提供的试样槽口定位装置200,其基本原理及产生的技术效果和上述实施例相同,为简要描述,本实施例部分未提及之处,可参考上述的实施例中相应内容。该试样槽口定位装置200包括:拍摄参数确定单元210、接收单元220、过滤单元230、位置信息获取单元240以及传输单元250。Please refer to FIG. 6. FIG. 6 is a functional block diagram of a sample slot positioning device 200 according to a preferred embodiment of the present invention. It should be noted that the basic principle and the technical effects of the sample notch positioning device 200 provided in this embodiment are the same as those of the above embodiment, and are briefly described. Corresponding content in the embodiment. The sample notch positioning device 200 includes a shooting parameter determining unit 210, a receiving unit 220, a filtering unit 230, a position information acquiring unit 240, and a transmitting unit 250.
其中,拍摄参数确定单元210,用于基于接收到的试样冷却温度确定拍摄参数。The shooting parameter determining unit 210 is configured to determine a shooting parameter based on the received sample cooling temperature.
在一种优选的实施例中,可以理解地,拍摄参数确定单元210可用于执行步骤S201。In a preferred embodiment, it can be understood that the shooting parameter determining unit 210 can be used to perform step S201.
接收单元220用于接收处于所述拍摄参数状态下的一图像采集装置发送的采集到的待处理样品图像。The receiving unit 220 is configured to receive the collected sample image to be processed sent by an image capturing device in the state of the shooting parameter.
在一种优选的实施例中,可以理解地,接收单元220可用于执行步骤S202。In a preferred embodiment, it can be understood that the receiving unit 220 can be used to perform step S202.
过滤单元230用于对待处理样品图像进行过滤处理以获取重点试样图像信息。The filtering unit 230 is configured to perform a filtering process on the sample image to be processed to obtain key sample image information.
具体地,过滤单元230用于获取所述待处理样品图像的背景的灰度直方图信息。Specifically, the filtering unit 230 is configured to acquire grayscale histogram information of a background of the image to be processed.
其中,过滤单元230用于获取所述待处理样品图像获取中试样与所述背景的区分线;过滤单元230还用于沿所述区分线将所述待处理样品图像划分为多个区域;过滤单元230还用于获取每个所述区域的灰度直方图以及灰度直方图均值;过滤单元230还用于将具有最小的灰度直方图均值的灰度直方图作为所述待处理样品图像的灰度直方图信息。The filtering unit 230 is configured to acquire the distinguishing line between the sample and the background in the image acquisition of the sample to be processed; the filtering unit 230 is further configured to divide the image of the sample to be processed into multiple regions along the dividing line; The filtering unit 230 is further configured to acquire a gray histogram and a gray histogram mean of each of the regions; the filtering unit 230 is further configured to use a gray histogram having a minimum gray histogram mean as the sample to be processed Grayscale histogram information for the image.
过滤单元230还用于基于灰度直方图信息滤除待处理样品图像中包含的背景信息以获取重点试样图像信息。The filtering unit 230 is further configured to filter background information included in the image to be processed based on the grayscale histogram information to obtain key sample image information.
在一种优选的实施例中,可以理解地,过滤单元230可用于执行步骤S203、子步骤S2031、子步骤S2032、子步骤S20311、子步骤S20312、子步骤S20313以及子步骤S20314。In a preferred embodiment, it can be understood that the filtering unit 230 can be used to perform step S203, sub-step S2031, sub-step S2032, sub-step S20311, sub-step S20312, sub-step S20313, and sub-step S20314.
位置信息获取单元240用于基于预建立的图像识别模型以及重点试样图像信息获取试样槽口的位置信息。The location information acquisition unit 240 is configured to acquire location information of the sample slot based on the pre-established image recognition model and the focused sample image information.
在一种优选的实施例中,位置信息获取单元240还用于基于多个预建立的图像识别模型以及重点试样图像信息获取试样槽口的具体位置信息。In a preferred embodiment, the location information acquiring unit 240 is further configured to acquire specific location information of the sample slot based on the plurality of pre-established image recognition models and the focused sample image information.
在一种优选的实施例中,可以理解地,位置信息获取单元240可用于 执行步骤S204、子步骤S2041以及子步骤S2042。In a preferred embodiment, it can be understood that the location information obtaining unit 240 can be used to perform step S204, sub-step S2041, and sub-step S2042.
传输单元250用于将位置信息传输至一冲击机器人。The transmission unit 250 is for transmitting position information to an impact robot.
在一种优选的实施例中,可以理解地,传输单元250可用于执行步骤S205。In a preferred embodiment, it can be understood that the transmission unit 250 can be used to perform step S205.
综上所述,本发明实施例提供的试样槽口定位方法及装置,接收到的试样冷却温度确定拍摄参数,并获取处于该拍摄参数状态下的一图像采集装置采集到的待处理样品图像,接着对待处理样品图像进行过滤处理以获取重点试样图像信息,最后基于多个预建立的图像识别模型以及重点试样图像信息获取试样槽口的位置信息;由于不同的试样冷却温度对拍摄结果有不同程度的影响,因而每种冷却温度下都存在与之对应的较为合适的拍摄参数,使得获取的待处理样品图像总是处于较为清晰的状态,便于后续进行背景分离、试样槽口定位等操作,不仅提高了获取试样槽口的位置信息的效率,还增加了位置信息的准确率。In summary, the method and device for positioning a sample slot provided by an embodiment of the present invention, the received sample cooling temperature determines a shooting parameter, and acquires a sample to be processed collected by an image capturing device in the state of the shooting parameter. Image, then processing the sample image to perform filtering processing to obtain key sample image information, and finally obtaining position information of the sample notch based on a plurality of pre-established image recognition models and key sample image information; due to different sample cooling temperatures The shooting results have different degrees of influence, so there is a corresponding suitable shooting parameter at each cooling temperature, so that the image of the sample to be processed is always in a relatively clear state, which is convenient for subsequent background separation and sample The operation of notch positioning and the like not only improves the efficiency of obtaining the position information of the sample notch, but also increases the accuracy of the position information.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精 神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention. It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings.

Claims (10)

  1. 一种试样槽口定位方法,其特征在于,所述试样槽口定位方法包括:A sample notch positioning method, wherein the sample notch positioning method comprises:
    基于接收到的试样冷却温度确定拍摄参数;The shooting parameter is determined based on the received sample cooling temperature;
    接收处于所述拍摄参数状态下的一图像采集装置发送的采集到的待处理样品图像;Receiving an image of the sample to be processed sent by an image acquisition device in a state of the shooting parameter;
    对所述待处理样品图像进行过滤处理以获取重点试样图像信息;Performing filtering processing on the image of the sample to be processed to obtain image information of the key sample;
    基于预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息。The specific position information of the sample slot is obtained based on the pre-established image recognition model and the key sample image information.
  2. 根据权利要求1所述的试样槽口定位方法,其特征在于,所述对所述待处理样品图像进行过滤处理以获取重点试样图像信息的步骤包括:The sample notch positioning method according to claim 1, wherein the step of filtering the image of the sample to be processed to obtain image information of the key sample comprises:
    获取所述待处理样品图像的灰度直方图信息;Obtaining grayscale histogram information of the image of the sample to be processed;
    基于所述灰度直方图信息滤除所述待处理样品图像中包含的背景信息以获取所述重点试样图像信息。And extracting background information included in the image to be processed based on the grayscale histogram information to acquire the key sample image information.
  3. 根据权利要求2所述的试样槽口定位方法,其特征在于,所述获取所述待处理样品图像的灰度直方图信息的步骤包括:The sample notch positioning method according to claim 2, wherein the step of acquiring grayscale histogram information of the image of the sample to be processed comprises:
    获取所述待处理样品图像中试样与所述背景的区分线;Obtaining a distinction line between the sample and the background in the image of the sample to be processed;
    沿所述区分线将所述待处理样品图像划分为多个区域;Dividing the image of the sample to be processed into a plurality of regions along the distinguishing line;
    获取每个所述区域的灰度直方图以及灰度直方图均值;Obtaining a gray histogram and a gray histogram mean value of each of the regions;
    将具有最小的灰度直方图均值的灰度直方图作为所述待处理样品图像的灰度直方图信息。A gray histogram having the smallest gray histogram mean is used as the gray histogram information of the sample image to be processed.
  4. 根据权利要求1所述的试样槽口定位方法,其特征在于,所述基于 预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息的步骤还包括:The sample notch positioning method according to claim 1, wherein the step of acquiring the specific position information of the sample slot based on the pre-established image recognition model and the key sample image information further comprises:
    基于多个预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息。The specific position information of the sample slot is obtained based on the plurality of pre-established image recognition models and the key sample image information.
  5. 根据权利要求4所述的试样槽口定位方法,其特征在于,所述基于多个预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的位置信息的步骤包括:The sample notch positioning method according to claim 4, wherein the step of acquiring position information of the sample slot based on the plurality of pre-established image recognition models and the key sample image information comprises:
    基于每个所述图像识别模型获取重点试样图像信息中试样槽口的多个初步位置信息;Acquiring a plurality of preliminary position information of the sample slot in the image information of the key sample based on each of the image recognition models;
    整合多个所述初步位置信息而获取所述具体位置信息。The plurality of the preliminary location information is integrated to obtain the specific location information.
  6. 一种试样槽口定位装置,其特征在于,所述试样槽口定位装置包括:A sample notch positioning device, wherein the sample notch positioning device comprises:
    拍摄参数确定单元,用于基于接收到的试样冷却温度确定拍摄参数;a photographing parameter determining unit, configured to determine a photographing parameter based on the received sample cooling temperature;
    接收单元,用于接收处于所述拍摄参数状态下的一图像采集装置采集到的待处理样品图像;a receiving unit, configured to receive an image of a sample to be processed collected by an image capturing device in a state of the shooting parameter;
    过滤单元,用于对所述待处理样品图像进行过滤处理以获取重点试样图像信息;a filtering unit, configured to perform filtering processing on the image of the sample to be processed to obtain image information of the key sample;
    位置信息获取单元,用于基于多个预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息。The location information acquiring unit is configured to acquire specific location information of the sample slot based on the plurality of pre-established image recognition models and the key sample image information.
  7. 根据权利要求6所述的试样槽口定位装置,其特征在于,所述过滤单元还用于获取所述待处理样品图像的背景的灰度直方图信息;The sample notch positioning device according to claim 6, wherein the filtering unit is further configured to acquire grayscale histogram information of a background of the image of the sample to be processed;
    所述过滤单元还用于基于所述灰度直方图信息滤除所述待处理样品图像中包含的背景信息以获取所述重点试样图像信息。The filtering unit is further configured to filter background information included in the image to be processed based on the grayscale histogram information to obtain the key sample image information.
  8. 根据权利要求7所述的试样槽口定位装置,其特征在于,所述过滤单元还用于获取所述待处理样品图像获取中试样与所述背景的区分线;The sample notch positioning device according to claim 7, wherein the filtering unit is further configured to acquire a distinguishing line between the sample and the background in the image acquisition of the sample to be processed;
    所述过滤单元还用于沿所述区分线将所述待处理样品图像划分为多个区域;The filtering unit is further configured to divide the image of the sample to be processed into a plurality of regions along the distinguishing line;
    所述过滤单元还用于获取每个所述区域的灰度直方图均值;The filtering unit is further configured to obtain a gray histogram mean value of each of the regions;
    所述过滤单元还用于将最小的所述灰度直方图均值作为所述背景的灰度直方图信息。The filtering unit is further configured to use the smallest grayscale histogram mean as the grayscale histogram information of the background.
  9. 根据权利要求6所述的试样槽口定位装置,其特征在于,所述位置信息获取单元还用于基于多个预建立的图像识别模型以及所述重点试样图像信息获取试样槽口的具体位置信息。The sample slot positioning device according to claim 6, wherein the position information acquiring unit is further configured to acquire a sample slot based on the plurality of pre-established image recognition models and the key sample image information. Specific location information.
  10. 根据权利要求9所述的试样槽口定位装置,其特征在于,所述位置信息获取单元还用于基于每个所述图像识别模型获取重点试样图像信息中试样槽口的多个初步位置信息;The sample notch positioning device according to claim 9, wherein the position information acquiring unit is further configured to acquire a plurality of preliminary samples of the sample notch in the image information of the key sample based on each of the image recognition models. location information;
    所述位置信息获取单元还用于整合多个所述初步位置信息而获取所述具体位置信息。The location information acquiring unit is further configured to integrate the plurality of the preliminary location information to obtain the specific location information.
PCT/CN2018/109073 2017-12-29 2018-09-30 Test sample notch positioning method and device WO2019128366A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE112018000224.1T DE112018000224B4 (en) 2017-12-29 2018-09-30 Method and device for determining a position of a slit in a sample to be processed

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711480667.6A CN108460798A (en) 2017-12-29 2017-12-29 A kind of sample notch localization method and device
CN201711480667.6 2017-12-29

Publications (1)

Publication Number Publication Date
WO2019128366A1 true WO2019128366A1 (en) 2019-07-04

Family

ID=63220545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109073 WO2019128366A1 (en) 2017-12-29 2018-09-30 Test sample notch positioning method and device

Country Status (3)

Country Link
CN (1) CN108460798A (en)
DE (1) DE112018000224B4 (en)
WO (1) WO2019128366A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108460798A (en) * 2017-12-29 2018-08-28 江苏金恒信息科技股份有限公司 A kind of sample notch localization method and device
CN111145197B (en) * 2019-12-10 2022-05-03 电子科技大学 Accurate turnout switch machine notch edge positioning method based on histogram and local gradient

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105092406A (en) * 2015-07-07 2015-11-25 中南大学 Novel furnace slag crystallization process thermogravimetric test device and test method
CN105988343A (en) * 2014-09-17 2016-10-05 富士施乐株式会社 Fixing device and image forming apparatus
CN107492074A (en) * 2017-07-21 2017-12-19 触景无限科技(北京)有限公司 Image acquisition and processing method, device and terminal device
CN108460798A (en) * 2017-12-29 2018-08-28 江苏金恒信息科技股份有限公司 A kind of sample notch localization method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19754129C1 (en) 1997-12-05 1999-04-15 Karlsruhe Forschzent Arrangement for detecting contour changes of strain specimens at different temp.
CN101957313B (en) * 2010-09-21 2012-07-04 吉林大学 Method and device for computer visual inspection classification of quality of fresh corn ears
WO2012171627A1 (en) 2011-06-14 2012-12-20 Tata Steel Nederland Technology B.V. Method and device of determining a tracking characteristic and/or strip width of a moving strip
CN104200457A (en) * 2014-07-21 2014-12-10 华南农业大学 Wide-angle camera shooting based discrete type canopy leaf area index detection system and method
CN105798927B (en) * 2016-05-23 2017-02-08 广东工业大学 Crucible defect grinding processing method based on image and processing system with crucible defect grinding processing method based on image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988343A (en) * 2014-09-17 2016-10-05 富士施乐株式会社 Fixing device and image forming apparatus
CN105092406A (en) * 2015-07-07 2015-11-25 中南大学 Novel furnace slag crystallization process thermogravimetric test device and test method
CN107492074A (en) * 2017-07-21 2017-12-19 触景无限科技(北京)有限公司 Image acquisition and processing method, device and terminal device
CN108460798A (en) * 2017-12-29 2018-08-28 江苏金恒信息科技股份有限公司 A kind of sample notch localization method and device

Also Published As

Publication number Publication date
CN108460798A (en) 2018-08-28
DE112018000224B4 (en) 2023-09-07
DE112018000224T5 (en) 2019-10-10

Similar Documents

Publication Publication Date Title
JP6905954B2 (en) Optimization of unknown defect removal for automatic defect classification
CN107945198B (en) Method and device for marking point cloud data
US11189019B2 (en) Method for detecting defects, electronic device, and computer readable medium
WO2019128366A1 (en) Test sample notch positioning method and device
CN113449703B (en) Quality control method and device for environment online monitoring data, storage medium and equipment
CN113838480B (en) Washing machine abnormal sound detection method and device and electronic equipment
CN111811567B (en) Equipment detection method based on curve inflection point comparison and related device
CN111257329A (en) Smartphone camera defect detection method and detection system
CN109034170A (en) A kind of round readings of pointer type meters method of switch cubicle detection device
CN111444911B (en) Training method and device of license plate recognition model and license plate recognition method and device
CN115575322A (en) Outgoing quality inspection method and system for direct-insertion LED lamp beads
CN113723467A (en) Sample collection method, device and equipment for defect detection
CN109102486B (en) Surface defect detection method and device based on machine learning
CN112862882A (en) Target distance measuring method, device, electronic apparatus and storage medium
CN108550142A (en) A kind of tooth hole inspection method and hole inspection and device
CN110211200B (en) Dental arch wire generating method and system based on neural network technology
CN116071335A (en) Wall surface acceptance method, device, equipment and storage medium
CN115670397A (en) PPG artifact identification method and device, storage medium and electronic equipment
CN112418590B (en) Printed circuit board component detection method and system
CN114037941A (en) Method and device for performing algorithm multi-data cross validation completion aiming at video target attributes
CN114488595A (en) Substrate cutting method and system
CN112967223A (en) Artificial intelligence-based textile detection system, method and medium
CN112967224A (en) Electronic circuit board detection system, method and medium based on artificial intelligence
CN114271791B (en) Artifact detection method and device of OCT imaging system
CN116793688A (en) Variable valve timing system position analysis method, device, equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18895362

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18895362

Country of ref document: EP

Kind code of ref document: A1