Jump to content

The reality of the 8-bit Leica


Recommended Posts

Advertisement (gone after registration)

Hans,

 

Sorry, but there's only one table; the DNG format has no provision for anything more than a single table. Suggest you look to whatever code you're using to read the table for the problem.

 

Sandy

Sandy,

 

I put my hand in the fire that I have read the table correctly, figure for figure and by hand.

If this table is not corrected by any later mechanism, it would imply that the table is incorrect, which is not the first thing that would come to my mind.

 

Here are the last 8 figures from the Leica table, just as an example.

 

3B 10 - 3C 8C - 3C 09 - 3D 86 - 3D 04 - 3E 82 - 3E 01 - 3F 80

 

The values should go up in value all the time , but 3C 09 is smaller as 3C 8C. It should be in fact 3D 09.

3D 04 is smaller as 3D 86, should be 3E 04 instead.

3E 01 is smaller as 3E 82, should be 3F 01 instead.

 

I could easily switch the table for another table without these curious offsets and see what the RAW converter does.

 

Hans

Link to post
Share on other sites

  • Replies 103
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Well, here's a thought for you - are you sure you're not reading the high byte from the subsequent word - aka do you have your offset and high-endian/low-endian read order right.........because if you had that wrong, the results you're getting are what I'd expect.......

 

Sandy

Link to post
Share on other sites

Well, here's a thought for you - are you sure you're not reading the high byte from the subsequent word - aka do you have your offset and high-endian/low-endian read order right.........because if you had that wrong, the results you're getting are what I'd expect.......

 

Sandy

Hi Sandy,

 

You came with a very good suggestion. Look at the the last 8 words.

 

3B 10 - 3C 8C - 3C 09 - 3D 86 - 3D 04 - 3E 82 - 3E 01 - 3F 80 - 3F

 

In fact you have to move half the table ( the MSB part) 2 Bytes to the left to get:

 

3C 10 - 3C 8C - 3D 09 - 3D 86 - 3E 04 - 3E 82 - 3F 01 - 3F 80

 

Although this is very unusual, now all at the sudden, everything seems O.K.

I will do this with the complete table and see what happens.

 

Hans

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...