GRABIT

Versión 1.0.0.1 (23,4 KB) por Jiro Doke
Extract (pick out) data points off image files.
100,9K Descargas
Actualizado 1 sep 2016

Ver licencia

Nota del editor: Popular File 2018 2019 2020

GRABIT Extracts data points from an image file.
GRABIT starts a GUI program for extracting data from an image file. It is capable of reading in BMP, JPG, TIF, GIF, and PNG files (anything that is readable by IMREAD). Multiple data sets can be extracted from a single image file, and the data is saved as an n-by-2 matrix variable in the workspace. It can also be renamed and saved as a MAT file.

Following steps should be taken:
1. Load the image file.
2. Calibrate axes dimensions. You will be prompted to select 4 points on the image.
3. Grab points by clicking on points. Right-click to delete a point. Image can be zoomed during this stage.
4. Multiple data sets will remain in memory so long as the GUI is open. Variables can be renamed, saved to file, or edited in Array Editor.

Panning is achieved by clicking and dragging on the image. In addition to using the zoom button, there are keyboard shortcuts for zooming:
<shift> - center view
<a> - zoom in
<b> - zoom out
<space> - reset view

This code will also work for extracting data points from a tilted or a skewed image (even upside-down or mirrored). The calibration stage ensures that the imperfect orientation or quality of the image is accounted for.

The types of files that will most likely work are BMP, JPG, TIF, GIF (up to 8-bit), and PNG files. Basically, any format supported by the IMREAD is accepted.

GRABIT(FILENAME) will start the GUI program and open the image file FILENAME.

Type GRABIT('-sample') to load a sample image.

Created in MATLAB® R13. Tested up to R2006a

Citar como

Jiro Doke (2024). GRABIT (https://www.mathworks.com/matlabcentral/fileexchange/7173-grabit), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Data Exploration en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: GRABIT - POLYFIT, INTERACTIVEMOUSE, SMIProm

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.1

Updated license

1.0.0.0

Fixed bug. Now, grayscale images can be loaded.