US20080074437A1 - Method, apparatus and computer program product for implementing picture format conversion to x,y plot - Google Patents
Method, apparatus and computer program product for implementing picture format conversion to x,y plot Download PDFInfo
- Publication number
- US20080074437A1 US20080074437A1 US11/944,642 US94464207A US2008074437A1 US 20080074437 A1 US20080074437 A1 US 20080074437A1 US 94464207 A US94464207 A US 94464207A US 2008074437 A1 US2008074437 A1 US 2008074437A1
- Authority
- US
- United States
- Prior art keywords
- format
- picture
- plot
- conversion
- implementing
- 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.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
Definitions
- the present invention relates generally to the data processing field, and more particularly, relates to a method, apparatus and computer program product for implementing picture format conversion to X, Y plot for waveform comparisons.
- Pictures of waveforms from oscilloscopes are often saved as a file in a picture format, such as BMP, GIF, JPEG, PNG, and the like. Often times, after taking a picture, some other data is needed that you may have forgotten to measure or did not need to measure at that point in time, such as slew rates, eye openings, cycle times, and the like. In order to get accurate measurements, it is usually required that you spend another day or more in the lab probing up a system, getting the system running, and taking needed measurements.
- Principal aspects of the present invention are to provide a method, apparatus and computer program product for implementing picture format conversion to X, Y plot for waveform comparisons.
- Other important aspects of the present invention are to provide such method, apparatus and computer program product for implementing picture format conversion to X, Y plot for waveform comparisons substantially without negative effect and that overcome many of the disadvantages of prior art arrangements.
- a method, apparatus and computer program product are provided for implementing picture format conversion to X, Y plot for waveform comparisons.
- a picture file and user selected X, Y boundaries are received.
- Non-white pixels of the picture file between the user selected X, Y boundaries are converted to X, Y coordinate values in a selected format.
- the converted X, Y coordinate values are plotted.
- the selected format for the converted X, Y coordinate values is provided for use with conventional plotting tools or programs, such as, raw data file (RAW) format for the program xplot and Common Simulation Data Format (CSDF) for the program aWaves.
- RAW raw data file
- CSDF Common Simulation Data Format
- FIGS. 1A and 1B are block diagram representations illustrating a computer system and operating system for implementing picture format conversion to X, Y plot in accordance with the preferred embodiment
- FIG. 2 is a flow chart illustrating exemplary steps for implementing picture format conversion to X, Y plot in accordance with the preferred embodiment; and in accordance with the preferred embodiment;
- FIG. 3 is a block diagram illustrating a computer program product in accordance with the preferred embodiment.
- FIGS. 1A , and 1 B there is shown a computer or data processing system generally designated by the reference character 100 for implementing picture format conversion to X, Y plot in accordance with the preferred embodiment.
- computer system 100 includes a central processor unit (CPU) 102 , a read only memory 103 , a random access memory 104 , a display adapter 106 coupled to a display 108 .
- CPU 102 is connected to a user interface (UI) adapter 110 connected to a pointer device and keyboard 112 .
- UI user interface
- CPU 102 is connected to an input/output ( 10 ) adapter 114 connected to a direct access storage device (DASD) 116 and a tape unit 118 .
- DASD direct access storage device
- CPU 102 is connected to a communications adapter 120 providing a communications function.
- Computer system 100 is shown in simplified form sufficient for understanding the present invention.
- the illustrated computer system 100 is not intended to imply architectural or functional limitations.
- the present invention can be used with various hardware implementations and systems and various other internal hardware devices.
- main processor 102 instead of a single main processor 102 , multiple main processors can be used.
- computer system 100 includes an operating system 130 , a picture conversion program 132 of the preferred embodiment, and a user interface 134 .
- User selected coordinate values 136 including minimum X, Y coordinate boundary values 138 and maximum X, Y coordinate boundary values 140 are stored in accordance with the picture conversion methods of the preferred embodiment.
- CPU 102 is suitably programmed by the picture conversion program 132 to execute the flowchart of FIG. 2 for implementing picture format conversion to X, Y plot for waveform comparisons in accordance with the preferred embodiment.
- methods are provided that allow software to receive an input picture of a waveform and to generate and plot coordinate X, Y data for the received picture of the waveform. Effective visual correlation is enabled between measured and simulated waveform in accordance with the preferred embodiment.
- the picture conversion software program 132 imports or receives a picture of a waveform, a mask or the like in a standard picture format, for example, in a black and white bitmap (BMP) format, or in any other conventional picture format, such as, a portable network graphics (PNG) format, a Joint Photographic Experts Group (JPEG) format, a Graphics Interchange Format (GIF) format, and the like.
- a standard picture format for example, in a black and white bitmap (BMP) format
- BMP black and white bitmap
- PNG portable network graphics
- JPEG Joint Photographic Experts Group
- GIF Graphics Interchange Format
- the input picture is edited or cropped to contain just white space and the waveform with known X, Y boundaries as indicated in a block 204 .
- the picture conversion program 132 receives the edited picture and user defined X starting and stopping points, left and right side boundaries of the supplied picture in time, and user defined Y starting and stopping points, bottom and top side boundaries of the supplied picture in Voltage.
- the picture conversion program 132 gives as output a file that contains an (X, Y) point for each pixel based upon the supplied waveform and boundaries.
- the output file is generated assuming a linear increase from left to right and from top to bottom.
- This output file can be made in many different forms based upon a particular plotting program to be used with the X, Y data.
- the output file is then used to plot the X, Y data as indicated in a block 208 , for example, along-side of a simulated waveform so that it is easy to determine how well the real hardware correlates to any simulated waveforms.
- a user saves a picture in a black and white BMP format.
- the black color is assumed to be the wanted waveform.
- the user can then use the picture conversion software program 132 to convert the picture in black and white BMP format into a Common Simulation Data Format (CSDF) file format.
- CSDF Common Simulation Data Format
- CSDF Common Simulation Data Format
- the computer program product 300 includes a recording medium 302 , such as, a floppy disk, a high capacity read only memory in the form of an optically read compact disk or CD-ROM, a tape, a transmission type media such as a digital or analog communications link, or a similar computer program product.
- Recording medium 302 stores program means 304 , 306 , 308 , 310 on the medium 302 for carrying out the methods for implementing picture format conversion to X, Y plot of the preferred embodiment in the system 100 of FIGS. 1A and 1B .
Abstract
A method, apparatus and computer program product are provided for implementing picture format conversion to X, Y plot for waveform comparisons. A picture file and user selected X, Y boundaries are received. Non-white pixels of the picture file between the user selected X, Y boundaries are converted to X, Y coordinate values in a selected format. The converted X, Y coordinate values are plotted.
Description
- The present invention relates generally to the data processing field, and more particularly, relates to a method, apparatus and computer program product for implementing picture format conversion to X, Y plot for waveform comparisons.
- Pictures of waveforms from oscilloscopes are often saved as a file in a picture format, such as BMP, GIF, JPEG, PNG, and the like. Often times, after taking a picture, some other data is needed that you may have forgotten to measure or did not need to measure at that point in time, such as slew rates, eye openings, cycle times, and the like. In order to get accurate measurements, it is usually required that you spend another day or more in the lab probing up a system, getting the system running, and taking needed measurements.
- It is very useful to be able to overlay a picture of a waveform from actual hardware, and from a simulation of the hardware under test in order to visually see how well the correlation is between the two. While some oscilloscopes allow for some limited XY data to be saved of a single trace, often this is not possible, for example, for XY data of a picture of an eye or eye diagram. An eye diagram illustrates the value of the received signal as a function of the phase of a clock signal controlling the switching of the transmitted signal. Therefore, a problem exists in getting a good visual of the correlation between simulated eye diagrams, and measured eye diagrams.
- A need exists for an effective mechanism for implementing picture format conversion to X, Y plot for waveform comparisons.
- Principal aspects of the present invention are to provide a method, apparatus and computer program product for implementing picture format conversion to X, Y plot for waveform comparisons. Other important aspects of the present invention are to provide such method, apparatus and computer program product for implementing picture format conversion to X, Y plot for waveform comparisons substantially without negative effect and that overcome many of the disadvantages of prior art arrangements.
- In brief, a method, apparatus and computer program product are provided for implementing picture format conversion to X, Y plot for waveform comparisons. A picture file and user selected X, Y boundaries are received. Non-white pixels of the picture file between the user selected X, Y boundaries are converted to X, Y coordinate values in a selected format. The converted X, Y coordinate values are plotted.
- In accordance with features of the invention, the selected format for the converted X, Y coordinate values is provided for use with conventional plotting tools or programs, such as, raw data file (RAW) format for the program xplot and Common Simulation Data Format (CSDF) for the program aWaves.
- The present invention together with the above and other objects and advantages may best be understood from the following detailed description of the preferred embodiments of the invention illustrated in the drawings, wherein:
-
FIGS. 1A and 1B are block diagram representations illustrating a computer system and operating system for implementing picture format conversion to X, Y plot in accordance with the preferred embodiment; -
FIG. 2 is a flow chart illustrating exemplary steps for implementing picture format conversion to X, Y plot in accordance with the preferred embodiment; and in accordance with the preferred embodiment; and -
FIG. 3 is a block diagram illustrating a computer program product in accordance with the preferred embodiment. - Having reference now to the drawings, in
FIGS. 1A , and 1B, there is shown a computer or data processing system generally designated by thereference character 100 for implementing picture format conversion to X, Y plot in accordance with the preferred embodiment. As shown inFIG. 1A ,computer system 100 includes a central processor unit (CPU) 102, a readonly memory 103, arandom access memory 104, adisplay adapter 106 coupled to adisplay 108.CPU 102 is connected to a user interface (UI)adapter 110 connected to a pointer device andkeyboard 112.CPU 102 is connected to an input/output (10)adapter 114 connected to a direct access storage device (DASD) 116 and atape unit 118.CPU 102 is connected to acommunications adapter 120 providing a communications function. -
Computer system 100 is shown in simplified form sufficient for understanding the present invention. The illustratedcomputer system 100 is not intended to imply architectural or functional limitations. The present invention can be used with various hardware implementations and systems and various other internal hardware devices. For example, instead of a singlemain processor 102, multiple main processors can be used. - As shown in
FIG. 1B ,computer system 100 includes anoperating system 130, apicture conversion program 132 of the preferred embodiment, and a user interface 134. User selected coordinate values 136 including minimum X, Y coordinate boundary values 138 and maximum X, Y coordinate boundary values 140 are stored in accordance with the picture conversion methods of the preferred embodiment. - Various commercially available computers can be used for
computer system 100, for example, an IBM personal computer or an IBM server computer.CPU 102 is suitably programmed by thepicture conversion program 132 to execute the flowchart ofFIG. 2 for implementing picture format conversion to X, Y plot for waveform comparisons in accordance with the preferred embodiment. - In accordance with features of the preferred embodiment, methods are provided that allow software to receive an input picture of a waveform and to generate and plot coordinate X, Y data for the received picture of the waveform. Effective visual correlation is enabled between measured and simulated waveform in accordance with the preferred embodiment.
- Referring now to
FIG. 2 , there are shown exemplary steps of methods for implementing picture format conversion to X, Y plot for waveform comparison starting at ablock 200. As indicated in ablock 202, the pictureconversion software program 132 imports or receives a picture of a waveform, a mask or the like in a standard picture format, for example, in a black and white bitmap (BMP) format, or in any other conventional picture format, such as, a portable network graphics (PNG) format, a Joint Photographic Experts Group (JPEG) format, a Graphics Interchange Format (GIF) format, and the like. - Next the input picture is edited or cropped to contain just white space and the waveform with known X, Y boundaries as indicated in a
block 204. As indicated in a block 206, thepicture conversion program 132 receives the edited picture and user defined X starting and stopping points, left and right side boundaries of the supplied picture in time, and user defined Y starting and stopping points, bottom and top side boundaries of the supplied picture in Voltage. - As indicated in block 206, the
picture conversion program 132 gives as output a file that contains an (X, Y) point for each pixel based upon the supplied waveform and boundaries. At block 206, the output file is generated assuming a linear increase from left to right and from top to bottom. - This output file can be made in many different forms based upon a particular plotting program to be used with the X, Y data. The output file is then used to plot the X, Y data as indicated in a
block 208, for example, along-side of a simulated waveform so that it is easy to determine how well the real hardware correlates to any simulated waveforms. - In one tested implementation, a user saves a picture in a black and white BMP format. The black color is assumed to be the wanted waveform. The user can then use the picture
conversion software program 132 to convert the picture in black and white BMP format into a Common Simulation Data Format (CSDF) file format. There is also a currently available program to convert the CSDF file into a raw data file. This allows plotting the picture using either of two popular tools, aWaves (CSDF) or ‘xplot’ (RAW) by itself, or along with other data to be compared with the converted picture plot. - Referring now to
FIG. 3 , an article of manufacture or acomputer program product 300 of the invention is illustrated. Thecomputer program product 300 includes arecording medium 302, such as, a floppy disk, a high capacity read only memory in the form of an optically read compact disk or CD-ROM, a tape, a transmission type media such as a digital or analog communications link, or a similar computer program product.Recording medium 302 stores program means 304, 306, 308, 310 on themedium 302 for carrying out the methods for implementing picture format conversion to X, Y plot of the preferred embodiment in thesystem 100 ofFIGS. 1A and 1B . - A sequence of program instructions or a logical assembly of one or more interrelated modules defined by the recorded program means 304, 306, 308, 310, direct the
computer system 100 for implementing picture format conversion to X, Y plot of the preferred embodiment. - While the present invention has been described with reference to the details of the embodiments of the invention shown in the drawing, these details are not intended to limit the scope of the invention as claimed in the appended claims.
Claims (9)
1-4. (canceled)
5. A computer program product embodied on computer readable storage medium for implementing picture format conversion to X, Y plot in a computer system, said computer program product including instructions executed by the computer system to cause the computer system to perform:
receiving a picture file and user selected X, Y boundaries;
cropping the received picture file to contain only white space and a waveform within said user selected X, Y boundaries;
converting non-white pixels of the cropped picture file between the user selected X, Y boundaries to X, Y coordinate values in a selected format; and
plotting the converted X, Y coordinate values.
6. A computer program product for implementing picture format conversion to X, Y plot as recited in claim 5 wherein receiving a picture file includes receiving the picture file having a predefined picture format.
7. A computer program product for implementing picture format conversion to X, Y plot as recited in claim 6 wherein the predefined picture format includes one of a bitmap (BMP) format, a portable network graphics (PNG) format, a Joint Photographic Experts Group (JPEG) format, and a Graphics Interchange Format (GIF) format.
8. A computer program product for implementing picture format conversion to X, Y plot as recited in claim 5 wherein the selected format for the converted X, Y coordinate values includes one of a raw data file (RAW) format, and a Common Simulation Data Format (CSDF).
9. Apparatus for implementing picture format conversion to X, Y plot comprising:
a picture conversion program for receiving picture file and user selected X, Y boundaries;
said picture conversion program cropping the received picture file to contain only white space and a waveform within said user selected X, Y boundaries; and
said picture conversion program converting non-white pixels of the cropped picture file between the user selected X, Y boundaries to X, Y coordinate values in a selected format; and plotting the converted X, Y coordinate values.
10. Apparatus for implementing picture format conversion to X, Y plot as recited in claim 9 wherein the selected format for the converted X, Y coordinate values includes one of a raw data file (RAW) format, and a Common Simulation Data Format (CSDF).
11. Apparatus for implementing picture format conversion to X, Y plot as recited in claim 9 wherein the picture file has a predefined picture format.
12. Apparatus for implementing picture format conversion to X, Y plot as recited in claim 9 wherein the predefined picture format includes one of a bitmap (BMP) format, a portable network graphics (PNG) format, a Joint Photographic Experts Group (JPEG) format, and a Graphics Interchange Format (GIF) format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/944,642 US20080074437A1 (en) | 2005-06-09 | 2007-11-26 | Method, apparatus and computer program product for implementing picture format conversion to x,y plot |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/149,488 US7348995B2 (en) | 2005-06-09 | 2005-06-09 | Method, apparatus and computer program product for implementing picture format conversion to X, Y plot |
US11/944,642 US20080074437A1 (en) | 2005-06-09 | 2007-11-26 | Method, apparatus and computer program product for implementing picture format conversion to x,y plot |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/149,488 Continuation US7348995B2 (en) | 2005-06-09 | 2005-06-09 | Method, apparatus and computer program product for implementing picture format conversion to X, Y plot |
Publications (1)
Publication Number | Publication Date |
---|---|
US20080074437A1 true US20080074437A1 (en) | 2008-03-27 |
Family
ID=37523720
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/149,488 Expired - Fee Related US7348995B2 (en) | 2005-06-09 | 2005-06-09 | Method, apparatus and computer program product for implementing picture format conversion to X, Y plot |
US11/944,642 Abandoned US20080074437A1 (en) | 2005-06-09 | 2007-11-26 | Method, apparatus and computer program product for implementing picture format conversion to x,y plot |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/149,488 Expired - Fee Related US7348995B2 (en) | 2005-06-09 | 2005-06-09 | Method, apparatus and computer program product for implementing picture format conversion to X, Y plot |
Country Status (1)
Country | Link |
---|---|
US (2) | US7348995B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455607A (en) * | 2013-09-04 | 2013-12-18 | 优利德科技(中国)有限公司 | Method for automatically converting waveform image file into preset waveform data file |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8995510B2 (en) * | 2008-03-25 | 2015-03-31 | Tektronix, Inc. | Apparatus and method for analyzing a signal under test |
JP4759081B2 (en) * | 2009-11-11 | 2011-08-31 | 1stホールディングス株式会社 | Chart drawing apparatus and chart drawing method |
CN103185820B (en) * | 2011-12-29 | 2016-08-10 | 北京普源精电科技有限公司 | A kind of oscillograph with automatic cursor tracking function |
CN111489283B (en) * | 2019-01-25 | 2023-08-11 | 鸿富锦精密工业(武汉)有限公司 | Picture format conversion method and device and computer storage medium |
CN113326086B (en) * | 2021-05-18 | 2022-08-23 | 翱捷科技股份有限公司 | GIF picture display method and device based on LVGL |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4868785A (en) * | 1987-01-27 | 1989-09-19 | Tektronix, Inc. | Block diagram editor system and method for controlling electronic instruments |
US20030048932A1 (en) * | 2001-08-31 | 2003-03-13 | Siemens Medical Solutions Health Services Corporation. | System for processing image representative data |
US20060187241A1 (en) * | 2002-01-31 | 2006-08-24 | Microsoft Corporation | Lossless manipulation of media objects |
-
2005
- 2005-06-09 US US11/149,488 patent/US7348995B2/en not_active Expired - Fee Related
-
2007
- 2007-11-26 US US11/944,642 patent/US20080074437A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4868785A (en) * | 1987-01-27 | 1989-09-19 | Tektronix, Inc. | Block diagram editor system and method for controlling electronic instruments |
US20030048932A1 (en) * | 2001-08-31 | 2003-03-13 | Siemens Medical Solutions Health Services Corporation. | System for processing image representative data |
US20060187241A1 (en) * | 2002-01-31 | 2006-08-24 | Microsoft Corporation | Lossless manipulation of media objects |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455607A (en) * | 2013-09-04 | 2013-12-18 | 优利德科技(中国)有限公司 | Method for automatically converting waveform image file into preset waveform data file |
Also Published As
Publication number | Publication date |
---|---|
US7348995B2 (en) | 2008-03-25 |
US20060279581A1 (en) | 2006-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7348995B2 (en) | Method, apparatus and computer program product for implementing picture format conversion to X, Y plot | |
US8823794B2 (en) | Measuring device user experience through display outputs | |
KR940006059A (en) | Cost metrics | |
CN111144493B (en) | Method for automatically identifying algorithm index test, storage medium and electronic terminal | |
EP3779768A1 (en) | Event data stream processing method and computing device | |
CN107403014A (en) | The display methods of image file, apparatus and system | |
CN110542474A (en) | Method, system, medium, and apparatus for detecting vibration signal of device | |
US10930033B1 (en) | Content aware tracing for generating vector drawings | |
US20130182943A1 (en) | Systems and methods for depth map generation | |
CN112464599B (en) | Method for determining power supply voltage data in static time sequence analysis of circuit | |
CN111125564B (en) | Thermodynamic diagram generation method, thermodynamic diagram generation device, thermodynamic diagram generation computer device and thermodynamic diagram generation storage medium | |
JP2002082985A (en) | Device and method for retrieving picture and storage medium with picture retrieval program recorded thereon | |
JP2005037396A (en) | System and method for compressing test data suitably | |
CN104423964A (en) | Method and system used for determining visualization credibility | |
CN109003569B (en) | Method, device and equipment for determining tail time of display equipment and storage medium | |
Fiala et al. | Impact of image sensor output data on power consumption of the image processing system | |
CN111124862A (en) | Intelligent equipment performance testing method and device and intelligent equipment | |
US20180081951A1 (en) | Information generation system, a method and a non-transitory computer readable medium thereof | |
CN111950727B (en) | Neural network training and testing method and device for image data | |
US7020579B1 (en) | Method and apparatus for detecting motion-induced artifacts in video displays | |
CN111914131B (en) | Disk array mode query method, device, computer system and medium | |
CN108876873B (en) | Image generation method, device, equipment and storage medium | |
JP2001041987A (en) | Device and method for analyzing near magnetic field data and computer-readable recording medium in which program to make computer execute the same method is recorded | |
CN117194124A (en) | Signal testing method, device, computer equipment and storage medium | |
CN110888045A (en) | Jitter determination method and apparatus, storage medium, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE |