CN103455607B - Method for automatically converting waveform image file into preset waveform data file - Google Patents

Method for automatically converting waveform image file into preset waveform data file Download PDF

Info

Publication number
CN103455607B
CN103455607B CN201310398655.4A CN201310398655A CN103455607B CN 103455607 B CN103455607 B CN 103455607B CN 201310398655 A CN201310398655 A CN 201310398655A CN 103455607 B CN103455607 B CN 103455607B
Authority
CN
China
Prior art keywords
waveform
image
data
signal source
wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310398655.4A
Other languages
Chinese (zh)
Other versions
CN103455607A (en
Inventor
王量
孙乔
童月雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uni Trend Technology China Co Ltd
Original Assignee
Uni Trend Technology China 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 Uni Trend Technology China Co Ltd filed Critical Uni Trend Technology China Co Ltd
Priority to CN201310398655.4A priority Critical patent/CN103455607B/en
Publication of CN103455607A publication Critical patent/CN103455607A/en
Application granted granted Critical
Publication of CN103455607B publication Critical patent/CN103455607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for automatically converting a waveform image file into a preset waveform data file. The method is characterized by comprising the following steps of (1) performing image import; (2) performing waveform extraction area positioning; (3) setting waveform output amplitude and point number limit; (4) preprocessing; (5) performing feature extraction; (6) performing data processing. According to the technology adopted by the method disclosed by the invention, defects in a traditional random wave generation mode are solved, and the work efficiency of generating preset waveforms is improved. After being applied, the method disclosed by the invention has the following technical effects that (1) the complexity of waveform import is reduced to a great extent; (2) errors brought by manual drawing are removed; (3) the problem that waveform data formats can be compatible only by matching an oscilloscope and a signal source is solved.

Description

Automatically method waveform image file being converted into predetermined waveform data file
Technical field
The present invention relates to data identification, extraction and switch technology;It is with regard to signal source any ripple data genaration and importing side The improvement of formula, is to be existed with picture format in particular for the waveform needing to import.
Background technology
Original signal source class product has the function that any wave mode produces substantially, but any ripple of all of signal source Type is all to be imported in signal source equipment by distinctive data format file, or the enterprising traveling wave of equipment in signal source itself Graphic data pointwise is edited;Next to that using waveform Core Generator drawing predetermined waveform data on pc machine, then generating and specify lattice The file of formula imports in signal source equipment again.
At present, existing signal source is all to be imported in signal source equipment by specified data format file, or Signal source in-house facility carries out pointwise editor to required predetermined waveform.But editor is excessively loaded down with trivial details in signal source, and generate Random waveform data points limited, so a lot of random waveform is all to be generated by pc machine, then imports to signal source again and set In standby;Current pc machine software is all paint with waveform to generate Wave data file, but is deposited with picture format when waveform , just can only be painted according to picture, not only be painted pretty troublesome, and be difficult to accomplish on the Wave data painted and picture Waveform is consistent, and the work efficiency of this mode is than relatively low.
Content of the invention
The present invention is directed to the deficiencies in the prior art, provides one kind automatically waveform image file to be converted into predetermined waveform data The method of file.In order to solve the above problems, mainly adopt following technical proposals: image input, waveform zone location in image, The amplitude restriction of waveform output, Image semantic classification, feature extraction, classification and coupling, any wave number evidence of generation, wherein pretreatment are again Image background separation, image normalization, gradation of image enhancing and refinement etc. can be divided into.Waveform image file is converted into by automatically The method of predetermined waveform data file is the creativity and innovation carrying out on original any ripple generating mode and lead-in mode, wherein Involved predetermined waveform data file is any ripple data file of the signal source being formed by certain setting.Mainly have 2 points: first, new invention can leave arbitrary waveform image in peripheral storage device, the storage medium for example commonly used at present Deng, then these storage devices are inserted in signal source, signal source can set the waveform image in storage device automatically, and It is automatically converted to the file of predetermined waveform data, is loaded in signal source, and the waveform of current loading can be exported, make for user With;Second, pc machine generates software by predetermined waveform and imports waveform image, by the waveform in automatic identification picture, and The formatted file generating Wave data imports in signal source equipment, for users to use again.Or between making the transition in one Connect running gear, connect storage medium and signal source equipment, the picture file in storage medium is importing directly into after being processed In signal source equipment, for users to use.
The technical scheme that the present invention is adopted for achieving the above object is:
Automatically by waveform image file be converted into predetermined waveform data file method it is characterised in that it include following Step:
1) image imports:
Collection waveform image saves as file, is stored in storage medium, then imports in running gear, and then imports to fortune Luggage put in waveform compilation software in;(if using signal source equipment or computer as running gear, step 1) is: Waveform image is stored in storage medium, imports in signal source equipment or computer, and then described import to signal source equipment Or in the waveform compilation software in computer.It is the first step of image recognition.)
2) waveform extracting zone location:
Wave regions selection is carried out to currently displaying waveform image, or, waveform is automatically carried out by waveform compilation software Regional choice;Determining on this waveform image needs to carry out the region of waveform extracting;(if adopting signal source equipment or electricity Brain as running gear, described step 2) include herein below: in signal source equipment pass through left and right knob or left and right directions key Selected according to the wave regions that the cursor on screen carries out currently displaying waveform image;Or selected by mouse frame on computers Wave regions.)
Select the region of waveform, contribute to the accurate extraction of Wave data it is also possible to select automatic waveform regional choice.
3) setting waveform output amplitude and points limit:
After wave regions select, the amplitude of the Wave data output obtained by setting is so as to be less than target device Maximum amplitude value, and set the waveforms that current form is quantized into how many points;
4) pretreatment:
The wave regions selecting are carried out with the pretreatment of image, weakens the non-waveform information in image, highlight in image Effective shape information;
Described step 4) specifically includes: carries out image background to the wave regions selecting and separates;To the wave regions selecting Carry out gradation of image enhancing;Image normalization is carried out to the wave regions selecting.In order to reduce the complexity of subsequent algorithm and carry High efficiency, the pretreatment of image is requisite.Wherein background separation is by image district and background separation, thus avoiding not having The region having effective information carries out feature extraction, accelerates the speed of subsequent treatment, improves image characteristics extraction and the precision of coupling; It is that picture clear for uneven obscure boundary is changed into sharpness of border that gradation of image strengthens, and facilitates the figure of image zooming-out;Image Normalization be by image from greyscale image transitions be two kinds of value images.
5) feature extraction:
With the form of numerical value, the wave character of the uniqueness of selected for this image wave regions is expressed out;Retain figure In picture, the real features of waveform, filter false feature;
The form that feature extraction is responsible for the feature numerical value that can fully represent this image uniqueness is expressed.As far as possible Retain real features, filter false feature.
6) data processing:
By the data after feature extraction, be filtered, by algorithm ensure the no miscellaneous point of Wave data, then by data according to than Example generates predetermined waveform data.
Data processing is mainly the data after feature extraction, is filtered, and ensures Wave data by specific algorithm No miscellaneous point, then data is generated predetermined waveform data according to specific ratio.It is particularly as follows: by the data after feature extraction, enter Row filtering, ensures the no miscellaneous point of Wave data by the algorithm of mathematical morphology filter, then by data according to dac vertical resolution Restriction generate predetermined waveform data.
In some cases, the wave regions edge of extraction is also to be made up of some discontinuous small pixel, if this A little MARGs weaken and excessively will be unfavorable for process below, as long as so removing size here is making an uproar of 1-2 point data Sound, mainly adopts mathematical morphology filter to remove small pixel noise, concrete grammar is by multiple continuous data points here Value average successively.
Data vertical resolution due to any ripple is 14, so any wave number evidence generating not can exceed that the two of 14 The value of system, mainly adopts mathematic calculation to realize it is assumed that array is dx, d (i) is i-th data, then calculate here Dd (i) method of array ddx is:
dd(i)=*d(i).
It is further comprising the steps of:
7) data genaration:
The formatted file that any ripple of the predetermined waveform data genaration obtaining after data processing is needed, imports to signal source and sets In standby.
Running gear in step 1, has a various ways:
Running gear described in step 1), is signal source equipment or computer, and described waveform compilation software is prepackage In this signal source equipment or computer.In described step 1), when using signal source equipment as running gear, the waveform of storage Image file can be automatically loaded in signal source equipment, directly uses Wave data file;When using computer as running gear, The Wave data generating in computer file need to be imported in signal source equipment.
Waveform compilation software in step 1) in indirect running gear, this indirect running gear respectively with storage medium It is connected with signal source equipment;Waveform image file is imported to after this indirect running gear processed from storage medium, then The Wave data file of acquisition is imported in signal source equipment.
Described storage medium, is u disk.
The present invention solves the defect in existing any ripple generating mode, improves the work effect generating predetermined waveform Rate.The defect mainly solving: 1) Electronics Engineer's expectation obtains the oscillogram in certain device handbook, solves it according in handbook Oscillogram drawing loaded down with trivial details and the brought error of drawing, and work efficiency is improved on very big degree.2) work as oscillograph When testing certain circuit, run into the waveform of certain burst, engineer needs such waveform to occur again in signal source, just Need the signal source that the oscillograph currently used with this mates to realize seamless connection and could solve current problem;If using this Inventive technique, as long as the waveform shown by current oscillograph is saved as picture, is added this picture by peripheral storage device It is downloaded in the signal source (corresponding running gear) with the technology of the present invention, can identify and can produce consistent with oscillograph Waveform, and user can arrange amplitude and the frequency of current form.
Application the technology of the present invention, institute getable benefit: 1) largely reduce waveform importing complexity;2) disappear Except manual brought error of painting;3) do not need oscillograph and signal source must be mated Waveform data format compatibility just can be made to ask Topic.
Below in conjunction with the accompanying drawings with specific embodiment, the present invention is further described.
Brief description
Fig. 1 is the flow chart of the present embodiment.
Specific embodiment
Embodiment: referring to Fig. 1, waveform image file is converted into predetermined waveform data file by the automatic of the present embodiment offer Method it is characterised in that it comprises the following steps:
1) image imports:
Collection waveform image saves as file, is stored in storage medium, then imports in running gear, and then imports to fortune Luggage put in waveform compilation software in;(if using signal source equipment or computer as running gear, step 1) is: Waveform image is stored in storage medium, imports in signal source equipment or computer, and then described import to signal source equipment Or in the waveform compilation software in computer.It is the first step of image recognition.)
2) waveform extracting zone location:
Wave regions selection is carried out to currently displaying waveform image, or, waveform is automatically carried out by waveform compilation software Regional choice;Determining on this waveform image needs to carry out the region of waveform extracting;(if adopting signal source equipment or electricity Brain as running gear, described step 2) include herein below: in signal source equipment pass through left and right knob or left and right directions key Selected according to the wave regions that the cursor on screen carries out currently displaying waveform image;Or selected by mouse frame on computers Wave regions.)
Select the region of waveform, contribute to the accurate extraction of Wave data it is also possible to select automatic waveform regional choice.
3) setting waveform output amplitude and points limit:
After wave regions select, the amplitude of the Wave data output obtained by setting is so as to be less than target device Maximum amplitude value, and set the waveforms that current form is quantized into how many points;
4) pretreatment:
The wave regions selecting are carried out with the pretreatment of image, weakens the non-waveform information in image, highlight in image Effective shape information;
Described step 4) specifically includes: carries out image background to the wave regions selecting and separates;To the wave regions selecting Carry out gradation of image enhancing;Image normalization is carried out to the wave regions selecting.In order to reduce the complexity of subsequent algorithm and carry High efficiency, the pretreatment of image is requisite.Wherein background separation is by image district and background separation, thus avoiding not having The region having effective information carries out feature extraction, accelerates the speed of subsequent treatment, improves image characteristics extraction and the precision of coupling; It is that picture clear for uneven obscure boundary is changed into sharpness of border that gradation of image strengthens, and facilitates the figure of image zooming-out;Image Normalization be by image from greyscale image transitions be two kinds of value images.
5) feature extraction:
With the form of numerical value, the wave character of the uniqueness of selected for this image wave regions is expressed out;Retain figure In picture, the real features of waveform, filter false feature;
The form that feature extraction is responsible for the feature numerical value that can fully represent this image uniqueness is expressed.As far as possible Retain real features, filter false feature.
6) data processing:
By the data after feature extraction, be filtered, by algorithm ensure the no miscellaneous point of Wave data, then by data according to than Example generates predetermined waveform data.
Data processing is mainly the data after feature extraction, is filtered, and ensures Wave data by specific algorithm No miscellaneous point, then data is generated predetermined waveform data according to specific ratio.It is particularly as follows: by the data after feature extraction, enter Row filtering, ensures the no miscellaneous point of Wave data by the algorithm of mathematical morphology filter, then by data according to dac vertical resolution Restriction generate predetermined waveform data.
In some cases, the wave regions edge of extraction is also to be made up of some discontinuous small pixel, if this A little MARGs weaken and excessively will be unfavorable for process below, as long as so removing size here is making an uproar of 1-2 point data Sound, mainly adopts mathematical morphology filter to remove small pixel noise, concrete grammar is by multiple continuous data points here Value average successively.
Data vertical resolution due to any ripple is 14, so any wave number evidence generating not can exceed that the two of 14 The value of system, mainly adopts mathematic calculation to realize it is assumed that array is dx, d (i) is i-th data, then calculate here Dd (i) method of array ddx is:
dd(i)=*d(i).
It is further comprising the steps of:
7) data genaration:
The formatted file that any ripple of the predetermined waveform data genaration obtaining after data processing is needed, imports to signal source and sets In standby.
Running gear in step 1, has a various ways:
Running gear described in step 1), is signal source equipment or computer, and described waveform compilation software is prepackage In this signal source equipment or computer.In described step 1), when using signal source equipment as running gear, the waveform of storage Image file can be automatically loaded in signal source equipment, directly uses Wave data file;When using computer as running gear, The Wave data generating in computer file need to be imported in signal source equipment.
Waveform compilation software in step 1) in indirect running gear, this indirect running gear respectively with storage medium It is connected with signal source equipment;Waveform image file is imported to after this indirect running gear processed from storage medium, then The Wave data file of acquisition is imported in signal source equipment.
Described storage medium, is u disk.
The present invention solves the defect in existing any ripple generating mode, improves the work effect generating predetermined waveform Rate.The defect mainly solving: 1) Electronics Engineer's expectation obtains the oscillogram in certain device handbook, solves it according in handbook Oscillogram drawing loaded down with trivial details and the brought error of drawing, and work efficiency is improved on very big degree.2) work as oscillograph When testing certain circuit, run into the waveform of certain burst, engineer needs such waveform to occur again in signal source, just Need the signal source that the oscillograph currently used with this mates to realize seamless connection and could solve current problem;If using this Inventive technique, as long as the waveform shown by current oscillograph is saved as picture, is added this picture by peripheral storage device It is downloaded in the signal source (corresponding running gear) with the technology of the present invention, can identify and can produce consistent with oscillograph Waveform, and user can arrange amplitude and the frequency of current form.
The foregoing is only the preferable possible embodiments of the present invention, and be not used to limit to the scope of the claims of the present invention, thus all The equivalence changes made with description of the invention and accompanying drawing content, are all contained in protection scope of the present invention.

Claims (3)

1. automatically waveform image file is converted into the method for predetermined waveform data file it is characterised in that it includes following step Rapid:
1) image imports:
Collection waveform image saves as file, is stored in storage medium, then imports in running gear, and then imports to operation dress In the waveform compilation software put;Described running gear, is signal source equipment or computer, and described waveform compilation software is It is pre-installed in this signal source equipment or computer;When using signal source equipment as running gear, the waveform image file meeting of storage It is automatically loaded in signal source equipment, directly use Wave data file;When using computer as running gear, need to be by computer The Wave data file generating imports in signal source equipment;Waveform compilation software in indirect running gear, this indirect fortune Luggage is put and is connected with storage medium and signal source equipment respectively;Waveform image file is imported to this indirect fortune from storage medium Luggage is put after being processed, then the Wave data file of acquisition is imported in signal source equipment;
2) waveform extracting zone location:
Wave regions selection is carried out to currently displaying waveform image, or, wave regions are automatically carried out by waveform compilation software Select;Determining on this waveform image needs to carry out the region of waveform extracting;Pass through left and right knob or a left side in signal source equipment Right direction key selects according to the wave regions that the cursor on screen carries out currently displaying waveform image;Or pass through on computers Mouse frame selects wave regions;
3) setting waveform output amplitude and points limit:
After wave regions select, the amplitude of the Wave data output obtained by setting is so as to be less than target device Significantly angle value, and set the waveform that current form is quantized into how many points;
4) pretreatment:
The wave regions selecting are carried out with the pretreatment of image, weakens the non-waveform information in image, highlight having in image Effect shape information;Carry out image background to the wave regions selecting to separate;Gradation of image enhancing is carried out to the wave regions selecting; Image normalization is carried out to the wave regions selecting;
5) feature extraction:
With the form of numerical value, the wave character of the uniqueness of selected for this image wave regions is expressed out;Retain in image The real features of waveform, filter false feature;
6) data processing:
By the data after feature extraction, it is filtered, the no miscellaneous point of Wave data is ensured by algorithm, then data is proportionally given birth to Become predetermined waveform data;By the data after feature extraction, it is filtered, waveform number is ensured by the algorithm of mathematical morphology filter According to no miscellaneous point, then data is generated predetermined waveform data according to the restriction of the vertical resolution of dac.
2. the method automatically waveform image file being converted into predetermined waveform data file according to claim 1, it is special Levy and be, it is further comprising the steps of:
7) data genaration:
Import to the file of the predetermined waveform obtaining after data processing data genaration specified format in signal source equipment.
3. the method automatically waveform image file being converted into predetermined waveform data file according to claim 1, it is special Levy and be, described storage medium, is u disk.
CN201310398655.4A 2013-09-04 2013-09-04 Method for automatically converting waveform image file into preset waveform data file Active CN103455607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310398655.4A CN103455607B (en) 2013-09-04 2013-09-04 Method for automatically converting waveform image file into preset waveform data file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310398655.4A CN103455607B (en) 2013-09-04 2013-09-04 Method for automatically converting waveform image file into preset waveform data file

Publications (2)

Publication Number Publication Date
CN103455607A CN103455607A (en) 2013-12-18
CN103455607B true CN103455607B (en) 2017-01-18

Family

ID=49737970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310398655.4A Active CN103455607B (en) 2013-09-04 2013-09-04 Method for automatically converting waveform image file into preset waveform data file

Country Status (1)

Country Link
CN (1) CN103455607B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363006A (en) * 2014-11-24 2015-02-18 兰州大学 Random waveform generation system supporting multiple waveform input modes
CN104678338A (en) * 2015-02-10 2015-06-03 深圳市鼎阳科技有限公司 Digital oscilloscope, self checking method and automatic test system
CN107193322A (en) * 2016-03-15 2017-09-22 苏州普源精电科技有限公司 A kind of Wave data loading method and device
CN111077940A (en) * 2019-11-29 2020-04-28 普源精电科技股份有限公司 Method and device for automatically creating waveform sequence

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181054B2 (en) * 2001-08-31 2007-02-20 Siemens Medical Solutions Health Services Corporation System for processing image representative data
CN101405605A (en) * 2006-03-23 2009-04-08 特克特朗尼克公司 Digital signal analysis program and waveform display apparatus
CN102750526A (en) * 2012-06-25 2012-10-24 黑龙江科技学院 Identity verification and recognition method based on face image

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7348995B2 (en) * 2005-06-09 2008-03-25 International Business Machines Corporation Method, apparatus and computer program product for implementing picture format conversion to X, Y plot
US8995510B2 (en) * 2008-03-25 2015-03-31 Tektronix, Inc. Apparatus and method for analyzing a signal under test

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181054B2 (en) * 2001-08-31 2007-02-20 Siemens Medical Solutions Health Services Corporation System for processing image representative data
CN101405605A (en) * 2006-03-23 2009-04-08 特克特朗尼克公司 Digital signal analysis program and waveform display apparatus
CN102750526A (en) * 2012-06-25 2012-10-24 黑龙江科技学院 Identity verification and recognition method based on face image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
从波形图中快速提取信号数据序列方法的研究;陈龙聪等;《激光杂志》;20121015;第33卷(第05期);第46-48页 *

Also Published As

Publication number Publication date
CN103455607A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103455607B (en) Method for automatically converting waveform image file into preset waveform data file
Thilagamani et al. Gaussian and gabor filter approach for object segmentation
CN102316352B (en) Stereo video depth image manufacturing method based on area communication image and apparatus thereof
CN104252861A (en) Video voice conversion method, video voice conversion device and server
RU2008129793A (en) METHOD FOR IMPROVING FURTHER PROCESSING OF IMAGES USING DEFORMABLE NETS
JP6102122B2 (en) Image processing apparatus and method, and program
CN109064532B (en) Automatic mouth shape generating method and device for cartoon character
CN111249727B (en) Game special effect generation method and device, storage medium and electronic equipment
CN104504085A (en) Method and device for displaying statistical data
CN104090883A (en) Playing control processing method and playing control processing device for audio file
CN111108557A (en) Method of modifying a style of an audio object, and corresponding electronic device, computer-readable program product and computer-readable storage medium
CN105139342A (en) Method and device for zooming pictures
CN113485160A (en) Simulation modeling method and device based on pattern matching recognition
CN113867694B (en) Method and system for intelligently generating front-end code
CN104050454A (en) Movement gesture track obtaining method and system
CN110312161B (en) Video dubbing method and device and terminal equipment
DE102014117615A1 (en) Graphical input-friendly function selection
CN116705059B (en) Audio semi-supervised automatic clustering method, device, equipment and medium
CN109408175A (en) Real-time interaction method and system in general high-performance deep learning computing engines
CN108682021A (en) Rapid hand tracking, device, terminal and storage medium
CN105635807A (en) Video editing method and apparatus
CN108629817B (en) Arbitrary waveform editing method and device
CN114363597A (en) Character projection method, device, robot and storage medium
CN112652039A (en) Animation segmentation data acquisition method, segmentation method, device, equipment and medium
KR20210061156A (en) System and method of providing civil model linking 3 dimensional model and analysis model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 No. 6 industrial North Road, Songshan Lake high tech Industrial Development Zone, Dongguan, Guangdong

Patentee after: Uno Technology (China) Limited by Share Ltd

Address before: 523808 No. 6 industrial North Road, Songshan Lake high tech Industrial Development Zone, Dongguan, Guangdong

Patentee before: Uni-Trend Technology (China) Co., Ltd.