Slashdot Mirror


Nikon Responds to Encryption Claims

ader writes "In a rare response to public complaints, Nikon has released a statement clarifying the use of encrypted white balance information in the NEF raw data from its digital cameras. They point out that this 'proprietary' format is accessible through the use of their 'proprietary' SDK, which is freely available to 'bona fide software companies' on written application. In other words: open source coders can butt out."

12 of 635 comments (clear)

  1. huh? by Keruo · · Score: 4, Informative

    I guess adobe photoshop isn't nikon's choice for professional image processing then, or the license was too much for adobe to invest in.

    --
    There are no atheists when recovering from tape backup.
  2. Re:Other forrmats are available by Hays · · Score: 5, Informative

    TIFF isn't necessarily compressed, but it's not as good as raw. Raw is before de-mosaicing, before white balance, etc. It is the "raw" signal returned from the CCD or CMOS. (I imagine that's not entirely true, but it's close). And because Raw is only one value per pixel instead of 3, they tend to be much smaller than 16 bit tiffs.

  3. Re:Butt our or... by rpdillon · · Score: 4, Informative

    This isn't subject to DMCA. DMCA allows reverse engineering for interoperability. No developers, commercial or not, need Nikon's permission to reverse this legally in the US.

  4. not that it matters... Windows DLL? by r00t · · Score: 4, Informative
    No thanks. I'd want to copy the small scrap of code into my app. My license might be GPL, LGPL, 2-clause new BSD, 4-clause original BSD, MPL, or one of the Creative Commons licenses.

    At the very least, I'd need perpetual rights to compile and redistribute the code as a library. This would have to include the right to fix the code for security holes, to make it 64-bit clean, and to port the code to a big-endian or MMU-free CPU. Throw in any required patent rights as well of course.

  5. Re:Illegal under the DMCA by fbjon · · Score: 5, Informative
    People around here always assume the DMCA and other laws are all-encompassing. Have you all forgotten the export of PGP 5?

    Reverse engineer the software (almost) anywhere in the world except the US, and everyone's happy. Also, place some text: "US citizens may not download", which no-one will notice. Not to mention that Nikon in this case encrypts data generated by me and the subject I take a picture of, it is my data being input through the lens. I get the data back in digital form, except I cannot access it with the tool I need to access it with. Does the DMCA allow me to reverse-engineer the encryption in order achieve interoperability? I'm told it does. So tell me, where's the problem?

    FUD!

    Stop spreading the FUD!

    --
    True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
  6. Re:Other forrmats are available by eyeruh · · Score: 5, Informative

    >The number one reason for RAW formats is that
    >people feel more 'elite' when they used them, and
    >purchase the associated large storage media, etc.

    Um . . . that's bullshit. Do people who use manual exposure and manual focus do it to feel elite too? That'd make about as much sense.

    Here's two big advantages to using the RAW format:

    1) You don't have to deal with the camera's attempts to auto-adjust the picture to make it look better (auto-sharpening, auto-contrast, auto-white balance, etc). You have significantly more control over the way the finished picture turns out if you shoot in RAW.

    2) RAW gives you a lot of extra latitude in exposure, which is particularly handy since digital sensors are less forgiving of under/over-exposure than 35mm film.

    Maybe YOU should take the time to learn the benefits of RAW before throwing attitude . . .

    IRA

  7. Re:Rather have authentication in my digital camera by ajna · · Score: 4, Informative

    And it also happens in the current Canon lineup (Canon EOS-1Ds, EOS-1D MkII, EOS 20D as per this magazine). On my 20D it's under "Custom Function 18: Add original decision data." The Canon Data Verification Kit DVK-E2 (Windows only, sadly) is used to verify such images.

  8. New OpenRaw.org Website Launched by arth33 · · Score: 5, Informative

    A new website has launched to advocate for the public documentation of the manufacturer's raw format spec's. From the website "We want camera manufacturers to publicly document their RAW image formats -- past, present, and future. The goal of OpenRAW is to encourage image preservation and give creative choice of how images are processed to the creators of the images. To this end, we advocate open documentation of information about the how the raw data is stored and the camera settings selected by the photographer."

    At present, the only documented RAW format is Adobe's Digital Negative (DNG). The current problem is that I dont think it's ever actually been implemented in an actual camera. Adobe provides a free converter, which is great, but it's not the same thing.

    Personally, I'd like adobe's solution. A single format is easier for developers to work with than the ever growing list of RAW formats (even if they are open). It's this thing called standards.

  9. Re:Bona - fide by EvanED · · Score: 4, Informative

    No, it doesn't mean that, unless Nikon specifically prohibits their libraries to be used with open source programs. And even then such a clause might be unenforcable.

    The author could release the rest of the rest of the program under the BSD license. Or the Apache license. Or the LGPL. Or the GPL with an exemption that allows it to be compiled with the Nikon library. Or even the GPL without an exemption, though that would be rather bastardish of the author. These are all open source licenses that the remainder of the program could be licensed under.

  10. Re:I don't get it... by Xyrus · · Score: 5, Informative

    This whole thing, including their response, is BULLSHIT.

    The NEF format isn't proprietary. It's a TIFF file. The only thing "proprietary" about it is a handful of tags they use. Crack it open with a hex editor and see for yourself. The only trick in reading in the image data is that it is stored in a "sub-TIFF". So you read in all the regular tiff tags (width, height, color depth, etc.), read in the the sub-tiff (easy enough to find, I don't remember the exact tag number), and you can display NEFs.

    As far as white balance information goes, that is not atrade secret. It's not an algorithm, it's not code, it's not executable. It is data. More to the point, it is YOUR data.

    I could give a rat's ass about their METHOD for obtaining white balance information. But having the white balance data tells you nothing about how they obtained it. It is just data.

    Not only that, but white balance data is essential for all digital cameras for correct image reproduction. All digital cameras (including web cams), obtain white balance information either from the user or the environment via whatever algorithms the manufacturers decide on.

    There is nothing, NOTHING, special about white balance data in a raw file. There is absolutely no reason this data needs to be encrypted. There is nothing to protect. It would be like Nikon saying they encrypt the image data to prevent someone figuring out what algorithms they use to process the CCD data.

    The only fathomable reason for this nonsense is profit, plain and simple. Now that they've been called on it, they're trying the PR spin machine to make it sound like they're trying to help.

    And as far as the SDK goes, good luck getting it. They apparently don't like independant developers (such as myself) writing programs for their cameras. So unless your part of a recogonized bona-fide software developer COMPANY, you're not going to get the SDK.

    So that leaves those of us interested in such programming to reverse-engineer (which I've done so I could access the tone curves inside their curve files).

    First, I found that Nikon was misleading about the compressed NEF files (they are supposed to be lossless raw data, but they're not). Then I found that they were also misleading about how the raw files were produced (raw files are suppose to contain the straight CCD sensor data, but Nikon applies a median filter to the data before it is saved). Sort of pissed me off because I do astrophotography and the filter wipes out stars and other features. And now, they're trying to pull this vomitous crap.

    I sincerely hope nobody believes this, but sadly I think many will.

    My D70 is going on ebay. I'm buying a Canon.

    ~X~

    --
    ~X~
  11. Here's the brochure by NigelJohnstone · · Score: 4, Informative

    Here's the brochure for the D50

    http://www.europe-nikon.com/uploads/ngb/Brochure s/ GB/D50_Leaflet.pdf

    "Compressed NEF (RAW): 12-bit compression,
    JPEG: JPEG baseline-compliant
    Exif 2.21, Compliant DCF 2.0 and DPOF"

    Notice it says NEF (RAW) without stating the missing white balance information.

    Further down it talks about the camera supporting white balance.
    "Auto (TTL white balance with 420-pixels RGB sensor), six manual modes, preset white balan"

    And the only mention of software is in the "Optional Accessories".

    "Optional Accessories....Nikon Capture 4 (ver.4.3) Software"

    So, you have:

    1. A misleading statement that NEF is RAW format.
    2. A statement that the camera supports white balance.
    3. A statement that the capture software is extra.

  12. Nikon format already reverse-engineered by RedLaggedTeut · · Score: 5, Informative
    --
    I'm still trying to figure out what people mean by 'social skills' here.