lineSample to lanlong usng RPCs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

lineSample to lanlong usng RPCs

bharti navlani
l = Numl( x y z) / Denl( x y z)
 s = Nums( x y z) /Den( x y z)

l and s are normalized line and sample value 
x y z are normalized lat  long and height 

numerator and denominator of x y z and they are written as
Numl (x, y, z) =

a0+a1x+a2y+a3z+a4xy+a5xz+a6yz+a7x2+a8y2+a9z2+a10xyz+a11x3+a12xy2+

a13xz2+a14yx2+a15y3+a16yz2+a17x2z+a18y2z+a19z3

§Denl (x, y, z) =

b0+b1x+b2y+b3z+b4xy+b5xz+b6yz+b7x2+b8y2+b9z2+b10xyz+b11x3+b12xy2+

b13xz2+b14yx2+b15y3+b16yz2+b17x2z+b18y2z+b19z3

§Nums (x, y, z) =

c0+c1x+c2y+c3z+c4xy+c5xz+c6yz+c7x2+c8y2+c9z2+c10xyz+c11x3+c12xy2+c

13xz2+c14yx2+c15y3+c16yz2+c17x2z+c18y2z+c19z3

§Dens (x, y, z) =

d0+d1x+d2y+d3z+d4xy+d5xz+d6yz+d7x2+d8y2+d9z2+d10xyz+d11x3+d12xy2+

d13xz2+d14yx2+d15y3+d16yz2+d17x2z+d18y2z+d19z3



where a,b c and d are total 80 RPC coefficients 

now using these coefficients i would like to have conversion from lineSample to latlong and vice versa

how it can be done using OSSIM?

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|

Re: lineSample to lanlong usng RPCs

Oscar Kramer
Look at ossim/src/projection/ossimRpcModel.cpp and its corresponding .h file.

The two methods you need to go from image space to geographic space and visa versa are:

lineSampleToWorld() -- Uses available DEMs to intersect the "imaging ray" with the terrain to arrive at location in lat, lon, hgt
worldToLineSample() -- Reverses projection to determine sample, line (x, y) given geographic point.







From: bharti navlani <[hidden email]>
To: [hidden email]
Sent: Saturday, March 26, 2016 10:36 AM
Subject: [OSSIM] lineSample to lanlong usng RPCs

l = Numl( x y z) / Denl( x y z)
 s = Nums( x y z) /Den( x y z)

l and s are normalized line and sample value 
x y z are normalized lat  long and height 

numerator and denominator of x y z and they are written as
Numl (x, y, z) =
a0+a1x+a2y+a3z+a4xy+a5xz+a6yz+a7x2+a8y2+a9z2+a10xyz+a11x3+a12xy2+
a13xz2+a14yx2+a15y3+a16yz2+a17x2z+a18y2z+a19z3
§Denl (x, y, z) =
b0+b1x+b2y+b3z+b4xy+b5xz+b6yz+b7x2+b8y2+b9z2+b10xyz+b11x3+b12xy2+
b13xz2+b14yx2+b15y3+b16yz2+b17x2z+b18y2z+b19z3
§Nums (x, y, z) =
c0+c1x+c2y+c3z+c4xy+c5xz+c6yz+c7x2+c8y2+c9z2+c10xyz+c11x3+c12xy2+c
13xz2+c14yx2+c15y3+c16yz2+c17x2z+c18y2z+c19z3
§Dens (x, y, z) =
d0+d1x+d2y+d3z+d4xy+d5xz+d6yz+d7x2+d8y2+d9z2+d10xyz+d11x3+d12xy2+
d13xz2+d14yx2+d15y3+d16yz2+d17x2z+d18y2z+d19z3


where a,b c and d are total 80 RPC coefficients 

now using these coefficients i would like to have conversion from lineSample to latlong and vice versa

how it can be done using OSSIM?

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer