For the last few weeks I have been working on a private project: a Pixel Shift mode for the Ricoh GR IV and GR IV Monochrome. It is built on top of GR Mod and uses the camera's shake-reduction unit to move the sensor by exact pixel and half-pixel steps between shots. The series is then merged on the PC into one image with more detail.
Everything is here (Windows programs, short manual):
https://drive.google.com/drive/folders/13fLuIywpFHjVrL4Y4tXXCoXXl2cdzyCT?usp=sharing
â ď¸ Please read first
This is a private hobby project that I made using Claude. I know shit about coding and you can call yourself daring if you decide to trust some random guy on the internet and blindly run programs that he provides. This software is not made, approved or supported by Ricoh or by the developer of GR Mod. Quite frankly, you shouldn't download this or even execute it on your PC. You have been warned.
With that out of the way : I tested it very, very carefully on my own GR IV and GR IV Monochrome (currently with GR Mod 0.9.8), and the tool checks every file thoroughly before it writes anything. But flashing unofficial firmware always carries a risk: you can damage your camera beyond repair, and it will void your warranty. If you are not comfortable with that, please don't flash it. I cannot take responsibility for your camera.
What you get
- Pixel Shift for GR Mod (adds Pixel Shift to your own GR Mod firmware file)
- You make your firmware in the GR Mod app as usual, with any functions you like. The tool then adds Pixel Shift to that file.
- Works with GR Mod 0.9.5 to 0.9.8, GR IV (firmware 1.21) and GR IV Monochrome (firmware 1.11).
- In the camera: Drive Mode â Pixel Shift â 4, 8 or 16 pictures:
- 4 pictures: full colour at every pixel; no demosaicing, no colour moirĂŠ, less noise.
- 8 / 16 pictures: half-pixel steps, double resolution (12384 Ă 8256 from the GR IV).
- On the Monochrome, all variants give double resolution.
- Optional automatic settings: choosing Pixel Shift sets a 2 s self-timer and switches SR and horizon correction off. It can also focus only for the first picture. Leaving Pixel Shift restores everything.
- Before anything is written, the tool checks your file: the Ricoh code it relies on (by checksums, no Ricoh code is included), every hook site, free menu texts and icons, and more. Then it runs the result in an emulator (over 40 checks). If anything looks wrong, it refuses and writes nothing.
- Your GR Mod file is never changed. To go back, flash your normal GR Mod file (or Ricoh's firmware) again.
2. Pixel Shift Merge (PC, works with other cameras too)
- Merges each series into one linear DNG (develop it like a raw file in darktable or Lightroom). JPG series give a 16-bit TIFF.
- Multi-frame super-resolution with measured image positions, plus ghost suppression: moving people, leaves or water are taken from one reference frame instead of leaving ghosts.
- Also finds and merges series from other cameras (Sony, Nikon, Fujifilm incl. X-Trans, Canon, Panasonic, OM, Pentax âŚ) shot as 4/8/16/32 single frames.
- 16 GR IV pictures take about 70 s and 4â5 GB of RAM on my PC.
Both programs are portable Windows programs: unzip and start, no installation. Interface in English, German, French, Italian, Spanish, Russian, Chinese and Japanese.
The Drive folder also contains firmware_side: the complete source of the camera-side module and of the tools that build and check it. It contains no Ricoh code or data, only our own code, addresses and checksums. It is there for three reasons:
- Licence: the project is GPL-2.0-only, like GR Mod. Anyone who passes on the programs must also offer the source.
- Transparency: firmware is not something you should flash blindly. You (or someone you trust) can read exactly what is added to the camera and which checks run before a file is written.
- Reuse: GR Mod's developer, or anyone else, can build on it, for example to make Pixel Shift part of GR Mod itself or to port it to other cameras.
What has been tested on real cameras
- Current state: tested with GR Mod 0.9.8 on both my GR IV (1.21) and my GR IV Monochrome (1.11), including the automatic settings.
- During development every GR Mod version from 0.9.0 on was tested as well. In the measurement runs every sensor step arrived (108 of 108), and the median position error was 0.16 px.
- The tool also accepts GR Mod 0.9.5 and 0.9.7 files. They pass all of its checks and emulator tests.
How to shoot
Tripod, a static subject and constant light, exposure 1/4 s or shorter, AA filter simulator off. Each series lands in its own folder on the card. Point the merge tool at your DCIM folder.
Credits
Huge thanks to the developer of GR Mod. Pixel Shift builds on GR Mod's firmware files, and the way it holds the sensor in position comes from GR Mod's own Sensor Shift function. This project is licensed GPL-2.0-only, like GR Mod.
Questions, results and bug reports are welcome, but truth be told : I will likely not be able to provide product support to a meaningful degree, as this is purely a fun project for me. If you send me a message, please include your camera, firmware, GR Mod version and the report file the tool writes (pixelshift_report.json).
And most importantly : Have fun!