CN110111398A - Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique - Google Patents

Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique Download PDF

Info

Publication number
CN110111398A
CN110111398A CN201910302275.3A CN201910302275A CN110111398A CN 110111398 A CN110111398 A CN 110111398A CN 201910302275 A CN201910302275 A CN 201910302275A CN 110111398 A CN110111398 A CN 110111398A
Authority
CN
China
Prior art keywords
actuator
replaced
circumscribed rectangle
minimum circumscribed
control
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.)
Pending
Application number
CN201910302275.3A
Other languages
Chinese (zh)
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.)
Hangzhou Kun Tian Automation System Co Ltd
Original Assignee
Hangzhou Kun Tian Automation System 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 Hangzhou Kun Tian Automation System Co Ltd filed Critical Hangzhou Kun Tian Automation System Co Ltd
Priority to CN201910302275.3A priority Critical patent/CN110111398A/en
Publication of CN110111398A publication Critical patent/CN110111398A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to a kind of actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique.The object of the present invention is to provide a kind of actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique.The technical scheme is that a kind of actuator intelligence replacement method based on visual computing technique, it is characterized in that, the described method includes: determine the type of actuator to be replaced, and then determine the minimum circumscribed rectangle of the type actuator specific coordinate in flow charts and size;The big as low as identical as the size of minimum circumscribed rectangle of actuator to be replaced of corresponding types of the minimum circumscribed rectangle of new actuator is adjusted, new actuator adjusted is placed on the coordinate of actuator minimum circumscribed rectangle to be replaced.The present invention makes suitable for DCS process.

Description

Actuator intelligence replacement method, device, storage medium based on visual computing technique and Electronic equipment
Technical field
The present invention relates to a kind of actuator intelligence replacement method, device, storage medium and electricity based on visual computing technique Sub- equipment.It is made suitable for DCS process.
Background technique
In DCS process manufacturing process, implementing the main action of engineer is exactly that the control of adaptation is placed into DCS Corresponding position and the position number in base map is arranged into control in base map, this work repeatability is high also to compare labor intensive.
Summary of the invention
The technical problem to be solved by the present invention is in view of the above problems, providing a kind of based on visual computing technique Actuator intelligence replacement method, device, storage medium and electronic equipment.
The technical scheme adopted by the invention is that: a kind of actuator intelligence replacement method based on visual computing technique, It is characterized in that, which comprises
It determines the type of actuator to be replaced, and then determines the minimum circumscribed rectangle of the type actuator in flow charts Specific coordinate and size;
Adjust the big as low as external with the minimum of the actuator to be replaced of corresponding types of the minimum circumscribed rectangle of new actuator The size of rectangle is identical, new actuator adjusted is placed on the coordinate of actuator minimum circumscribed rectangle to be replaced.
The method of the minimum circumscribed rectangle of the determining actuator specific coordinate in flow charts and size includes:
Determined according to pixel value feature may be in DCS flow chart actuator alternative controls I;
The control with number in alternative controls I is identified and excludes, the control not being excluded in alternative controls I is as standby Selected control II;
The shape feature of control in alternative controls II is detected, excludes that there are apparent rectangular characteristic control, alternative controls II In the control that is not excluded as actuator to be replaced;
It determines the minimum circumscribed rectangle of actuator to be replaced, and determines that the minimum circumscribed rectangle is locating in DCS flow chart Specific coordinate and size.
A kind of actuator intelligence alternative based on visual computing technique characterized by comprising
Determination type module determines such for determining the type of actuator to be replaced, and then from coordinate and big little module The minimum circumscribed rectangle of type actuator specific coordinate in flow charts and size;
Automatic replacement module, for adjust new actuator minimum circumscribed rectangle it is big as low as to be replaced with corresponding types The size of the minimum circumscribed rectangle of actuator is identical, and new actuator adjusted is placed on the minimum external square of actuator to be replaced On the coordinate of shape.
The coordinate and big little module, comprising:
Dithering module, for determined according to pixel value feature may be in DCS flow chart actuator alternative controls Ⅰ;
Digital screening module for identification and excludes the control with number in alternative controls I, in alternative controls I not The control being excluded alternately control II;
Shape screening module excludes have apparent rectangle special for detecting the shape feature of control in alternative controls II Control is levied, the control not being excluded in alternative controls II is as actuator to be replaced;
Coordinate and size determining module for determining the minimum circumscribed rectangle of actuator to be replaced, and determine outside the minimum Connect rectangle specific coordinate locating in DCS flow chart and size.
A kind of storage medium, the storage medium are stored with computer program, and the computer program can after being performed Realize the actuator intelligence replacement method based on image processing techniques.
A kind of electronic equipment, including memory, processor and be stored on the memory and run by the processor Computer program;
The processor is connect with the memory, and processor realizes the base by running the computer program In the actuator intelligence replacement method of image processing techniques.
The beneficial effects of the present invention are: the present invention is filtered out in DCS flow chart by color, number and shape three elements Actuator to be replaced, determines the coordinate and size of actuator, to automatically adjust new actuator size, and certainly according to coordinate It is dynamic to be replaced, working efficiency is provided.
Detailed description of the invention
Fig. 1 is the flow chart of embodiment.
Fig. 2 is the system block diagram of embodiment.
Specific embodiment
There are a plurality of types of actuators in DCS flow chart, the automatic replacement of Yao Shixian actuator, in addition to can be accurate Ground detects that the type for being replaced actuator is also predefined except the actuator in image, and specific replacement process is as follows (see Fig. 1):
The portion of be likely to be actuator in system diagram is determined using the different feature of the pixel value of different colours in image It is allocated as alternative controls I;
Alternative controls I are detected using OCR method, exclusion number identical with actuator color, in alternative controls I The control not being excluded alternately control II;
The shape feature for detecting control in alternative controls II, the part with apparent rectangular characteristic is excluded, finally Obtain all actuators to be replaced in DCS flow chart;
It determines the minimum circumscribed rectangle of all actuators to be replaced, and determines these minimum circumscribed rectangles in DCS flow chart In locating specific coordinate and size;
When carrying out the replacement of actuator, the type for needing the actuator replaced is determined by the method for template matching, into And determine the minimum circumscribed rectangle of the type actuator specific coordinate in flow charts and size;
Determine the minimum circumscribed rectangle of new actuator, and the size of the boundary rectangle be adjusted, adjusted to The size of the minimum circumscribed rectangle of the actuator to be replaced of corresponding types is identical, then places it in corresponding control to be replaced most On the coordinate of small boundary rectangle.
By above step can in realization system actuator automatic replacement.
Fig. 2 is the system block diagram of the actuator intelligence alternative based on image processing techniques.Based on image processing techniques Actuator intelligence alternative have determination type module 1 and automatic replacement module 3, determination type module 1 for determine to The type of actuator is replaced, and then determines the minimum circumscribed rectangle of the type actuator in flow chart from coordinate and big little module 2 In specific coordinate and size;Automatic replacement module 3 be used to adjust the minimum circumscribed rectangle of new actuator it is big as low as with it is corresponding The size of the minimum circumscribed rectangle of the actuator to be replaced of type is identical, and new actuator adjusted is placed on execution to be replaced On the coordinate of device minimum circumscribed rectangle.
Coordinate and big little module 2 include dithering module 201, digital screening module 202, shape screening in the present embodiment Module 203 and coordinate and size determining module 204, wherein dithering module 201 is used to determine that DCS is flowed according to pixel value feature It may be the alternative controls I of actuator in journey figure;Digital screening module 202 for identification and excludes having in alternative controls I The control of number, the control not being excluded in alternative controls I alternately control II;Shape screening module 203 is standby for detecting The shape feature of control in selected control II excludes have apparent rectangular characteristic control, the control not being excluded in alternative controls II Part is as actuator to be replaced;Coordinate and size determining module 204 are used to determine the minimum circumscribed rectangle of actuator to be replaced, and Determine the minimum circumscribed rectangle specific coordinate locating in DCS flow chart and size.
The present embodiment provides a kind of storage medium, storage medium is stored with computer program, after computer program is performed It can be realized the actuator intelligence replacement method in the present embodiment based on image processing techniques.
The present embodiment provides a kind of electronic equipment, including memory, processor and it is stored on the memory and by institute State the computer program of processor operation;The processor is connect with the memory, and processor is by running the computer Program realizes the actuator intelligence replacement method based on image processing techniques of the present embodiment.

Claims (6)

1. a kind of actuator intelligence replacement method based on visual computing technique, which is characterized in that the described method includes:
It determines the type of actuator to be replaced, and then determines the minimum circumscribed rectangle of the type actuator in flow charts specific Coordinate and size;
Adjust the big minimum circumscribed rectangle as low as with the actuator to be replaced of corresponding types of the minimum circumscribed rectangle of new actuator Size it is identical, new actuator adjusted is placed on the coordinate of actuator minimum circumscribed rectangle to be replaced.
2. the actuator intelligence replacement method according to claim 1 based on visual computing technique, it is characterised in that: described The method for determining the minimum circumscribed rectangle of actuator specific coordinate in flow charts and size includes:
Determined according to pixel value feature may be in DCS flow chart actuator alternative controls I;
The control with number in alternative controls I is identified and excludes, the control not being excluded in alternative controls I is alternately controlled Part II;
The shape feature of control in alternative controls II is detected, excludes that there is apparent rectangular characteristic control, in alternative controls II not The control being excluded is as actuator to be replaced;
It determines the minimum circumscribed rectangle of actuator to be replaced, and determines minimum circumscribed rectangle tool locating in DCS flow chart Body coordinate and size.
3. a kind of actuator intelligence alternative based on visual computing technique characterized by comprising
Determination type module (1), for determining the type of actuator to be replaced, and then determining from coordinate and big little module (2) should The minimum circumscribed rectangle of type actuator specific coordinate in flow charts and size;
Automatic replacement module (3), for adjust new actuator minimum circumscribed rectangle it is big as low as to be replaced with corresponding types The size of the minimum circumscribed rectangle of actuator is identical, and new actuator adjusted is placed on the minimum external square of actuator to be replaced On the coordinate of shape.
4. the actuator intelligence alternative according to claim 3 based on visual computing technique, it is characterised in that: described Coordinate and big little module (2), comprising:
Dithering module (201), for determined according to pixel value feature may be in DCS flow chart actuator alternative controls Ⅰ;
Digital screening module (202) for identification and excludes the control with number in alternative controls I, in alternative controls I not The control being excluded alternately control II;
Shape screening module (203) excludes have apparent rectangle special for detecting the shape feature of control in alternative controls II Control is levied, the control not being excluded in alternative controls II is as actuator to be replaced;
Coordinate and size determining module (204) for determining the minimum circumscribed rectangle of actuator to be replaced, and determine outside the minimum Connect rectangle specific coordinate locating in DCS flow chart and size.
5. a kind of storage medium, the storage medium is stored with computer program, and the computer program can be real after being performed The existing actuator intelligence replacement method of any of claims 1 or 2 based on image processing techniques.
6. a kind of electronic equipment, including memory, processor and it is stored on the memory and is run by the processor Computer program;
The processor is connect with the memory, and processor realizes claims 1 or 2 by running the computer program The actuator intelligence replacement method based on image processing techniques.
CN201910302275.3A 2019-04-16 2019-04-16 Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique Pending CN110111398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910302275.3A CN110111398A (en) 2019-04-16 2019-04-16 Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910302275.3A CN110111398A (en) 2019-04-16 2019-04-16 Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique

Publications (1)

Publication Number Publication Date
CN110111398A true CN110111398A (en) 2019-08-09

Family

ID=67485375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910302275.3A Pending CN110111398A (en) 2019-04-16 2019-04-16 Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique

Country Status (1)

Country Link
CN (1) CN110111398A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030169293A1 (en) * 2002-02-01 2003-09-11 Martin Savage Method and apparatus for designing, rendering and programming a user interface
CN105975190A (en) * 2016-05-20 2016-09-28 腾讯科技(深圳)有限公司 Graph interface processing method, device and system
CN108961302A (en) * 2018-07-16 2018-12-07 Oppo广东移动通信有限公司 Image processing method, device, mobile terminal and computer readable storage medium
CN109240687A (en) * 2018-08-01 2019-01-18 浙江口碑网络技术有限公司 Graphical interfaces describes the generation method and device of file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030169293A1 (en) * 2002-02-01 2003-09-11 Martin Savage Method and apparatus for designing, rendering and programming a user interface
CN105975190A (en) * 2016-05-20 2016-09-28 腾讯科技(深圳)有限公司 Graph interface processing method, device and system
CN108961302A (en) * 2018-07-16 2018-12-07 Oppo广东移动通信有限公司 Image processing method, device, mobile terminal and computer readable storage medium
CN109240687A (en) * 2018-08-01 2019-01-18 浙江口碑网络技术有限公司 Graphical interfaces describes the generation method and device of file

Similar Documents

Publication Publication Date Title
CN110246127A (en) Workpiece identification and localization method and system, sorting system based on depth camera
CN105865329B (en) The acquisition system and method for the bundled round steel end face center coordinate of view-based access control model
EP1388738A1 (en) Inspection data producing method and board inspection apparatus using the method
CN101751572A (en) Pattern detection method, device, equipment and system
CN107590512B (en) The adaptive approach and system of parameter in a kind of template matching
CN111982933B (en) Coating defect detection system and device
CN109886917B (en) Crystal disc positioning method and device
CN110621150B (en) Printed circuit board assembling method and related device
KR20080032856A (en) Recognition method of welding line position in shipbuilding subassembly stage
CN112203809A (en) Robot control device, system, information processing method, and program
CN110569774B (en) Automatic line graph image digitalization method based on image processing and pattern recognition
CN115797811B (en) Agricultural product detection method and system based on vision
CN110929795A (en) Method for quickly identifying and positioning welding spot of high-speed wire welding machine
CN105070672A (en) Equipment and method for detecting and processing bad particles in chip resistor
CN117523307B (en) Tile sorting method and system based on opc and tile surface flaw identification model
CN117745743B (en) Automatic generation method and device for cutting path of printed circuit board
CN110111398A (en) Actuator intelligence replacement method, device, storage medium and electronic equipment based on visual computing technique
CN113099116A (en) Equipment information collection method and device, robot and computer equipment
CN112734689A (en) Gasket quality detection method, system, device and storage medium
CN112561885A (en) YOLOv 4-tiny-based gate valve opening detection method
CN115086565B (en) Patrol collection method, storage medium and patrol collection device for image data of laboratory equipment
CN115909094A (en) Underground pile foundation construction progress identification method based on 2D image and video fusion
CN112150398B (en) Image synthesis method, device and equipment
CN106413280A (en) Automatic surface mounting machine feeder element position correction device and automatic correction method based on image processing
CN112529855A (en) Detection method and detection device for remote controller and computer readable storage medium

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190809

WD01 Invention patent application deemed withdrawn after publication