Hello Again,
found that I'm not the first and that this was supposedly fixed: 
https://groups.google.com/d/msg/otb-users/Dea3y6wrooo/WcPWqGCgdbsJ

What's the best way to find out whether this has been fixed?

Thanks in advance,
Conrad

On Monday, March 28, 2016 at 8:09:57 PM UTC+1, Conrad Bielski wrote:
>
> Hi,
> I'm getting a strange error when trying to run the optical calibration 
> from the command line. The error is below but I'm not sure why it's 
> happening. The image type is correctly identified but it complains about 
> image dimensions?!?
>
> I also included the read image output (even further below) which doesn't 
> seem to produce any problems.
>
> Any ideas how to get around this would be greatly appreciated.
>
> Have a great day,
> Conrad
>
> 2016 Mar 28 17:14:15  :  Application.logger  (INFO) 
> File: IMG_PHR1A_MS_201506251042185_ORT_1571237101-002_R1C1.JP2
> Sensor detected: PHR 1A
> Parameters extract from input image: 
>     Acquisition Day: 25
>     Acquisition Month: 6
>     Acquisition Year: 2015
>     Acquisition Sun Elevation Angle: 66.2186
>     Acquisition Sun Azimuth Angle: 143.106
>     Acquisition Viewing Elevation Angle: 70.748
>     Acquisition Viewing Azimuth Angle: 187.007
>     Acquisition gain (per band): 10.46 9.34 9.38 15.69 
>     Acquisition bias (per band): 0 0 0 0 
>     Solar Irradiance (per band): 1594 1830 1915 1060 
>
> 2016 Mar 28 17:14:15  :  Application.logger  (INFO) Compute Top of 
> Atmosphere reflectance
> 2016 Mar 28 17:14:15  :  Application.logger  (INFO) Clamp values between 
> [0, 100]
> 2016 Mar 28 17:14:15  :  Application.logger  (FATAL) The following error 
> occurred during application execution : 
> /home/ec2-user/DEV/tools/OTB-5.2/install/include/ITK-4.8/itkImageToImageFilter.hxx:248:
> itk::ERROR: ImageToLuminanceImageFilter(0x24dcab0): Inputs do not occupy 
> the same physical space! 
> InputImage Origin: [2.3093590e+06, 3.8940790e+06], InputImagePrimary 
> Origin: [2.3093590e+06, 3.8940790e+06]
>     Tolerance: -2.0000000e-06
> InputImage Spacing: [-2.0000000e+00, 2.0000000e+00], InputImagePrimary 
> Spacing: [-2.0000000e+00, 2.0000000e+00]
>     Tolerance: -2.0000000e-06
>
> *Read Image Info*
> 2016 Mar 28 17:19:59  :  Application.logger  (INFO) 
> Image general information:
>     Number of bands : 4
>     No data flags : Not found
>     Start index :  [0,0]
>     Size :  [11246,12240]
>     Origin :  [2.30936e+06,3.89408e+06]
>     Spacing :  [-2,2]
>     Estimated ground spacing (in meters): [3343.75,663.273]
>
> Image acquisition information:
>     Sensor : PHR 1A
>     Image identification number: 
>     Image projection : PROJCS["ETRS89 / LAEA Europe",
>     GEOGCS["ETRS89",
>         DATUM["European_Terrestrial_Reference_System_1989",
>             SPHEROID["GRS 1980",6378137,298.257222101,
>                 AUTHORITY["EPSG","7019"]],
>             TOWGS84[0,0,0,0,0,0,0],
>             AUTHORITY["EPSG","6258"]],
>         PRIMEM["Greenwich",0,
>             AUTHORITY["EPSG","8901"]],
>         UNIT["degree",0.0174532925199433,
>             AUTHORITY["EPSG","9122"]],
>         AXIS["Latitude",NORTH],
>         AXIS["Longitude",EAST],
>         AUTHORITY["EPSG","4258"]],
>     PROJECTION["Lambert_Azimuthal_Equal_Area"],
>     PARAMETER["latitude_of_center",52],
>     PARAMETER["longitude_of_center",10],
>     PARAMETER["false_easting",4321000],
>     PARAMETER["false_northing",3210000],
>     UNIT["metre",1,
>         AUTHORITY["EPSG","9001"]],
>     AXIS["Y",NORTH],
>     AXIS["X",EAST],
>     AUTHORITY["EPSG","3035"]]
>     Acquisition time : 2015-06-25T10:42:00
>
> Image default RGB composition:
>     [R, G, B] = [0,1,2]
>
> Ground control points information:
>     Number of GCPs = 0
>     GCPs projection = 
>
> Output parameters value:
> indexx: 0
> indexy: 0
> sizex: 11246
> sizey: 12240
> spacingx: -2
> spacingy: 2
> originx: 2309359
> originy: 3894079
> estimatedgroundspacingx: 3343.753174
> estimatedgroundspacingy: 663.2727661
> numberbands: 4
> sensor: PHR 1A
>
>
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to