PyDigitizer – A Python module for digitizing 2D curves
The digitizing process consists of extracting a curve numerical coordinates from an explicit image. The paper describes the PyDigitizer module for digitizing 2D curves from images, created with the help of free and Open Source resources, using Python as a programming language and wx.Python as a graphical user interface toolkit. Digitizing is done manually, only for XY graphs type, by placing mouse points with left clicking over the curves in the image. After digitization, spline interpolation curves can be plotted over the image curves, their intersection points can be accurately calculated for specified X or Y values and the coordinates of the digitized points can be displayed in tabular form; moreover, regression digitized curves can be generated, the results can be exported to an Excel file or saved in a dataset to be restored later. It is also possible to open Excel files, with point coordinates of one or more curves, to operate intersections for the X or Y axis. The Excel file layout is exemplified in the file 'Demo_Chart.xls'.
Steps to reproduce
The application was generated and tested through Python 2.7 version installed by "Python(x,y)" package (https://python-xy.github.io/. ) on WINDOWS 10 operating system, comtypes-0.6.2 & pysqlite-2.6.3. THE PYDIGITIZER APPLICATION DOES NOT SHARE DATA OVER THE INTERNET, THE CODE RUNS ENTIRELY ON THE USER'S COMPUTER, DOES NOT CONTAIN ANY VIRUSES AND NOT STORE DATA TO ANY EXTERNAL SERVER. 1. Downlod the files from https://data.mendeley.com/ 2. The application will be installed via the "PyDigitizer_Setup.exe" file. All application files will be installed by the application installation kit. The application files will be installed on 'Program Files (x86)' folder. 3. An icon will be placed on the desktop to open the application. 4. Create a new folder for using the application, but different from the folder where the application was installed which is 'Program Files (x86)' folder. 5. In this new folder copy the example files and any other image files that will be used by the application to digitize the curves. 6. Launching the application is done by double clicking on the main file "PyDigitizer.exe" from the install folder 'Program Files (x86)' or on the desktop icon created by installer.