Place cursor pointer on a known high value on the x-axis (abscissa axis).A dialog box will appear requesting the value of the chosen lower x-axis (abscissa axis) calibration point.Place cursor pointer on a known low value on the x-axis (abscissa axis, horizontal axis).A dialog box will appear requesting the value of the chosen higher y-axis (ordinate axis) calibration point.Place cursor pointer on a known high value on the y-axis (ordinate axis).A dialog box will appear requesting the value of the chosen lower y-axis (ordinate axis) calibration point.click RIGHT mouse or touch pad button.Place cursor pointer on a known low value on the y-axis (ordinate axis, vertical axis).Throghout the digitization the current digitization instruction is displayed above the selected image. The GIF, JPEG or PNG file, containing the graph, supplied via the constructor initiated select window or constructor argument, is displayed in a window. This method allows the points on a graph to be digitised. The methods digitize and digitise are identical. if a Microsoft System is being used, an example would be "C:\\Digitization\\Image_Files" The path name must conform to the convention of the operating system, e.g. The window will open in the directory provided by the argument windowPath. A file selection window will appear, if this constructor is used, allowing the user to select the GIF, JPEG or PNG file containing the graph to be digitized. The digitization of points on the image require the method digitize() to be called (see below).ĭigiGraph dg = new DigiGraph(windowPath) Ĭreates a new instance of DigiGraph. If so click on the maximize icon (square icon second from the right) to restore a full window displaying the selected image. It may open as a minimized icon bar in the top left hand corner of the screen On entering the required number of decimal places the selected image will be displayed in a new window. On entering an output file name a new dialog box will open requesting the number of decimal places required in the digitised values in the output file. The output file will be stored in the same directory as the calling program if a name is entered without a directory path, e.g. if a Microsoft System is being used, an example would be "C:\\Digitization\\Image_Files\\imageOne_digitized.txt". The default path for the output file is to the directory in which the selected image file is stored and the default name is the name of the selected file with"_digitized" added. On selecting the required GIF, JPEG or PNG file a dialog box will appear requesting the path\name of the output. The window will open on your system's default initial directory. Public static final synchronized void.endProgram()Ĭreates a new instance of DigiGraph. Public void setRotationTolerance( double tol) SUMMARY OF CONSTRUCTOR AND METHODS Constructors Main Page of Michael Thomas Flanagan Java Scientific Library.Other classes, in this library, used by this class.Listing of the source code, DigiGraph.java ( Last update: 3 December 2008).Summary table of constructor and methods.The graph must be presented in one of the following graphical formats: This class contains the methods for digitizing points on a graph. Last update: 3 December 2008 Main Page of Michael Thomas Flanagan's Java Scientific Library Michael Thomas Flanagan's Java Scientific LibraryĭigiGraph Class: Digitizing Points on a Graph Michael Thomas Flanagan's Java Scientific Library: Digitizing graph points
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |