Alexey,
Has the export to Inpho been revisited lately?
I exported an Inpho project and noticed that the camera information seemed incorrect. Both for each image and also for the camera definition at the end.
The focal length is exported as the original EXIF value not the calibrated focal length. So, I entered the calibrated focal length into the camera calibration dialog box and reexported. The new value was indeed exported but things are still not correct.
Here is one photo and the camera definition from the original export
$PHOTO
$PHOTO_NUM : pr0909_50mm_0778.TIF
$PHOTO_FILE : G:/PowderRiver2009/APC/pr0909_50mm_0778.TIF
$CAMERA_ID : Canon_EOS-1Ds_Mark_II_(50_mm)
$TERRAIN_HEIGHT : 1282.3846198138667000
$PIXEL_SIZE : 0.0069918047717751
$SCAN_POS : 0
$IO_PARS : 2 2
$IO_STAT : manual
$EXT_ORI : 08:20:46 05/05/2014
50.0000000000000000 405615.6194925598100000 4863478.9887055010000000 1514.3143030865913000
0.8310341536382675 -0.5444507272856713 0.1138228493969121
0.5558503132780518 0.8054316153965812 -0.2056947790984157
0.0203141506202012 0.2342078531513363 0.9719742881408036
$END
$CAMERA
$TYPE : Canon_EOS-1Ds_Mark_II_(50_mm)
$DATE : 08:20:46 05/05/2014
$BRAND : Custom
$KIND : CCDFrame
$CCD_INTERIOR_ORIENTATION :
143.0297329511802800 -0.0000000000000000 2509.2457364247275000
0.0000000000 -143.0194439471396200 1700.4109677756908000
$CCD_COLUMNS : 4992
$CCD_ROWS : 3328
$PIXEL_REFERENCE : TopLeftTopLeft
$FOCAL_LENGTH : 50.0000000000000000
$PRINCIPAL_POINT_PPA : 0.000000 0.000000
$DISTORTION_TYPE : Polynomial
$RADIAL_COEFFS :
0.0000000000000000 0.0000304526480109 0.0000000361957312 -0.0000000000592217
0.0000000000000709 0.0000000000000000 0.0000000000000000 0.0000000000000000
$DECENTRE_COEFFS :
0.0000099585304794 0.0000153221698427 0.0000000000000000 0.0000000000000000
$GPS_ANTENNA_OFFSET : 0.000000 0.000000 0.000000
$CAMERA_MOUNT_ROTATION : 0.000000
$END
Here is the second export - after only entering the calibrated focal length.
$PHOTO
$PHOTO_NUM : pr0909_50mm_0778.TIF
$PHOTO_FILE : G:/PowderRiver2009/APC/pr0909_50mm_0778.TIF
$CAMERA_ID : Canon_EOS-1Ds_Mark_II_(50_mm)
$TERRAIN_HEIGHT : 1282.3846198138667000
$PIXEL_SIZE : 0.0072005638580535
$SCAN_POS : 0
$IO_PARS : 2 2
$IO_STAT : manual
$EXT_ORI : 11:46:32 05/05/2014
51.4928841199999990 405615.6194925598100000 4863478.9887055010000000 1514.3143030865913000
0.8310341536382678 -0.5444507272856710 0.1138228493969121
0.5558503132780515 0.8054316153965814 -0.2056947790984157
0.0203141506202011 0.2342078531513363 0.9719742881408036
$END
$CAMERA
$TYPE : Canon_EOS-1Ds_Mark_II_(50_mm)
$DATE : 11:46:32 05/05/2014
$BRAND : Custom
$KIND : CCDFrame
$CCD_INTERIOR_ORIENTATION :
138.8830082015420300 -0.0000000000000000 2509.2457364247275000
0.0000000000 -138.8730174967908200 1700.4109677756908000
$CCD_COLUMNS : 4992
$CCD_ROWS : 3328
$PIXEL_REFERENCE : TopLeftTopLeft
$FOCAL_LENGTH : 51.4928841199999990
$PRINCIPAL_POINT_PPA : 0.000000 0.000000
$DISTORTION_TYPE : Polynomial
$RADIAL_COEFFS :
0.0000000000000000 0.0000287124754340 0.0000000321772187 -0.0000000000496384
0.0000000000000561 0.0000000000000000 0.0000000000000000 0.0000000000000000
$DECENTRE_COEFFS :
0.0000096698122950 0.0000148779487735 0.0000000000000000 0.0000000000000000
$GPS_ANTENNA_OFFSET : 0.000000 0.000000 0.000000
$CAMERA_MOUNT_ROTATION : 0.000000
$END
FYI
Both exports had virtually the same info in the console - here it is
lm optimize: xxxxx-----------x-x----------- 0.077662 -> 0.00225481
Calibration converted, mean error = 0.442852 pix, max error = 0.884545 pix
I do not have Inpho, but can import an Inpho project into Stereo Analyst and with both projects, there is quite a bit of parallax away from the center of the model - actually worse with the calibrated focal length entered.
Tom