Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Thomas Wuerfl
    @twuerfl
    Hi Guys. I used engauge today after quite some time again. I figured out that the german language translation is really broken.
    how to fix?
    Mark Mitchell
    @markummitchell
    There is so much information to translate that I had to use machine translation for some languages. If you can help, that would be great. Even with machine translation, the copying and pasting can take two hours so you may want to translate just the text you find most important and/or needing the most help. The easiest approach seems to be with Transifex.com. Translators can get a free account and then request translation privileges for https://www.transifex.com/engauge-digitizer/engauge-digitizer/. There are 200 known downloads per day of this tool, with 11% from Germany (https://snapcraft.io/engauge-digitizer/metrics) so you would be helping a lot of people! I hope you are interested.
    kaufdev
    @kaufdev
    Hi Mark! Is there any documentation about using digitizer through terminal? Or even deeper question? Is it possible to use it through terminal?
    Sharon Lin
    @sharonrlin_gitlab
    Hi Mark, is there a way to auto plot points only where the line of a graph intersects with the grid lines?
    Mark Mitchell
    @markummitchell
    @kaufdev Sorry, but Engauge is not designed to work automatically, like 'engauge <image_file_in> <csv_file_out>'. The user interface right now has many, many features to handle the wide range of inputs that users work with, and the work to automate all of those features would take months at least. So just running a single command line and letting the software automatically digitize an image will not be possible. If you were just asking about using the current user interface in a text window, that would not be possible because the software is based on Digia's Qt which does not work in terminals. Sorry
    Mark Mitchell
    @markummitchell
    @sharon Right now the software does not export along grid points. I am thinking you want to do that since the grid line spacing is controllable. If you are interested, I can add that capability quickly (to export at each vertical grid line).
    Sharon Lin
    @sharonrlin_gitlab
    @markummitchell That would be great! Would you also be able to plot a point where the vertical grid line meets the imported graph line?
    Mark Mitchell
    @markummitchell
    oopman2002
    @oopman2002
    I'm having a problem with 11.1 and had to fall back to an older copy. What was happening was the image I was digitizing would move up/down slightly at the end of the curve. It was as if I clicked on the up/down arrows on the right side. I've zoomed in until my image is larger than the screen as there is white space and I wanted my image to digitize as large as possible. When this happened, the Y coordinates would be off by the amount the image shifted.
    Would it be possible to have a magnifying glass around the region to make your selection more accurate when you are trying to follow a curve?
    oopman2002
    @oopman2002
    Mark ignore the last comment, I just tried it on 10.1 and the same thing happened. I don't know if this is some issue with the JPG I'm using or not. Will have to test it futher.
    oopman2002
    @oopman2002
    Okay, I'm back. What I've noticed and can't pin point how it happens is that if you have a JPG that you are scanning and the image file is larger than the display window, the image will shift up and down sometimes without hitting the arrow keys or rolling the mouse wheel. I can't figure out what triggers it but it causes the digitization to be incorrect.
    Mark Mitchell
    @markummitchell
    Sorry for the slow response. Have you tried selecting Fit for the zoom? That may be a workaround. I will try to reproduce the problem for a real
    fix
    oopman2002
    @oopman2002
    The problem to using Fit is that it changes the ratio of length to width and I haven't had time to test to see if that alters the digitized output. If it would fit to either hight or width and keep the same ratio that would be nice. I'll try to get more time to test it. Another thought might be to have the ability to lock the image from panning up or down along with the mouse wheel just in case.
    oopman2002
    @oopman2002
    Mark just in case you don't have anything else to do. Have you considered creating an option to store the X&Y values in the buffer so you can simply paste them directly into an Excel file rather than having to create a temporary Excel file, paste them, and them copy the columns to the destination file? I typically create one Excel file with all of the digitized data for one group of equipment rather than individual worksheets for each and to be able to just select a starting cell and have the program populate the cells would be neat.
    Mark Mitchell
    @markummitchell
    @oopman2002 I searched the code and the only thing that should cause scrolling is when zooming in or out - in which case the window scrolls to try to keep the cursor position in the center of the window. Are you running any zoom utility? If not, I will probably need more information, like are you at the left or right edge when the image jumps up or down? Is a point selected?
    @oopman2002 Regarding zooming, if you increase/decrease the zoom factors, using Control+MouseScroll, then you should get 1:1 aspect ratio
    Mark Mitchell
    @markummitchell
    @oopman2002 I am curious why a temporary Excel file is needed. Can you copy directly to the final Excel file? I was able to do that using a click-and-drag in Engauge, and then Control+V in Excel 2019.
    Mark Mitchell
    @markummitchell
    The documentation has been updated to be more clear that copy and paste will work to transfer raw data points to spreadsheet programs. Thanks for the input!
    wilthan
    @wilthan
    @markummitchell Mark, you helped me in the past when I needed a way to export the images from our 4000 Engauge files. We try to train an AI system with our digitized output and now have the images. We do have all the digitized points in the plot coordinates as well but would need the point position in "image-coordinates" - basically in pixel position from one of the image corners. Do you see a way to get that with not too much effort on your end? I assume that information is available somewhere before you do the coordinate system transformation with the identified axes points. A way to export those coordinates for each digitized point in our 4000+ files would be amazing. (We can script somthing in Python too, if you can maybe point us to where we should start looking).
    Mark Mitchell
    @markummitchell
    @wilthan Issue #325 was created to track this. You can try out a new python script at https://github.com/markummitchell/engauge-digitizer/blob/master/contrib/python/DumpGraphAndScreenCoordinates.py. If you are comfortable with python, you can modify that script. Another option might be a script to read the DIG file and any CSV files created from it, and convert the points in the CSV files to create new CSV files. In any case, good luck with your AI system.
    Gnanakeethan Balasubramaniam
    @gnanakeethan
    How can we integrate this into a Android Application? Is it possible to use this as a Library?
    Mark Mitchell
    @markummitchell
    That could be a good idea. Engauge is built with the Qt library. Since Qt can work on Android it should be possible to create an Android app. Are you an Android developer or interested in being one?
    Mark Mitchell
    @markummitchell
    I will work on the Android implementation
    Gnanakeethan Balasubramaniam
    @gnanakeethan
    Yes. I can be of little assistance. I am not a pro android developer.
    ethnotools
    @ethnotools
    Mark, I am a researcher. Have you ever received a grant to support your project ?
    Denise
    @dnisi_gitlab
    Hi Mark,
    are there any news regarding the android implementation?
    I would like to integrate it, into my xamarin app.
    Mark Mitchell
    @markummitchell
    Regarding Android, I just created issue #359 so this can be tracked. I will look into this in the next 24 hours to answer your question, although the actual release would take longer to set up.
    Mark Mitchell
    @markummitchell
    @Denise It looks like building x86 and 32-bit arm versions would be easy since the Qt libraries support those immediately when installed. Building a 64-bit arm version would be much harder since Qt would have to be rebuilt from source for 64 bits. That rebuild can be hard because Qt has many dependencies for processing different image types, and the libraries for that also have dependencies. Of course, you are free to copy the code and do whatever you like (according to the GPLv2 license), but I would try to support your effort as much as I can. Do you just need a graphical executable?
    justme8060
    @justme8060
    Hi! Could anyone help me? I need to digitize a cardiograme using Engauge, but the result is very poor. I think it's because the density of points is too small. How can I improve digitiaing?
    Mark Mitchell
    @markummitchell
    Can you post your image
    Denise
    @dnisi_gitlab
    Hi @markummitchell
    I would like to have the calculation in a library. I have an image and need the data points (x,y pairs). Is Qt for that necessary i.e. is it possible to extract the calculation in a library. Do there currently exist any APIs or is it even possible in your architecture?
    Mark Mitchell
    @markummitchell
    https://courses.cs.washington.edu/courses/csep576/11sp/pdf/Transformations.pdf has a brilliant discussion on the math involved. Qt is not required, although it can help to have a nice vector library. The Qt library has many dependencies and can take a long time to install (sometimes) because of those dependencies.
    justme8060
    @justme8060
    what kind of image should I post?
    Mark Mitchell
    @markummitchell
    You can send your image to my github account, enter it as a new github issue, and maybe just drag it here. Any image format will work. If the data is private, maybe you can send a hand drawn version that is not private.
    justme8060
    @justme8060
    OK, I'll do that when I have time. Thank you
    oopman2002
    @oopman2002
    Mark have you considered saving the location of the image file to be digitized and then when you export data start in the location of the image file rather than the location of the Engauge system files? It's not a big deal but I'd assume that most people want to save their files where (or close to) the input image is.
    justme8060
    @justme8060
    1572961199317.jpg
    Hi, here is an example of a signal
    Mark Mitchell
    @markummitchell
    @oopman2002 Thanks for the suggestion. This is now issue #360
    @justme8060 While documenting the right steps, I encountered issue #362 and fixed that. I also added the #361 enhancement. I will make a release in the next day that should help what you are doing, and send the recommended steps.
    Mark Mitchell
    @markummitchell
    @justme8060 Here are the suggested steps using just-released version 12.1:
    image.png
    Mark Mitchell
    @markummitchell
    -File / Import (Advanced) / cardiogram.jpg
      -Coordinate System count=3
      -Ok
    -View / Background / Show Original Image
    -(With '1' appearing in the Coordinate System toolbar)
      -Settings / Segment Fill / PointSeparation=5
      -Select Digitize Axis (3 red points)
      -Enter 3 axis points for one curve
      -Select Digitize Segment (green line)
      -Click on the first curve in various places
    -(Repeat previous step with '2' appearing in the Coordinate System toolbar)
    -(Repeat previous step with '3' appearing in the Coordinate System toolbar)
    -File / Save
    -(With '1' appearing in the Coordinate System Toolbar)
      -File / Export / <filename1>
    -(Repeat previous step with '2' appearing in the Coordinate System toolbar)
    -(Repeat previous step with '3' appearing in the Coordinate System toolbar)
    Mark Mitchell
    @markummitchell
    @ethnotools Sorry for the delay, I missed your original message. As a GPL open source project, no money has been accepted to obtain the software. As a software developer, I received receive one contract from NASA at the urging of a large aerospace corporation to upgrade the Qt software license which was not free at that point, and make some custom software enhancements.
    justme8060
    @justme8060
    thank you, Mark ! I'll try to follow your sugestion
    ReBu415
    @ReBu415
    Hello Mark, I have a question about default settings of Engauge. Is there a way to change it ? For example, sets
    ReBu415
    @ReBu415
    Hello Mark, I have a question about default settings of Engauge. Is there a way to change it ? For example, sets coordinates in log by default. Thanks.