CN109974580A - A kind of measurement method, device, electronic equipment and storage medium - Google Patents

A kind of measurement method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109974580A
CN109974580A CN201910244013.6A CN201910244013A CN109974580A CN 109974580 A CN109974580 A CN 109974580A CN 201910244013 A CN201910244013 A CN 201910244013A CN 109974580 A CN109974580 A CN 109974580A
Authority
CN
China
Prior art keywords
measurement
camera
measuring tool
image
measurement result
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
CN201910244013.6A
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.)
Jiangsu Ricky Haili Technology Co Ltd
Original Assignee
Jiangsu Ricky Haili Technology 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 Jiangsu Ricky Haili Technology Co Ltd filed Critical Jiangsu Ricky Haili Technology Co Ltd
Priority to CN201910244013.6A priority Critical patent/CN109974580A/en
Publication of CN109974580A publication Critical patent/CN109974580A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/06Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness for measuring thickness ; e.g. of sheet material
    • G01B11/0608Height gauges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/08Measuring arrangements characterised by the use of optical techniques for measuring diameters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/22Measuring arrangements characterised by the use of optical techniques for measuring depth
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/28Measuring arrangements characterised by the use of optical techniques for measuring areas

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a kind of measurement method, device, electronic equipment and storage mediums, this method comprises: controlling the camera acquisition image configured on microscope when receiving measurement triggering command;Corresponding measuring tool is determined based on measurement parameter set by user;It controls the measuring tool to measure described image, obtains measurement result.Technical solution of the present invention can directly determine corresponding measuring tool based on measurement parameter set by user, realize the demand of various measurement functions.

Description

A kind of measurement method, device, electronic equipment and storage medium
Technical field
The present embodiments relate to automatic measurement technology more particularly to a kind of measurement method, device, electronic equipment and deposit Storage media.
Background technique
In industrial production especially electronic chip production process, the use to electron microscope is essential.Electronics Microscopical generation significantly reduces the work load of operating personnel.
Existing measuring tool, such as: Keyemce (KEYENCE), Olympus (OLYMPUS) He Weitu (VT- IPSPlus) etc., it can only all be provided by microscope manufacturer.Since existing measuring tool can only be to microscope manufacturer Preset measure the item measures, so that the measuring tool has limitation, function expansibility is poor, is difficult to realize The customized demand of client.
Summary of the invention
In view of this, the present invention provides a kind of measurement method, device, electronic equipment and storage medium, various surveys are realized Measure the demand of function.
In a first aspect, the embodiment of the invention provides a kind of measurement methods, comprising:
When receiving measurement triggering command, the camera acquisition image configured on microscope is controlled;
Corresponding measuring tool is determined based on measurement parameter set by user;
It controls the measuring tool to measure described image, obtains measurement result.
Second aspect, the embodiment of the invention also provides a kind of measuring devices, comprising:
Acquisition module being controlled, when for receiving measurement triggering command, controlling the camera acquisition figure configured on microscope Picture;
Determining module, for determining corresponding measuring tool based on measurement parameter set by user;
Measurement module is controlled, described image is measured for controlling the measuring tool, obtains measurement result.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, comprising: at memory and one or more Manage device;
The memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes measurement method as described in relation to the first aspect.
Fourth aspect, it is described the embodiment of the invention also provides a kind of storage medium comprising computer executable instructions Computer executable instructions by computer processor when being executed for executing measurement method as described in relation to the first aspect.
When the present invention is by receiving measurement triggering command, the camera acquisition image configured on microscope is controlled;It is based on Measurement parameter set by user determines corresponding measuring tool;Control measuring tool measures image, obtains measurement result, The technical program can directly determine corresponding measuring tool based on measurement parameter set by user, realize various measurement functions Demand.
Detailed description of the invention
Fig. 1 is a kind of flow chart of measurement method provided in an embodiment of the present invention;
Fig. 2 is the connection schematic diagram between a kind of microscope and electronic equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of measurement method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of measurement method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of measurement method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural block diagram of measuring device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Fig. 1 is a kind of flow chart of measurement method provided in an embodiment of the present invention, the measurement method provided in the present embodiment It can be executed by electronic equipment, which can be realized by way of software and/or hardware, which can be Two or more physical entities are constituted, and are also possible to a physical entity and are constituted.Electronic equipment is individual calculus in the present embodiment The equipment that machine (personal computer, PC), laptop etc. have display screen.
With reference to Fig. 1, which specifically comprises the following steps:
S110, receive measurement triggering command when, control microscope on configured camera acquisition image.
It should be noted that the camera (camera is generally industrial camera) configured on control microscope carries out figure Before acquisition, communication connection is established between the camera and electronic equipment that need to be configured on microscope.Wherein, in electronic equipment It can be connect by USB interface between camera, can also be attached by nested network interface, be carried out between electronic equipment and camera The mode of communication connection can be specifically configured according to the actual situation without limiting.Fig. 2 is provided in an embodiment of the present invention one Connection schematic diagram between kind camera and electronic equipment.As shown in Fig. 2, by taking electronic equipment 210 is PC machine as an example, to camera 220 It is illustrated with the connection relationship of electronic equipment 210 between the two.Specifically, camera 220 can pass through Peripheral Interface and electronics Equipment 210 establishes communication connection, to carry out data transmission.
Certainly, being equipped with an application software on an electronic device, (application software is the micrometering of a computerized version Software), before the camera configured on control microscope acquires image, also need the application software on starting electronic equipment.? After starting application software, user can click the trigger button in application software, at this point, user grasps the click of the trigger button Make it can be understood that for measurement triggering command.Certainly, triggering command is measured it can be appreciated that triggering camera starts the finger of work Enable information.In embodiment, when the user clicks after the trigger button in application software, command information is sent to camera, so that Camera starts work.
It in embodiment, can during microscope detects target object configured with camera on microscope Image Acquisition is carried out to the target object under microscope by camera.In the actual operation process, for the ease of camera to micro- Target object under mirror carries out Image Acquisition, camera need to be mounted on to the top of microscopical eyepiece or object lens, accurately to adopt Collect the complete image of target object.Certainly, the position of camera can be adjusted according to the actual situation, to this and without limit It is fixed.
S120, corresponding measuring tool is determined based on measurement parameter set by user.
Wherein, measuring tool is integrated in the application software for being pre-installed in electronic equipment.In the actual operation process, it is It realizes that the image collected to camera carries out DATA REASONING, need to be integrated in the application software for being mounted on electronic equipment Measuring tool.Certainly, different measuring tool, the measurement function having are also difference.In embodiment, work is measured Tool can be 2D measuring tool or the 3D Measurement Tool, can be selected according to measurement parameter set by user measuring tool. Specifically, the 3D Measurement Tool can height to object, depth carry out three-dimensional measurement;And 2D measuring tool is alternatively referred to as plane Measuring tool, can length to object, width, radian carry out the measurement of plane.Wherein, measurement parameter set by user is at least wrapped Include following one: line segment measurement, diameter measurement, arc measurement, camber measurement, angle measurement and area measurement.
S130, control measuring tool measure image, obtain measurement result.
In embodiment, corresponding measuring tool is determined according to measurement parameter set by user, and on an electronic device After application software receives the image that connected camera is sent, measuring tool directly measures received image, To obtain the measurement result of image.During actual measurement, when being measured to the different measurement parameters of image, on the one hand need It is realized using different measuring tools, on the other hand, also needs to be realized using different Measurement Algorithms.Wherein, measurement is calculated Method can include: point measurement, straight line measurement, two line angle measurements, triangle measurement, circle measurement etc..Illustratively, line segment measurement can be managed The measurement between two o'clock is solved, can directly be realized by 2D measuring tool and the Measurement Algorithm of point measurement;And camber measures Refer to that the height to radian between two lines measures, can by the 3D Measurement Tool and the Measurement Algorithm of two line angle measurements come It realizes.
Illustratively, it is assumed that on the assembly line that microscope applications are produced cup in one, in order to guarantee the product of cup Quality need to carry out DATA REASONING to cup.At this point, the microscope configured with camera (for acquiring the image of cup) is placed on water On the assembly line of cup, and communication connection is established between PC machine and camera by USB connecting line, and application is installed in PC machine Software (application integration has measuring tool, carries out DATA REASONING with the image to cup).When cup is by microscope, Camera is controlled by electronic equipment, Image Acquisition is carried out to cup, and acquired image is sent to the application software of PC machine In, and the measuring tool by integrating in application software measures image.Certainly, cup is all three-dimensional, then needs to adopt DATA REASONING is carried out to image with the 3D Measurement Tool, to obtain measurement result.If obtained measurement result reaches preset water Cup parameter then shows cup qualification;Conversely, showing this if obtained measurement result is not up to preset cup parameter Cup is unqualified, can be by other peripheral apparatus (establishing with PC machine has the equipment of communication connection) by the bad part eject.
The technical solution of the present embodiment controls the camera configured on microscope when by receiving measurement triggering command Acquire image;Corresponding measuring tool is determined based on measurement parameter set by user;Control measuring tool measures image, Measurement result is obtained, the technical program can directly determine corresponding measuring tool based on measurement parameter set by user, realize The demand of various measurement functions.
On the basis of the above embodiments, acquired image is sent in order to control the phase function configured on microscope To the electronic equipment connected, corresponding camera driving packet need to be installed on an electronic device, to drive camera to work.Fig. 3 is A kind of flow chart of measurement method provided in an embodiment of the present invention.With reference to Fig. 3, the measurement method of the embodiment specifically includes as follows Step:
S310, the insertion operation for detecting configured camera on microscope are identified and are obtained configured camera on microscope Type.
It should be noted that being carried out controlling the camera configured on microscope by electronic equipment to target object Before Image Acquisition, communication connection need to be established between electronic equipment and camera.When user sets the interface insertion electronics of camera When standby Peripheral Interface, the insertion operation of camera is can be detected in electronic equipment, at this point, the application software installed in electronic equipment Automatic identification and the type for obtaining configured camera on microscope.Wherein, the Peripheral Interface of electronic equipment can be USB interface, It can be nested network interface.The type of camera and the brand of camera and microscope manufacturer are related, it can be understood as, it is different Camera brand and different microscope manufacturers, the type of corresponding camera be also different.For example, microscope is raw Producer A is produced, the type of production camera is A1;For another example, microscope manufacturer B, the type for generating camera is B1;For another example, Camera brand C, the type for corresponding to camera is C1.
Certainly, when the type difference of camera configured on microscope, corresponding phase on the electronic equipment that camera is connected Machine driving packet is also required to change, corresponding camera can be driven to work.Illustratively, it is assumed that configured phase on microscope The type of machine is A1, and corresponding camera driving packet is A11;Assuming that the type of configured camera is B1, corresponding phase on microscope Machine driving packet is B11.
S320, acquisition and the camera driving packet for installing corresponding types, so that camera is used for Image Acquisition.
In embodiment, application program of the camera driving packet for driving camera to work, also, camera driving packet is preparatory It is stored in the application software of electronic equipment.When detecting the insertion operation of camera, automatic identification obtains is matched on microscope The type of camera is set, corresponding camera driving packet is then transferred according to the type of camera, and camera driving packet is installed, with driving Camera work, so that camera can carry out Image Acquisition to the target object under microscope.
In order to get the camera driving packet of corresponding types, need that the camera driving packet of the type is stored in electricity in advance In the application software installed in sub- equipment.Specifically, the camera driving packet of the type is being stored into institute on an electronic device Before the application software of installation, the corresponding priginal soft development kit (Software of the camera need to be first obtained Development Kit, SDK), secondary development is carried out to the original SDK, to obtain the application software institute matched SDK of energy, and The SDK is stored in application software.Certainly, in order to enable the application software can provide camera drive for further types of camera The corresponding SDK of most of camera brand can be carried out secondary development, and is integrated into the application software by dynamic packet.Wherein, right Original SDK, which carries out the SDK that secondary development obtains, can be denoted as camera driving packet, to distinguish with original SDK.
S330, receive measurement triggering command when, control microscope on configured camera acquisition image.
S340, corresponding measuring tool is determined based on measurement parameter set by user.
S350, control measuring tool measure image, obtain measurement result.
The technical solution of the present embodiment carries out secondary open by the original SDK to camera on the basis of the above embodiments The corresponding camera driving packet of the camera of most types is integrated in application software, so that being equipped with the application by hair The electronic equipment of software can be compatible with most of camera, and then ensure that the accuracy of the acquired image parameter of camera.
It on the basis of the above embodiments, can be accurately to camera in order to control the measuring tool integrated in application software Acquired image carries out DATA REASONING, need to install corresponding measurement driving packet, on an electronic device to drive measuring tool work Make.Fig. 4 is a kind of flow chart of measurement method provided in an embodiment of the present invention.With reference to Fig. 4, the measurement method of the embodiment is specific Include the following steps:
S410, receive measurement triggering command when, control microscope on configured camera acquisition image.
S420, corresponding measuring tool is determined based on measurement parameter set by user.
S430, acquisition simultaneously install the corresponding measurement driving packet of measuring tool, to drive measuring tool.
Wherein, application program of the measurement driving packet for driving measuring tool to work.Also, measurement driving packet is to deposit in advance Storage is in the application software of electronic equipment.It, can be from after determining corresponding measuring tool according to measurement parameter set by user The corresponding measurement driving packet of the measuring tool is obtained in the application software installed on electronic equipment, and measurement driving is installed Packet, to drive measuring tool to work so that measuring tool to the camera institute's acquired image configured on microscope into Row DATA REASONING.
In order to get corresponding measurement driving packet, need to drive packet storage to be pacified on an electronic device measurement in advance In the application software of dress.It specifically, can be more measurement function in order to make the electronic equipment for being equipped with application software Measurement can be provided and drive packet, it can be by all measurement driving packet (certainly, in actual operation, all measurements drives in the prior art Dynamic packet is also only known to developer or all measurements driving packet is frequent measurement function to be detected in the market) It is stored in the application software.
Certainly, since the type of camera is different, there is also differences for possessed measurement function.At this point, by as much as possible Measurement driving packet is stored in application software, and corresponding measurement driving packet can be selected according to measurement parameter set by user i.e. Can, without considering the difference between camera type and measurement function, and influence the DATA REASONING to image.It certainly, can also be to spy Fixed measure the item measures the exploitation of driving packet, can specifically be developed accordingly according to the actual situation, no longer superfluous herein It states.
S440, control measuring tool measure image, obtain measurement result.
The technical solution of the present embodiment, on the basis of the above embodiments, by the way that measurement as much as possible is driven packet collection At in application software, can be selected from the electronic equipment for be equipped with the application software automatically according to measurement parameter set by user It selects and suitable measurement driving packet is installed, measuring tool as much as possible can be compatible with, realizes the automation to image and survey Amount.
On the basis of the above embodiments, measurement result is transferred for the ease of subsequent, after obtaining measurement result, It need to be stored.After step S440, further includes:
S450, measurement result is stored in preset data sheet.
Wherein, data sheet can be understood as the table for storing measurement result.In embodiment, for the ease of to survey The typing and storage of result are measured, the report capability of production management is integrated in the application software installed on an electronic device.When The measuring tool that integrates in application software completes the DATA REASONING to image, and after obtaining measurement result, can automatically will survey Amount result is entered into corresponding data sheet.Illustratively, table 1 is that a kind of measurement result provided in an embodiment of the present invention is corresponding Data sheet.As shown in table 1, it is assumed that length there are four product, and to product and radian this four parameters are surveyed Measurement result is entered into where corresponding product and parameter by amount automatically after measuring tool is completed to the measurement of each product Column in, to complete automatic input to measurement result and storage.
A kind of corresponding data sheet of the measurement result of table 1
Product It is long It is wide It is high Radian
AA 500 300 200 30
BB 600 520 400 60
CC 530 500 300 52
DD 460 400 200 46
It certainly,, can when user again inquires parameter corresponding to product after the storage for completing measurement result The corresponding title of the product is directly inputted, corresponding measurement result can be found.For example, when user wants to check products C C's Height then can click " search " directly in table, and input " CC ", can directly find the corresponding height of products C C.
It on the basis of the above embodiments, can be by measurement result for the ease of user's checking and analyzing to measurement result It is shown on the display screen of electronic equipment.After step S440, further includes:
S460, measurement result is shown.
In embodiment, it after the application software installed on an electronic device is completed to the DATA REASONING of image, can incite somebody to action Measurement result is shown on the display screen of electronic equipment, so that user carries out clear to measurement result and intuitively checks.
Specifically, step S460 may include two kinds of situations: measurement result being covered and is shown on the image;Or, will measurement As the result is shown in default result region.It is specific as follows:
In one embodiment, measurement result is covered and is shown on the image.
Specifically, measurement result can be directly overlayed in camera acquired image.It is to be understood that measurement result With image in same display area, also, measurement result is in the display area that image is included.Certainly, in actual displayed In the process, image is checked for the ease of user, measurement result can be shown to the upper left corner of display area, the right side where image Upper angle, the lower left corner, the lower right corner, surface or underface etc..
In one embodiment, measurement result is shown in default result region.
For the ease of the processing to display area where measurement result, measurement result can also be shown separately in default result In region, i.e., the display area where measurement result and the display area where image are independent.Certainly, measurement is not tied Display area where fruit is defined, and can specifically be set according to the demand of user.
It should be noted that micrometering software in the prior art, it all can only be produced for manufacturer Camera brand carries out software development, and is unable to other camera brands on support the market, even if supporting, can also there is compatibility Problem, so that optimum state can not be played by causing the Image Acquisition performance of camera, so that the contrast of acquired image, full With degree etc. parameters there are problems.Also, after manufacturer is to the HardwareUpgring of camera, also need soft to corresponding micrometering Part is upgraded, to increase production cost.
In the technical program, providing one kind includes the corresponding camera driving packet of most of camera, and survey in the market The corresponding measuring tool packet of amount tool, and camera driving packet and measuring tool packet are integrated in micrometering software.As long as will The micrometering software installation is on an electronic device, so that it may it is driven by the compatible most camera of the electronic equipment and measurement, Realize the automatic detection and measurement to product.
Fig. 5 is a kind of flow chart of measurement method provided in an embodiment of the present invention.The present embodiment is in above-described embodiment On the basis of, the whole flow process of measurement is specifically described.With reference to Fig. 5, which specifically comprises the following steps:
S510, according to acquired camera type, select and corresponding camera driving packet be installed.
S520, according to measurement parameter set by user, select and corresponding measurement driving packet be installed.
S530, starting camera carry out Image Acquisition.
S540, judge whether camera collects image, if so, thening follow the steps S560;If it is not, thening follow the steps S550.
S550, camera connection status is reexamined.
It should be noted that camera is not in disruption in order to guarantee in the detection process to product, and Ensure the real-time detected, and camera institute acquired image can be viewed on the display screen of electronic equipment in real time.? In the present solution, being provided with camera reconnection mechanism to the camera configured on microscope.It is to be understood that when detect camera not at Function collects image, then reexamines camera connection status automatically, to determine whether the connection status of camera breaks down, and leads to The Peripheral Interface automatic identification camera of electronic equipment is crossed, and is re-connected.
S560, display simultaneously measure institute's acquired image.
S570, measurement result is handled.
In embodiment, after measuring tool measures to obtain measurement result to image, for the ease of electronic equipment Identification and typing to measurement result need to carry out format to measurement result by the application software installed on electronic equipment and turn It changes and data check, to guarantee the data integrity of measurement result.
S580, measurement result is stored into preset data sheet.
S590, display measurement result.
S5100, linkage control is carried out to external equipment.
Wherein, external equipment can be understood as the equipment screened in production line to product.In embodiment, root Automatic screening is carried out according to product of the measurement result control external equipment to detection acceptance or rejection to mention to reduce human intervention The high production efficiency and detection efficiency of product.
The technical solution of the present embodiment carries out secondary development by the SDK to camera configured on microscope, will be most absolutely Several camera driving packets are integrated in an application software, and the report capability of production management is integrated into the application software, Convenient for user to the production efficiency of product, and image processing algorithm is combined, realizes the customization function to user, improve user Usage experience.Meanwhile after receiving measurement triggering command, the Image Acquisition and measurement of automation can be completed, is improved Detection efficiency and accuracy to product.
Fig. 6 is a kind of structural block diagram of measuring device provided in an embodiment of the present invention.The measuring device of the present embodiment can match It is placed in electronic equipment, with reference to Fig. 6, which includes: control acquisition module 610, determining module 620 and control measurement mould Block 630.
Wherein, acquisition module 610 being controlled, when for receiving measurement triggering command, controlling the phase configured on microscope Machine acquires image;
Determining module 620, for determining corresponding measuring tool based on measurement parameter set by user;
Measurement module 630 is controlled, described image is measured for controlling measuring tool, obtains measurement result.
Technical solution provided in this embodiment when by receiving measurement triggering command, is configured on control microscope Camera acquires image;Determine that corresponding measuring tool, measuring tool are configured on microscope based on measurement parameter set by user; Control measuring tool measures image, obtains measurement result, and the technical program can be straight based on measurement parameter set by user It connects and determines corresponding measuring tool, realize the demand of various measurement functions.
On the basis of the above embodiments, the measuring device further include:
Identification obtains module, for detecting configured camera on microscope before receiving measurement triggering command Insertion operation identifies and obtains the type of configured camera on microscope;
First obtains installation module, and the camera for obtaining and installing corresponding types drives packet, so that camera is used for image Acquisition.
On the basis of the above embodiments, the measuring device further include:
Second obtains installation module, for obtaining and installing the corresponding measurement driving packet of measuring tool, to drive measurement work Tool.
On the basis of the above embodiments, the measuring device further include:
Memory module, for being measured in control measuring tool to image, after obtaining measurement result, by measurement result It is stored in preset data sheet.
On the basis of the above embodiments, the measuring device further include:
Display module, for being measured in control measuring tool to image, after obtaining measurement result, to measurement result It is shown.
On the basis of the above embodiments, the display module, is specifically used for:
Measurement result is covered and is shown on the image;Or, showing measurement result in default result region.
On the basis of the above embodiments, measurement parameter set by user is including at least following one: line segment measurement, diameter Measurement, arc measurement, camber measurement, angle measurement and area measurement.
Measurement method provided by any embodiment of the invention can be performed in above-mentioned measuring device, and it is corresponding to have execution method Functional module and beneficial effect.
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.With reference to Fig. 7, the electronic equipment packet It includes: processor 710, memory 720, input unit 730 and output device 740.The quantity of processor 710 in the electronic equipment It can be one or more, in Fig. 7 by taking a processor 710 as an example.The quantity of memory 720 can be in the electronic equipment One or more, in Fig. 7 by taking a memory 720 as an example.Processor 710, memory 720, the input dress of the electronic equipment Set 730 and output device 740 can be connected by bus or other modes, in Fig. 7 for through bus connection.Implement In example, which is the equipment that PC machine, laptop etc. have display screen.
Memory 720 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, the corresponding program instruction/module of electronic equipment as described in any embodiment of that present invention is (for example, measuring device In control acquisition module, determining module and control measurement module).Memory 720 can mainly include storing program area and storage Data field, wherein storing program area can application program needed for storage program area, at least one function;It storage data area can Storage uses created data etc. according to equipment.In addition, memory 720 may include high-speed random access memory, also It may include nonvolatile memory, for example, at least a disk memory, flush memory device or other nonvolatile solid states are deposited Memory device.In some instances, memory 720 can further comprise the memory remotely located relative to processor 710, these Remote memory can pass through network connection to equipment.The example of above-mentioned network include but is not limited to internet, intranet, Local area network, mobile radio communication and combinations thereof.
Input unit 730 can be used for receiving the number or character information of input, and generate the user setting with equipment And the related key signals input of function control, it can also be the camera for obtaining image and obtain picking up for audio data Sound equipment.Output device 740 may include the audio frequency apparatuses such as loudspeaker.It should be noted that input unit 730 and output device 740 concrete composition may be set according to actual conditions.
Software program, instruction and the module that processor 710 is stored in memory 720 by operation, thereby executing setting Standby various function application and data processing, that is, realize above-mentioned measurement method.
The electronic equipment of above-mentioned offer can be used for executing the measurement method that above-mentioned any embodiment provides, and have corresponding function Energy and beneficial effect.
The embodiment of the present invention also provides a kind of storage medium comprising computer executable instructions, and the computer is executable Instruction by computer processor when being executed for executing a kind of measurement method, comprising:
When receiving measurement triggering command, the camera acquisition image configured on microscope is controlled;
Corresponding measuring tool is determined based on measurement parameter set by user;
Control measuring tool measures image, obtains measurement result.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The measurement method operation that executable instruction is not limited to the described above, can also be performed measurement provided by any embodiment of the invention Relevant operation in method, and have corresponding function and beneficial effect.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be robot, personal computer, server or the network equipment etc.) executes survey described in any embodiment of that present invention Amount method.
It is worth noting that, in above-mentioned measuring device, included each unit and module only according to function logic into What row divided, but be not limited to the above division, as long as corresponding functions can be realized;In addition, each functional unit Specific name is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of measurement method characterized by comprising
When receiving measurement triggering command, the camera acquisition image configured on microscope is controlled;
Corresponding measuring tool is determined based on measurement parameter set by user;
It controls the measuring tool to measure described image, obtains measurement result.
2. measurement method according to claim 1, which is characterized in that it is described receive measurement triggering command before, also Include:
The insertion operation for detecting configured camera on microscope identifies and obtains the class of configured camera on the microscope Type;
The camera driving packet for obtaining and installing the corresponding type, so that the camera is used for Image Acquisition.
3. measurement method according to claim 1, which is characterized in that determined described based on measurement parameter set by user After corresponding measuring tool, further includes:
It obtains and the corresponding measurement driving packet of the measuring tool is installed, to drive the measuring tool.
4. measurement method according to claim 1 to 3, which is characterized in that in the control measuring tool to institute It states image to measure, after obtaining measurement result, further includes:
The measurement result is stored in preset data sheet.
5. measurement method according to claim 1 to 3, which is characterized in that in the control measuring tool to institute It states image to measure, after obtaining measurement result, further includes:
The measurement result is shown.
6. measurement method according to claim 5, which is characterized in that described to be shown to the measurement result, comprising:
The measurement result is covered and is shown on the image;Or, showing the measurement result in default result region It is interior.
7. measurement method according to claim 1 to 3, which is characterized in that the measurement parameter set by user is at least Including following one: line segment measurement, diameter measurement, arc measurement, camber measurement, angle measurement and area measurement.
8. a kind of measuring device characterized by comprising
Acquisition module being controlled, when for receiving measurement triggering command, controlling the camera acquisition image configured on microscope;
Determining module, for determining corresponding measuring tool based on measurement parameter set by user;
Measurement module is controlled, described image is measured for controlling the measuring tool, obtains measurement result.
9. a kind of electronic equipment characterized by comprising memory and one or more processors;
The memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Existing measurement method as claimed in claim 1.
10. a kind of storage medium comprising computer executable instructions, which is characterized in that the computer executable instructions by For executing measurement method as claimed in claim 1 when computer processor executes.
CN201910244013.6A 2019-03-28 2019-03-28 A kind of measurement method, device, electronic equipment and storage medium Pending CN109974580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910244013.6A CN109974580A (en) 2019-03-28 2019-03-28 A kind of measurement method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910244013.6A CN109974580A (en) 2019-03-28 2019-03-28 A kind of measurement method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109974580A true CN109974580A (en) 2019-07-05

Family

ID=67081263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910244013.6A Pending CN109974580A (en) 2019-03-28 2019-03-28 A kind of measurement method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109974580A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112945085A (en) * 2020-08-03 2021-06-11 深圳市明源云链互联网科技有限公司 Measurement method and electronic device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306024A (en) * 1994-05-13 1995-11-21 Hitachi Ltd Pattern solid shape inspection device
CN2709932Y (en) * 2004-07-27 2005-07-13 南京理工大学 Automatic interpretoscope for shape size of gunpowder
CN101324430A (en) * 2007-06-12 2008-12-17 北京航空航天大学 Binocular odometry based on similarity principle
CN101839693A (en) * 2010-04-12 2010-09-22 东莞市嘉腾仪器仪表有限公司 Automatic image measuring system
CN201839391U (en) * 2010-11-10 2011-05-18 韩旭 Embedded camera equipment for detecting product quality
CN102393179A (en) * 2011-08-26 2012-03-28 中国水产科学研究院淡水渔业研究中心 Method for quickly measuring frame form parameter of fishes
CN102410811A (en) * 2011-07-27 2012-04-11 北京理工大学 Method and system for measuring parameters of bent pipe
CN102622505A (en) * 2012-01-01 2012-08-01 张弢 Fluorescent microscopic image-text collecting and reporting system for autoantibody
CN102662752A (en) * 2012-04-17 2012-09-12 山东神思电子技术股份有限公司 Camera control method
CN104359426A (en) * 2014-11-20 2015-02-18 四川望锦机械有限公司 Method for quantizing colored area during coloring detection of ball pin base
CN107255813A (en) * 2017-06-30 2017-10-17 努比亚技术有限公司 Distance-finding method, mobile terminal and storage medium based on 3D technology
CN108304119A (en) * 2018-01-19 2018-07-20 腾讯科技(深圳)有限公司 object measuring method, intelligent terminal and computer readable storage medium
CN108662981A (en) * 2018-06-14 2018-10-16 苏州富莱智能科技有限公司 Customize micrometering system and measurement method
CN108871184A (en) * 2018-04-19 2018-11-23 江苏联恒物宇科技有限公司 The RF tag size detecting method of view-based access control model processing
CN109379518A (en) * 2018-11-26 2019-02-22 苏州富莱智能科技有限公司 Embedded intelligence image measurement camera system and detection method

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306024A (en) * 1994-05-13 1995-11-21 Hitachi Ltd Pattern solid shape inspection device
CN2709932Y (en) * 2004-07-27 2005-07-13 南京理工大学 Automatic interpretoscope for shape size of gunpowder
CN101324430A (en) * 2007-06-12 2008-12-17 北京航空航天大学 Binocular odometry based on similarity principle
CN101839693A (en) * 2010-04-12 2010-09-22 东莞市嘉腾仪器仪表有限公司 Automatic image measuring system
CN201839391U (en) * 2010-11-10 2011-05-18 韩旭 Embedded camera equipment for detecting product quality
CN102410811A (en) * 2011-07-27 2012-04-11 北京理工大学 Method and system for measuring parameters of bent pipe
CN102393179A (en) * 2011-08-26 2012-03-28 中国水产科学研究院淡水渔业研究中心 Method for quickly measuring frame form parameter of fishes
CN102622505A (en) * 2012-01-01 2012-08-01 张弢 Fluorescent microscopic image-text collecting and reporting system for autoantibody
CN102662752A (en) * 2012-04-17 2012-09-12 山东神思电子技术股份有限公司 Camera control method
CN104359426A (en) * 2014-11-20 2015-02-18 四川望锦机械有限公司 Method for quantizing colored area during coloring detection of ball pin base
CN107255813A (en) * 2017-06-30 2017-10-17 努比亚技术有限公司 Distance-finding method, mobile terminal and storage medium based on 3D technology
CN108304119A (en) * 2018-01-19 2018-07-20 腾讯科技(深圳)有限公司 object measuring method, intelligent terminal and computer readable storage medium
CN108871184A (en) * 2018-04-19 2018-11-23 江苏联恒物宇科技有限公司 The RF tag size detecting method of view-based access control model processing
CN108662981A (en) * 2018-06-14 2018-10-16 苏州富莱智能科技有限公司 Customize micrometering system and measurement method
CN109379518A (en) * 2018-11-26 2019-02-22 苏州富莱智能科技有限公司 Embedded intelligence image measurement camera system and detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112945085A (en) * 2020-08-03 2021-06-11 深圳市明源云链互联网科技有限公司 Measurement method and electronic device

Similar Documents

Publication Publication Date Title
US10833924B2 (en) Data collecting apparatus, data collecting method, and program
CN1782661B (en) System and method for automatically recovering video tools in a vision system
CN103631483B (en) Positioning method and positioning device
CN111552470A (en) Data analysis task creation method and device in Internet of things and storage medium
CN104699958A (en) Method and device for recommending menu according to physical status of user
CN101995410B (en) Image processing device and image processing method
CN106249835A (en) The method being applicable to power management, system, user terminal and device
CN105183631A (en) Equipment test methods and devices
CN105824422A (en) Information processing method and electronic equipment
CN109974580A (en) A kind of measurement method, device, electronic equipment and storage medium
CN111062090A (en) Progress management method and device based on BIM
CN105808257B (en) Application popup identification method and device
JP2007184723A (en) Inspection system and inspection method
CN104113681A (en) Control method of progress column, method and device for displaying image acquisition progress
WO2017124956A1 (en) Method, device and terminal apparatus for information input
CN105050163A (en) Method and device for network connection
CN104463776A (en) Image display method
CN106303215A (en) The acquisition method of a kind of image and device
CN116700207A (en) Data processing upper computer, method, device, electronic equipment and storage medium
CN111225196B (en) Focusing test method and device
CN104601921A (en) System configuration method and device
CN116614453A (en) Image transmission bandwidth selection method and device based on cloud interconnection
CN103473170B (en) Test macro and method of testing
CN108901062A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN113419932B (en) Equipment performance analysis method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190705