Example of a GRGB Bayer pattern

On this page you'll find:

Background to raw format files on Casio cameras

Casio had hidden the option to create raw 1 format files for their cameras, considering it to be a test option rather than a photographic tool. The efforts to decode the format have been shared among many - in particular the format for the QV-5700 proved very tricky.

The QV-3000EX (and by default the QV-3500EX), QV-4000 and QV-2000UX formats were analysed using Irfanview's raw viewing option and converted them using a command line program called Dave Coffin's dcraw. This program proved very helpful in analysing the QV-5700 and Exilim P600 format too.

Downloading and/or compiling dcraw

Dave Coffin included the Casio formats from version 4.7 onwards, so I no longer distribute the source. As he suggests on his page "If you're familiar with the DOS command line but don't know C, you can install this free C compiler for Windows and compile dcraw.c quite easily".

I downloaded the compiler DJGPP and compiled the program dcraw.exe on a Windows 2000 SP4 PC.

Camera details

The Casio raw formats are "pure" dumps of the RGB Bayer-filtered CCD data with no attempt at compressing or encoding formats. For an explanation of Bayer patterns try How Stuff Work's "Capturing Color: Bayer Filter" page or the Color Filter Array page on DP Review.

ModelFilename & placeFile size (bytes)Pixels (w x h)BPPCCD
QV-2000UXNOCOMP.BAY 1,976,352 1632 x 121182.11M total pixels
QV-3000EXNOCOMP.BAY
saved in dir with JPG, unless first photo, then saved in root dir.
Overwrites any previously saved NOCOMP.BAY in the same dir
Must be deleted from PC (see warning below)
3,217,7602080 x 15478Sony ICX412AQ
1/1.8", 3.34M total pixels
2088x1550
QV-3500EXNOCOMP.BAY - same notes as above3,217,7602080 x 15478Same as above?
QV-4000KXnnnnnn.RAW7,684,0002260 x 170016Sony ICX406
1/1.8", 3.98M total pixels
2312x1720
QV-5700ddhhmmnn.BAY
saved in root dir
6,218,3683232 bytes x 1924 rows
2576 x 1924 pixels + 12 trailer bytes per row
10Panasonic MN39593PT
1/1.8", 5.36M total pixels
2620x1984
Exilim P600CIMGnnnn.RAW
saved in photo dir
9,313,5364288 bytes x 2172 rows
2858 x 2172 pixels + 1 byte per row
121/1.8", 6.37M total pixels
2858x2172
Exilim P700nnnnCIMG.RAW
saved in photo dir
10,979,200 4672 bytes x 2350 rows
3114 x 2172 pixels + 1 byte per row
121/1.8", 7.41M total pixels
3114 x 2350
Exilim EX-Z55nnnnCIMG.RAW
saved in photo dir
7,753,344 3904 bytes x 1986 rows
2602 x 1986 pixels + 1 byte per row.
121/2.5", 5.25M total pixels
Raw format file details by camera model.

Please contact me if you know any more details for other Casio cameras, like the QV-2900UX and similar "swivelling lens" model Casios.

Taking a photo in raw format

Warning: On this thread technicsplayer tested the QV3500-EX for Noise & Bayer Capture. He points out that trying to delete the folder containing the NOCOMP.BAY file will corrupt your memory card, requiring a re-format and loss of all the images on the card!

Beware trying to delete the folder with the BAY file on the camera, it does not like it. Delete the folder on the PC. If you try and delete on the camera it corrupts the card and the camera tells you to format the card.

So, QV-3000EX and QV-3500EX owners, make sure you backup your images and/or delete the NOCOMP.BAY file via USB connection from your PC.

For all cams except the Exilims

The procedure below is for the QV-3000EX unless otherwise stated. It is similar for the other cameras listed above, I'm told. Thomas Thissen has a page detailing how to do it for the QV-4000EX.

  1. Hold down the MENU and DISP keys (for the QV-2000UX, QV-3000EX, QV-4000, QV-5700) or the MENU and SHIFT keys (for the QV-3500EX) and turn the camera on to REC
  2. Press TIMER > TIMER > MENU to open MENU3. If they don't seem to work, then try entering the key sequences faster.
  3. To navigate - use +/– switch to move down to the bottom of MENU1/3 and the next MENU2/3 with options 11-20 will open.
  4. Move down to selection 20.BAYER CAPTURE (12.BAYER CAPTURE for the QV-2000UX) and press the shutter to start it.
    QV-3000EX Bayer Capture menu You will be in REC mode.
  5. Take the desired photo(s), making all necessary adjustments as normal. For the QV-2000UX, QV-3000EX, and QV-3500EX the raw uncompressed CCD data will be written to the NOCOMP.BAY file (overwriting any previous file of the same name - damn!). The other cameras produce the filenames in the places in the table above.
  6. Download the file by USB connection.

For the Exilim P600

  1. Power off camera
  2. While pressing MENU and DISP buttons simultaneously, turn the camera on. It should display black and white info screen.
  3. Release all buttons.
  4. Press Right (>)on the joystick TWO or more times.
  5. Press MENU button.
  6. On the menu that appears you'll see an IMAGE FLAG option - arrow down and choose that
  7. There are 2 options in the IMAGE FLAG menu:
    1. BAYER MODE (on, off) - this records raw files
    2. C. M. READ (on, off) - ??
    Choose the first

Notes:

For the Exilim P505, P700

  1. Power off camera
  2. While pressing UPPER and DISP buttons simultaneously, turn the camera on. It should display black and white info screen.
  3. Release all buttons.
  4. After the version appears, press buttons in the order of [DOWN], [DOWN], [DISP] and [MENU] in 0.5 second. The diagnostic menu of 12 options appears.
  5. On the menu that appears you'll see option 6 IMAGE FLAG - arrow down and choose that
  6. From here you can set the Bayer mode to "ON" and then use the menu button to back out of the service menu.

Notes:

No raw for the Exilim Z750?

On this thread at DPReview, Z750 owners say that following the process below brings up a menu missing option 6 for the Bayer mode/raw. No raw for Z750?.

  1. Power off camera
  2. While pressing DISP and UP buttons simultaneously, turn the camera on. It should display black and white info screen with the internal camera model number KX842, abd the software version number.
  3. Release all buttons, then press buttons in the order of [DOWN], [DOWN], [DISP] and [MENU] in 0.5 second. The diagnostic menu appears but is lacking option 6.

Converting a raw format photo into an image

So far there's two conversion methods for each of the QV2000UX, QV3000EX, QV3500EX and QV4000. As far as I know the QV-5700's raw format can only be converted with dcraw:

With dcraw

This has options that suit the 16-bit QV-4000 raw images better than Photoshop, and can also be used for the QV-2000UX/3000EX/3500EX (8 bit). It also converts the QV-5700 raw format.

  1. Download the command line raw conversion facility called dcraw (see link above). Type dcraw on the command line to get help.

    For the QV-2000UX/QV-3000EX/QV-3500EX:

    For the QV-4000:

    For the QV-5700:

    For the Exilim P600:

With the DeBayerize filter for Adobe Paintshop Pro:

  1. Download a DeBayerizing filter for Paintshop, created by Peter Cockerell. I've decided to host this as so many people asked for it, but as I'm not a Paintshop user, I can't help you with it.
    The disadvantage using this on QV-4000 raw files is that it's an 8-bit filter so you have to change the file from 12-bit to 8-bit, losing quite a bit of information in the process.
    Conversely it works fine for QV-2000UX/QV-3000EX/QV-3500EX raw files as they are already 8-bit.

    For QV-2000UX/QV-3000EX/QV-3500EX raw files:

    For QV-4000 raw files:

Top

Thanks go out to:

 

1 - "Raw format" means the raw binary data from the cameras' CCD, unprocessed by the camera. It is not capitalised in normal usage - unlike the JPEG or TIFF formats, it is not an acronym but a normal English word with a normal meaning - "unprocessed".