micmacIGN / micmac

Free open-source photogrammetry software tools
http://micmac.ensg.eu
Other
718 stars 153 forks source link

Convert RPB file to RPC file with MicMac format #213

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello I want to convert RPB file to RPC file with MicMac format but it is not possible using Convert2GenBundle command and also using DigitalGlobe2Grid Is there another way to do this? The file is as follows Thanks

satId = "WV03";
bandId = "P";
SpecId = "RPC00B";
BEGIN_GROUP = IMAGE
    errBias =    1.09;
    errRand =    0.24;
    lineOffset = 5829;
    sampOffset = 15451;
    latOffset =  -22.9517;
    longOffset =  -43.1654;
    heightOffset = 225;
    lineScale = 5830;
    sampScale = 15453;
    latScale =    0.0353;
    longScale =    0.0864;
    heightScale = 501;
    lineNumCoef = (
            -2.339858E-04,
            +3.070919E-01,
            -1.340265E+00,
            -3.229106E-02,
            +2.386750E-04,
            +1.065089E-05,
            -2.856014E-05,
            +1.253084E-03,
            +9.362794E-05,
            +1.534989E-06,
            +8.067853E-07,
            +1.180789E-06,
            +7.960766E-06,
            +1.875109E-06,
            -6.473457E-06,
            -2.656770E-05,
            -8.128184E-06,
            -2.925614E-07,
            -7.412073E-07,
            -1.933287E-07);
    lineDenCoef = (
            +1.000000E+00,
            +6.897471E-06,
            -2.497415E-04,
            -4.897649E-05,
            +1.626317E-05,
            -1.190858E-07,
            -2.238139E-06,
            +3.361889E-06,
            -2.863833E-05,
            +6.038872E-06,
            +2.346377E-06,
            +7.691422E-07,
            +4.836280E-05,
            +2.977011E-08,
            -1.054622E-05,
            -7.311358E-05,
            -1.301662E-07,
            -2.571694E-07,
            -5.321163E-06,
            +0.000000E+00);
    sampNumCoef = (
            +6.357688E-03,
            +1.033279E+00,
            -2.052477E-05,
            +3.145190E-02,
            +5.847694E-04,
            +1.839826E-04,
            -6.055087E-05,
            -6.598053E-03,
            +7.676158E-05,
            +6.856097E-06,
            +1.152229E-06,
            +3.232266E-05,
            -9.785379E-06,
            -3.639571E-06,
            +2.763526E-06,
            +2.459595E-05,
            +5.481157E-08,
            -2.914056E-06,
            +1.927531E-06,
            -1.112155E-07);
    sampDenCoef = (
            +1.000000E+00,
            +2.428017E-04,
            -6.018704E-04,
            -3.902871E-04,
            -4.532569E-06,
            +2.567634E-06,
            +7.410356E-07,
            +4.205638E-06,
            +7.335699E-06,
            -3.637950E-06,
            +1.646768E-08,
            +1.395424E-07,
            +1.474765E-07,
            -2.004441E-08,
            +1.796114E-08,
            -1.109155E-07,
            +0.000000E+00,
            -4.072199E-08,
            -1.614767E-08,
            +0.000000E+00);
END_GROUP = IMAGE
END;