Image Load/Rotate/Crop and Collect Data

2 次查看(过去 30 天)
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

采纳的回答

Thomas
Thomas 2012-9-25
编辑:Thomas 2012-9-25
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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by