필터 지우기
필터 지우기

Image Load/Rotate/Crop and Collect Data

조회 수: 2 (최근 30일)
Eric Hong
Eric Hong 2012년 9월 25일
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개)

카테고리

Help CenterFile Exchange에서 Explore and Edit Images with Image Viewer App에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by