Prev: Past values of simulink signals
Next: get matlab 2010a to use MS Visual C++ 2010 Express as mex compiler?
From: Chris Silins on 27 Apr 2010 11:34 I have taken an image with a ruler in it. I currently have the image showing with axis in pixels and require to have the axis in measurment units eg mm . I know there are 78 pixels per cm. If possible i would like the array axis to show real measurements aswell any help on the issue would be much appreciated Chris
From: Steven Lord on 27 Apr 2010 13:17 "Chris Silins" <chris.silins(a)googlemail.com> wrote in message news:hr705d$n33$1(a)fred.mathworks.com... >I have taken an image with a ruler in it. I currently have the image >showing with axis in pixels and require to have the axis in measurment >units eg mm . I know there are 78 pixels per cm. If possible i would like >the array axis to show real measurements aswell If you called IMAGE or IMAGESC with one input, instead call it with three. HELP IMAGE describes what the X and Y inputs represent; the last input will be your image data. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
From: Chris Silins on 27 Apr 2010 18:12
"Steven Lord" <slord(a)mathworks.com> wrote in message <hr767a$2pi$1(a)fred.mathworks.com>... > > "Chris Silins" <chris.silins(a)googlemail.com> wrote in message > news:hr705d$n33$1(a)fred.mathworks.com... > >I have taken an image with a ruler in it. I currently have the image > >showing with axis in pixels and require to have the axis in measurment > >units eg mm . I know there are 78 pixels per cm. If possible i would like > >the array axis to show real measurements aswell > > If you called IMAGE or IMAGESC with one input, instead call it with three. > HELP IMAGE describes what the X and Y inputs represent; the last input will > be your image data. > > -- > Steve Lord > slord(a)mathworks.com > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ > Ok have taken a look at the help file but still not quite getting it is there a way to just scale my axis then just relocate 0,0 to different point on the picture ? |