Hi,
I would like to know how to do the conversion to Matlab co-ord system given a set of co-ords which are in Cartesian co-ords system
Let say, I was given x,y coordinates of pixels in Cartesian system as (-1,1), (1,1), (-1,-1), (1,-1) , assuming the 2x2 pixel is the Origin here.
Now I want to form the structuring element as given below
SE =
1 0 1
0 0 0
1 0 1
Is there a function which I can use to do this.
Replies will be helpful
Thanks
|
|
0
|
|
|
|
Reply
|
madhu
|
10/30/2010 8:24:04 PM |
|
On 10/30/2010 1:24 PM, madhu s wrote:
> Hi,
>
> I would like to know how to do the conversion to Matlab co-ord system given a set of co-ords which are in
> Cartesian co-ords system
>
> Let say, I was given x,y coordinates of pixels in Cartesian system as (-1,1), (1,1), (-1,-1), (1,-1) ,
> assuming the 2x2 pixel is the Origin here.
>
> Now I want to form the structuring element as given below
>
> SE =
> 1 0 1
> 0 0 0
> 1 0 1
>
> Is there a function which I can use to do this.
>
> Replies will be helpful
>
> Thanks
I do not understand this "structuring element". What is it?
To rotate a vector, one multiplies it by a transformation matrix.
Is this what you want?
What is "Matlab co-ord system"? Sorry, I never heared of "Matlab
coordinates systems"
--Nasser
|
|
0
|
|
|
|
Reply
|
Nasser
|
10/30/2010 10:35:33 PM
|
|
Please refer this link
http://www.mathworks.com/help/toolbox/images/ref/strel.html
"Nasser M. Abbasi" <nma@12000.org> wrote in message <iai6jq$8ro$1@speranza.aioe.org>...
> On 10/30/2010 1:24 PM, madhu s wrote:
> > Hi,
> >
> > I would like to know how to do the conversion to Matlab co-ord system given a set of co-ords which are in
> > Cartesian co-ords system
> >
> > Let say, I was given x,y coordinates of pixels in Cartesian system as (-1,1), (1,1), (-1,-1), (1,-1) ,
> > assuming the 2x2 pixel is the Origin here.
> >
> > Now I want to form the structuring element as given below
> >
> > SE =
> > 1 0 1
> > 0 0 0
> > 1 0 1
> >
> > Is there a function which I can use to do this.
> >
> > Replies will be helpful
> >
> > Thanks
>
> I do not understand this "structuring element". What is it?
>
> To rotate a vector, one multiplies it by a transformation matrix.
>
> Is this what you want?
>
> What is "Matlab co-ord system"? Sorry, I never heared of "Matlab
> coordinates systems"
>
> --Nasser
|
|
0
|
|
|
|
Reply
|
madhu
|
10/30/2010 11:03:03 PM
|
|
There is a strel() function. But it doesn't make any sense to run a
filter with a 3 by 3 structuring element on an image that is only 3 by
3 pixels, so you'd better have more pixels in between -1 and 1 than
just 3. And you'll need to know the calibration scaling factor and
the "real world" units that you want to use. For example, -1 *what*?
Is that in meters, or microns, or light years?
But you need to think about coordinate systems (and not just because
your sentence didn't make sense (to me at least)). MATLAB operates in
terms of matrices - that means pixels and elements. That means you
have to keep track of, and create, spatial calibration factors on your
own.
|
|
0
|
|
|
|
Reply
|
ImageAnalyst
|
10/30/2010 11:09:55 PM
|
|
|
3 Replies
679 Views
(page loaded in 0.043 seconds)
Similiar Articles: Conversion from Cartesian Coordinates to Matlab Coordinates - comp ...Hi, I would like to know how to do the conversion to Matlab co-ord system given a set of co-ords which are in Cartesian co-ords system Let say, ... Converting Cartesian to Geodetic Coordinates - comp.soft-sys ...Hi there, I am trying to covert some cartesian coordinates(X,Y,Y) in Geodetic Coordinates(Phi, Lambda, Alt). Till now I am not getting any success.... Convert GPS data to (x,y) coordenades - comp.soft-sys.matlab ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ..... are in Cartesian co-ords system Let say, I was given x,y coordinates of ... NAD83 conversion to geo-coordinates - comp.soft-sys.matlab ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ... Converting northings and eastings to latitude and longitude - comp ..... conversion-coordinates ... Coordinate conversion with proj.4 - comp.soft-sys.matlab ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ..... are in Cartesian ... using CONVERT_COORD to go from DATA to ... Coordinate conversion with proj.4 ... Astronomy: Convert galactic coordinates from time to degrees ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ... Astronomy: Convert galactic coordinates from time to degrees ... Conversion from Cartesian ... Plotting 3D spherical coordinates - comp.soft-sys.matlab ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ... Plotting 3D ... Then I transform from spherical coordinates to cartesian and ... matlab program ... Conversion ECEF to Local ENU - comp.soft-sys.matlabConversion from Cartesian Coordinates to Matlab Coordinates - comp ... Conversion ECEF to Local ENU - comp.soft-sys.matlab Converting Cartesian to Geodetic ... Coordinate transformation - cylindrical to cartesian - comp.soft ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ... Coordinate transformation - cylindrical to cartesian - comp.soft ... comp.soft-sys.matlab 189853 ... Convert MGRS to Latitude/Longitude and vice versa - comp.soft-sys ...Conversion from Cartesian Coordinates to Matlab Coordinates - comp ... Convert MGRS to Latitude/Longitude and vice versa - comp.soft-sys ... Hello, I am needing to batch ... Coordinate Conversion in Matlab - MATLAB examples, tutorials ...This couple of Matlab functions achieve a coordinate conversion of a point given in Cartesian coordinates to Polar coordinates, and vice versa. When we use the polar ... Transform Cartesian coordinates to polar or cylindrical - MATLABThis MATLAB function transforms three-dimensional Cartesian coordinates stored in corresponding elements ... Computational Geometry • Cartesian Coordinate System Conversion 7/21/2012 5:43:35 AM
|