Leica User Forum


Go Back   Leica User Forum > International User Forum > Leica Products > Leica M (Type 240)

Leica M (Type 240) The Leica M240 Forum is dedicated to everything around the new Leica M (Type 240).

Reply « Previous Thread | Next Thread »
 
LinkBack Thread Tools Display Modes
Old 08/03/13, 15:56   #1 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Leica M (240) Image Unique ID

Ad
Hello everybody!

Apparently Leica in the M has changed the way of numbering shots in the "Image Unique ID" field of the exif data, the M8/M9 Hexadecimal numbering is no longer being used. Now we have there what appears to be a random decimal number, not correlated with the number of shots taken by that camera.

Does anyone know whether that number is really random (not completely because it should anyway remain unique, I surmise), or a hidden code exists allowing to tell how many shots the camera has taken?

Thank you and all the best.

Last edited by biogon; 08/03/13 at 16:26.
biogon is offline   Reply With Quote
Old 09/03/13, 22:47   #2 (permalink)
Erfahrener Benutzer
 
Join Date: 07/11/06
Posts: 1,036
Default Re: Leica M (240) Image Unique ID

I don't really know the answer to your question as far as shutter actuations, but you could actually do the same thing with the M9 with a little workaround: you just had to renumber a picture on the SD card in your computer, then continue shooting with the M9 and it would follow in consecutive numbers for file naming after this last renumbered picture.
BerndReini is offline   Reply With Quote
Old 10/03/13, 17:13   #3 (permalink)
Erfahrener Benutzer
 
thighslapper's Avatar
 
Join Date: 22/08/10
Location: shakespeares territory
Posts: 2,874
Default Re: Leica M (240) Image Unique ID

Biogon......

You are quite correct ..... and the behaviour is not quite random.....

I seems to reset every time the camera is switched off (or possibly in standby too)..... and then produces unique id's with rising numbers but not in any sensible sequence starting at some random point ranging from the low thousands to several millions......

eg... (pic then unique id)

170 2274331
171 2314332
172 2388281
173 2435851
174 2537540
175 2601900 etc

next day:

207 95847
208 219539
209 404396
210 564961 etc

today:

233 6280
234 119385

camera off

235 37013
236 67552
237 143641
238 226094 etc.....

there is another number in the exif - unique raw id ......

but that has a basic form of 30303030303030x3x3x3x3x3x.....

where the x bits are in fact the image unique id (ie all the alternate 3's stripped out)

...... so you are correct .... without a degree in cryptography it looks impossible to tell how many actuations a camera has had........

.... and there is some sense in that ...... I returned my 'as new' ex demo M9 when I discovered it had in fact over 5000 actuations recorded .... which I argued made it 'second hand' ....... and got a new M9 for my trouble......

very interesting......
thighslapper is offline   Reply With Quote
Old 10/03/13, 17:31   #4 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by thighslapper View Post
very interesting......
Yes, indeed...

Thank you so much thighslapper! Your message is a very good starting point toward understanding.
biogon is offline   Reply With Quote
Old 10/03/13, 18:03   #5 (permalink)
Sponsoring Member
 
pico's Avatar
 
Join Date: 16/10/06
Location: Driftless Zone Minnesota USA
Posts: 8,568
Default Re: Leica M (240) Image Unique ID

Oh, thighslapper, now you have done it - teased a decoder.

The numbers past the sequence # cannot be pseudo-random for a number of reasons besides the fact that they are tied to the system hardware. For one, they increase with each new sequence # from power-on. Someone with more time and brains that I have will figure it out.

Last edited by pico; 10/03/13 at 18:06.
pico is offline   Reply With Quote
Old 10/03/13, 22:44   #6 (permalink)
Erfahrener Benutzer
 
thighslapper's Avatar
 
Join Date: 22/08/10
Location: shakespeares territory
Posts: 2,874
Default Re: Leica M (240) Image Unique ID

A BIG clue........

I fiddled about with this camera when I got it and reset the numbering to be 400Leica as the start folder and numbering to start from 4000001.... (so the numbers are unique and don't double up on previous M's)

This file has NO EXIF unique RAW id

The unique file id however is 00000000000000000000000000002cd1

no other alphanumeric coding features in any subsequent exif file id info.....

this one presumably seeds the whole of the subsequent numbering process....
thighslapper is offline   Reply With Quote
Thank You say...
biogon (11/03/13), mabbo (16/07/13), pico (10/03/13)
Old 11/03/13, 08:53   #7 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Re: Leica M (240) Image Unique ID

2cd1 hexadecimal in a M8/M9 body would correspond to 11473 shots. Is that number a reasonable estimate of the pictures you have already taken with your M 240 thighslapper?

What happens if you restore the default folder/numbering? The camera would resume generating semi-random decimal IDs, or will retain the hexadecimal numbering system?
biogon is offline   Reply With Quote
Old 11/03/13, 09:41   #8 (permalink)
Erfahrener Benutzer
 
wlaidlaw's Avatar
 
Join Date: 19/12/04
Location: Tourtour, France and Sussex UK
Posts: 8,815
Default Re: Leica M (240) Image Unique ID

Could a date be being incorporated into the unique ID or alternatively, could this be linked to the GPS function, which will become available when the multifunction grips start to arrive? I was thinking that the unique ID = shutter actuation number + hexadecimal date (with start point ???)

Wilson
wlaidlaw is offline   Reply With Quote
Old 11/03/13, 10:22   #9 (permalink)
Erfahrener Benutzer
 
thighslapper's Avatar
 
Join Date: 22/08/10
Location: shakespeares territory
Posts: 2,874
Default Re: Leica M (240) Image Unique ID

apologies folks ....... 2cd1 is picture no. 1 when I reset everything and set up my own folder with my own numbering. It was an M9 image I copied to the card and renumbered to seed the numbering sequence ......... and in fact it did this as per the behaviour of the M9

The original date on the first few pictures was 2008 (I forgot to set it) .... and I again I reset the time a day later (I was 12hrs adrift as I hadn't set it to 24hr clock) and it seems to make no difference to the pattern of numbering.....

I am not going to restore the default numbering to investigate further ........ there are a number of glitches in the way the system works ..... the main one being it works independently for each camera profile .... and when I did this before it resulted in me having to re-enter everything for each profile and then take a load of blank pictures to bring me up to my original numbering ..... you would have to fiddle with this camera to understand how this works .... but basically the file folder and file numbering is not a global setting....

We need someone who is a mathematician to explain how you can set up an apparently random numbering system that will always produce unique numbers ....... date and time seems a bit flaky as you could reset the cameras time/date ..... unless it registers elapsed time since 'birth'.
Presumably there is some loook up table that provides a multplier or offset that generates the final number........

Although the numbers seem to rise when in continuous use the jumps are pretty random .......

I will post some screenshots of the full exif data later and see if someone spots something.....

Last edited by thighslapper; 11/03/13 at 10:53.
thighslapper is offline   Reply With Quote
Thank You say...
biogon (11/03/13), wlaidlaw (11/03/13)
Old 11/03/13, 15:07   #10 (permalink)
Erfahrener Benutzer
 
thighslapper's Avatar
 
Join Date: 22/08/10
Location: shakespeares territory
Posts: 2,874
Default Re: Leica M (240) Image Unique ID

exif data :
Attached Images
File Type: png Screen Shot 2013-03-11 at 14.02.10.png (189.7 KB, 418 views)
File Type: png Screen Shot 2013-03-11 at 14.02.36.png (194.9 KB, 417 views)
File Type: png Screen Shot 2013-03-11 at 14.06.44.png (192.8 KB, 417 views)
thighslapper is offline   Reply With Quote
Old 11/03/13, 17:44   #11 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Re: Leica M (240) Image Unique ID

Ad
My question arose from looking at the exif data of some of the dng pictures posted by Ming Thein (Flickr: mingthein's Photostream), I do not own a M 240 (yet! ). In case they would help, I am listing their image numbers and corresponding Image Unique IDs below:

10 79393
22 754035
26 270199
27 344698
37 106609
41 123032
58 1014633
79 298026
85 313374
88 4718
95 517834
108 617410
111 194886
217 488822
249 424922
253 94525
278 523946
280 108239
282 45770
295 428897
305 276703
325 245075
334 179411
346 185423
362 421215
364 543819
373 260589
422 335311
429 316729
437 423110
438 491976
444 879230
457 531080
498 1845810
548 318712
563 319833
584 76126
733 117764
1273 114473
1336 506172
1348 761738
1362 869199
1364 90199
2115 78763
2230 164980
2250 154542
2423 458802
2505 455409
2532 74702
2887 926509
3101 259258
3108 218801
3143 2154800
3155 59695
3458 2564511
3492 4822417
3517 6475792
3532 90915
3539 559744
3641 2029507
3792 396759
3828 811918
4436 182029
4443 643539
4497 638831
4609 69941
4662 343922
4666 128843
4678 858528
biogon is offline   Reply With Quote
Old 11/03/13, 17:58   #12 (permalink)
Erfahrener Benutzer
 
wlaidlaw's Avatar
 
Join Date: 19/12/04
Location: Tourtour, France and Sussex UK
Posts: 8,815
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by biogon View Post
My question arose from looking at the exif data of some of the dng pictures posted by Ming Thein (Flickr: mingthein's Photostream), I do not own a M 240 (yet! ). In case they would help, I am listing their image numbers and corresponding Image Unique IDs below:

10 79393
22 754035
26 270199
27 344698
37 106609
41 123032
58 1014633
79 298026
85 313374
88 4718
95 517834
108 617410
111 194886
217 488822
249 424922
253 94525
278 523946
280 108239
282 45770
295 428897
305 276703
325 245075
334 179411
346 185423
362 421215
364 543819
373 260589
422 335311
429 316729
437 423110
438 491976
444 879230
457 531080
498 1845810
548 318712
563 319833
584 76126
733 117764
1273 114473
1336 506172
1348 761738
1362 869199
1364 90199
2115 78763
2230 164980
2250 154542
2423 458802
2505 455409
2532 74702
2887 926509
3101 259258
3108 218801
3143 2154800
3155 59695
3458 2564511
3492 4822417
3517 6475792
3532 90915
3539 559744
3641 2029507
3792 396759
3828 811918
4436 182029
4443 643539
4497 638831
4609 69941
4662 343922
4666 128843
4678 858528
Where is Alan Turing when you need him?

Wilson
wlaidlaw is offline   Reply With Quote
Thank You say...
Fgcm (11/03/13), Sergius (14/03/13)
Old 11/03/13, 18:12   #13 (permalink)
Sponsoring Member
 
pico's Avatar
 
Join Date: 16/10/06
Location: Driftless Zone Minnesota USA
Posts: 8,568
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by wlaidlaw View Post
Could a date be being incorporated into the unique ID or alternatively, could this be linked to the GPS function, which will become available when the multifunction grips start to arrive? I was thinking that the unique ID = shutter actuation number + hexadecimal date (with start point ???)

Wilson
It seems unlikely that there's a date in there. I'm quite familiar with a few date coding methods, for example those that store a date as seconds since Jan 1, (whatever year). It is not HEX, either.

Quote:
thighslapper: We need someone who is a mathematician to explain how you can set up an apparently random numbering system that will always produce unique numbers
That's 'random without replacement' and it can be done, and part of the sequence will reveal the technique.

Quote:
....... date and time seems a bit flaky as you could reset the cameras time/date ..... unless it registers elapsed time since 'birth'.
hundredths of a second (or clock ticks) since manufacture is a cool idea, however some of the numbers are too small to be date/time.

Biogon - thanks for going through the trouble of gathering the new numbers, but it would help a great deal if they were perfectly sequential.

Last edited by pico; 11/03/13 at 18:18.
pico is offline   Reply With Quote
Old 11/03/13, 18:48   #14 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by pico View Post
Biogon - thanks for going through the trouble of gathering the new numbers, but it would help a great deal if they were perfectly sequential.
I agree. But as I said I do not own a M 240, and those numbers are all I could get a few days ago from the Ming Thein's site.

Any other M 240 owner willing to contribute to the M240 cryptanalysis?
biogon is offline   Reply With Quote
Thank You says
pico (11/03/13)
Old 11/03/13, 19:30   #15 (permalink)
Erfahrener Benutzer
 
wlaidlaw's Avatar
 
Join Date: 19/12/04
Location: Tourtour, France and Sussex UK
Posts: 8,815
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by biogon View Post
I agree. But as I said I do not own a M 240, and those numbers are all I could get a few days ago from the Ming Thein's site.

Any other M 240 owner willing to contribute to the M240 cryptanalysis?
What do you want?

Wilson
wlaidlaw is offline   Reply With Quote
Old 11/03/13, 20:03   #16 (permalink)
Erfahrener Benutzer
 
thighslapper's Avatar
 
Join Date: 22/08/10
Location: shakespeares territory
Posts: 2,874
Default Re: Leica M (240) Image Unique ID

Perhaps someone could ask the nice Leica people in Solms .........

There seems to be a determined effort at obscurity here ..... so I doubt they will reveal all.... but they might divulge the rationale behind why they have done this.....
thighslapper is offline   Reply With Quote
Old 11/03/13, 20:18   #17 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by wlaidlaw View Post
What do you want?
What Pico is saying he needs: a pretty long list of perfectly sequential image numbers from M 240 with corresponding Image Unique IDs...
biogon is offline   Reply With Quote
Old 16/07/13, 07:22   #18 (permalink)
Neuer Benutzer
 
Join Date: 30/01/11
Posts: 7
Default Re: Leica M (240) Image Unique ID

Quote:
Originally Posted by pico View Post
Biogon - thanks for going through the trouble of gathering the new numbers, but it would help a great deal if they were perfectly sequential.
Hello, I resurrect this thread because I finally found a list of sequential Image Unique ID from M Typ 240 pictures (only No. 5 is missing because it corresponds to a video file).

https://dl.dropboxusercontent.com/u/...M240_IUIDs.txt

I look forward that they may help in deciphering the mystery...
biogon is offline   Reply With Quote
Thank You say...
dwbell (22/08/13), pico (16/07/13)
Reply



Current eBay Ads
Current bid:
2252.5 USD
(0 bids)

Thread Tools
Display Modes



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +2. The time now is 15:23.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
© juergensen.net - Andreas Jürgensen