Azzera filtri
Azzera filtri

Image Load/Rotate/Crop and Collect Data

2 visualizzazioni (ultimi 30 giorni)
All,
I am completely new to Image Processing with Matlab. The following is my problem statement.
Goal
Interactively collect data points from scanned image of a test data plot (pen plotter) oftentimes misaligned.
I need to be able to:
  1. Load a scanned image to Matlab figure
  2. Rotate the scanned image to align vertically and horizontally and crop it as necessary
  3. Tell Matlab the following information: a) where the origin is i.e. (0,0) point on the plot in x-y coordinate system; b) what each division (tick-mark)on the plot is equivalent to. For example, one division on the x axis is equivalent to 1 mA and one division on the y axis equivalent to 100 psi.
  4. Collect data points by mouse-clicking on the image as many points as needed. I need to be able to zoom in and out. I’m thinking to use “ginput”, “zoom”, and “waitfor” commands.
Please, help.
Eric

Risposta accettata

Thomas
Thomas il 25 Set 2012
Modificato: Thomas il 25 Set 2012
The imtool does the first two point very well. You will have to code for the rest..
doc imtool
for alignment this answer might help

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by