PDA

View Full Version : RC4 Problems with EXIF


gillyworld
11th of April 2004 (Sun), 02:00
Pekka,

I am still having problems with Lens identification from EXIF in RC4, invariably the wrong lens is identified. Typically if I have used my 28-135 IS lens at 28mm then EE chooses my 28-70 lens.
Using the PHP EXIF if you look at the EXIF using the the "Selected Test" in Settings-Graphics Modules you should see a set of variables under the title of ModeArray. Offsets 23 and 24 contain the actual focal length of the lens used so for the 28 - 135 offset 23 would be set to 135 and offset 24 would be set to 28. Using this would give more accurate lens identification, it would even detect use of converters so for example a 20-210 would appear as a 98-280

Thanks

Alan

gillyworld
20th of April 2004 (Tue), 23:38
Pekka,

Any thoughts on this?

Thanks

Alan

hokawai
27th of April 2004 (Tue), 21:15
I had similar problem:

I used a 24-70 Lens, when it is at the 70 end, EE identified it as 70-200.

When I used it at the 24 end, EE sometimes indentified it as 17-40.

It doesn't happen before RC4.

Pekka,

Any thoughts on this?

Thanks

Alan

cd500 user
29th of April 2004 (Thu), 11:04
I am having the same problems with EXIF. I am using RC4 and the internal EE EXIF, not PHP EXIF. I have two cameras that I use and have made 'inbuilt' lenses for each in EE. When I have "guess camera" and "guess lens" checked in the upload fields, it sees the right camera but posts the wrong lens. When I uncheck all 'guess' fields it doesn't pick the right camera, just uses the defaults.

Any ideas on this? Great program overall and thank you.

patrick

hokawai
8th of May 2004 (Sat), 11:26
Any hint?

Pekka
9th of May 2004 (Sun), 16:00
The lens guess system may fail if lenses are "close" to each other because the data from IPTC and EXIF/XMP is not sufficient to make 100% accurate guess. That is why it is a "guess" :)

Filling all the lens data in lens editor helps guess engine.

Please untick lens quess if it fails constantly with your images. Use defaults + powertools or photo editor.

If you have few images which demonstrate this "guess fails" problem, please zip them and mail to pekka AT photography-on-the.net. I'll see what can be done to improve the guess procedure, and if there are other methods to make this more accurate.

gillyworld
10th of May 2004 (Mon), 00:38
The lens guess system may fail if lenses are "close" to each other because the data from IPTC and EXIF/XMP is not sufficient to make 100% accurate guess. That is why it is a "guess" :)

Filling all the lens data in lens editor helps guess engine.

Pekka,The point that I made in my original post is that I believe that there is more information in EXIF than EE is currently using that will enable a much better "guess" to be made. Certainly the starting and ending focal lengths for zoom lenses is contained in EXIF. Most people would not own 2 lenses with exactly the same zoom range or focal length, so as long as the lens details were correctly added to EE, then I think a 100% match could be achieved.

If you look at the way that products like Breezebrowser interpret EXIF, it gets it right all the time - at least from a focal length point of view and Breezebrowser does not require you to add lens information in beforehand so it must get it from the EXIF.

Further thoughts??

Cheers

Alan

gillyworld
12th of May 2004 (Wed), 14:09
Pekka,

Just to re-inforce what I am saying, below is a listing from EE Graphics module test using thePHP Exif module. I have highlighted in Red the Max focal Length and min focal lengths fields for the lens used (a 20-35mm). If you were able to use this and then match to what is in the Lens enries for EE I think you would get a 100% accuracy

Cheers

Alan


EXIF DATA LISTING FROM IMAGE 'wamf_040423_024.jpg':

FileName =>wamf_040423_024.jpg
FileDateTime =>1084343292
FileSize =>86637
FileType =>2
MimeType =>image/jpeg
SectionsFound =>ANY_TAG, IFD0, THUMBNAIL, EXIF, INTEROP, MAKERNOTE
COMPUTED =>
html =>width="1000" height="666"
Height =>666
Width =>1000
IsColor =>1
ByteOrderMotorola =>0
CCDWidth =>7mm
ApertureFNumber =>f/4.0
UserComment =>
UserCommentEncoding =>ASCII
Thumbnail.FileType =>2
Thumbnail.MimeType =>image/jpeg
Make =>Canon
Model =>Canon EOS 10D
Orientation =>1
XResolution =>180/1
YResolution =>180/1
ResolutionUnit =>2
DateTime =>2004:04:23 19:38:37
YCbCrPositioning =>1
Exif_IFD_Pointer =>196
THUMBNAIL =>
Compression =>6
XResolution =>72/1
YResolution =>72/1
ResolutionUnit =>2
JPEGInterchangeFormat =>2644
JPEGInterchangeFormatLength =>8039
ExposureTime =>1/60
FNumber =>40/10
ISOSpeedRatings =>800
ExifVersion =>0221
DateTimeOriginal =>2004:04:23 19:38:37
DateTimeDigitized =>2004:04:23 19:38:37
ComponentsConfiguration =>
CompressedBitsPerPixel =>9/1
ShutterSpeedValue =>387114/65536
ApertureValue =>262144/65536
ExposureBiasValue =>0/3
MaxApertureValue =>194698/65536
MeteringMode =>5
Flash =>9
FocalLength =>20/1
MakerNote =>.*<D!L“ Ž  À 8š?’   *h€¬MZ À $Á >ªX¨ b©)v®P´Èøµ \ ÿÿÿ#_Æ@ÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿ’b:B€½ÿÿÀÿ À^üÿÿÿÿÿÿÿÿCRW:EOS 10D CMOS RAW IMAGEFirmware Version 2.0.0§ì)õÎhã#ýçuDHê!LMÓ[S»:áW‚·l3Ã2î²K.*B ?ñè¼¥TŽ*eÞ“$Î×þI®R™5¦Ks¥Û «_‘óc ’"$mлHk!¿/ÓC•‹s²®*øobMqj~ÉÐ4è-]$   Kts«ÍÌ¿¯@lm¢î¬® ±äç” —ýóT =Xcž \Ä=FR¸À»*?@îó?@_R?@ž ³µÅØ?@Io?@?*?@î°?@* €‚  ——ö` ý üþúÿÿŸp 
UserComment =>ASCII
FlashPixVersion =>0100
ColorSpace =>65535
ExifImageWidth =>1000
ExifImageLength =>666
InteroperabilityOffset =>2330
FocalPlaneXResolution =>3072000/892
FocalPlaneYResolution =>2048000/595
FocalPlaneResolutionUnit =>2
SensingMethod =>2
FileSource =>
CustomRendered =>0
ExposureMode =>0
WhiteBalance =>0
SceneCaptureType =>0
InterOperabilityIndex =>THM
InterOperabilityVersion =>0100
RelatedImageWidth =>3072
RelatedImageHeight =>2048
ModeArray =>
0 =>92
1 =>0
2 =>0
3 =>4
4 =>2
5 =>1
6 =>0
7 =>0
8 =>0
9 =>2
10 =>0
11 =>1
12 =>0
13 =>0
14 =>0
15 =>0
16 =>0
17 =>3
18 =>2
19 =>8197
20 =>1
21 =>32767
22 =>65535
23 =>35
24 =>20
25 =>1
26 =>95
27 =>285
28 =>198
29 =>16392
30 =>0
31 =>0
32 =>65535
33 =>65535
34 =>65535
35 =>0
36 =>3072
37 =>3072
38 =>0
39 =>65535
40 =>65535
41 =>0
42 =>0
43 =>32767
44 =>65535
45 =>65535
UndefinedTag:0x0002 =>
0 =>0
1 =>20
2 =>914
3 =>610
UndefinedTag:0x0003 =>
0 =>58
1 =>16
2 =>0
3 =>0
ImageInfo =>
0 =>66
1 =>0
2 =>256
3 =>28
4 =>128
5 =>189
6 =>0
7 =>0
8 =>3
9 =>0
10 =>8
11 =>8
12 =>0
13 =>65535
14 =>0
15 =>65472
16 =>0
17 =>0
18 =>1
19 =>0
20 =>0
21 =>128
22 =>192
23 =>94
24 =>0
25 =>0
26 =>252
27 =>0
28 =>65535
29 =>0
30 =>0
31 =>0
32 =>0
UndefinedTag:0x0093 =>
0 =>18
1 =>0
2 =>0
3 =>0
4 =>0
5 =>0
6 =>65535
7 =>65535
8 =>65535
ImageType =>CRW:EOS 10D CMOS RAW IMAGE
FirmwareVersion =>Firmware Version 2.0.0
Camera =>530200584
UndefinedTag:0x0015 =>-1879048192
ImageNumber =>1313170
OwnerName =>
UndefinedTag:0x0010 =>-2147483288
UndefinedTag:0x000E =>5918124
UndefinedTag:0x000D =>§ì)õÎhã#ýçuDHê!LMÓ[S»:áW‚·l3Ã2î²K.*B ?ñè¼¥TŽ*eÞ“$Î×þI®R™5¦Ks¥Û «_‘óc ’"$mлHk!¿/ÓC•‹s²®*øobMqj~ÉÐ4è-]
CustomFunctions =>
0 =>36
1 =>256
2 =>513
3 =>768
4 =>1024
5 =>1282
6 =>1537
7 =>1792
8 =>2048
9 =>2305
10 =>2560
11 =>2817
12 =>3072
13 =>3329
14 =>3585
15 =>3841
16 =>4097
17 =>4352
UndefinedTag:0x00C0 =>
0 =>26
1 =>331
2 =>372
3 =>371
4 =>171
5 =>262
6 =>461
7 =>460
8 =>287
9 =>191
10 =>512
11 =>512
12 =>431
UndefinedTag:0x00C1 =>
0 =>26
1 =>320
2 =>364
3 =>365
4 =>162
5 =>238
6 =>428
7 =>430
8 =>256
9 =>177
10 =>484
11 =>487
12 =>404
UndefinedTag:0x00AA =>
0 =>10
1 =>1943
2 =>1021
3 =>1027
4 =>755
UndefinedTag:0x00A8 =>
0 =>20
1 =>3156
2 =>5181
3 =>7000
4 =>5987
5 =>3230
6 =>3932
7 =>6084
8 =>5181
9 =>5190
UndefinedTag:0x00A9 =>
0 =>82
1 =>1464
2 =>960
3 =>962
4 =>1467
5 =>1709
6 =>831
7 =>832
8 =>1006
9 =>2035
10 =>831
11 =>832
12 =>863
13 =>1874
14 =>831
15 =>832
16 =>926
17 =>1294
18 =>947
19 =>949
20 =>1733
21 =>1496
22 =>831
23 =>832
24 =>1353
25 =>1903
26 =>831
27 =>832
28 =>925
29 =>1709
30 =>831
31 =>832
32 =>1006
33 =>1712
34 =>831
35 =>832
36 =>1005
37 =>130
38 =>128
39 =>130
40 =>127
UndefinedTag:0x00AE =>5200
UndefinedTag:0x00B4 =>1
UndefinedTag:0x0012 =>
0 =>7
1 =>7
2 =>3072
3 =>2048
4 =>3072
5 =>2048
6 =>151
7 =>151
8 =>1014
9 =>608
10 =>0
11 =>0
12 =>0
13 =>64928
14 =>64522
15 =>0
16 =>0
17 =>65030
18 =>0
19 =>506
20 =>0
21 =>0
22 =>8
23 =>65535
UndefinedTag:0x0013 =>
0 =>0
1 =>159
2 =>7
3 =>112
UndefinedTag:0x00B5 =>
0 =>10
1 =>2
2 =>2
3 =>1536
4 =>1024