Image Coordinates

  • Follow


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
0
Reply Chris 4/27/2010 3:34:05 PM

"Chris Silins" <chris.silins@googlemail.com> wrote in message 
news:hr705d$n33$1@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@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ 


0
Reply Steven 4/27/2010 5:17:43 PM


"Steven Lord" <slord@mathworks.com> wrote in message <hr767a$2pi$1@fred.mathworks.com>...
> 
> "Chris Silins" <chris.silins@googlemail.com> wrote in message 
> news:hr705d$n33$1@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@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 ? 
0
Reply Chris 4/27/2010 10:12:03 PM

2 Replies
301 Views

(page loaded in 0.022 seconds)

Similiar Articles:













7/24/2012 3:58:06 PM


Reply: