Effacer les filtres
Effacer les filtres

Image Load/Rotate/Crop and Collect Data

2 vues (au cours des 30 derniers jours)
Eric Hong
Eric Hong le 25 Sep 2012
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

Réponse acceptée

Thomas
Thomas le 25 Sep 2012
Modifié(e) : Thomas le 25 Sep 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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by