Go to advanced search

by schoolpost
Thu May 28, 2020 1:53 am
Forum: Camera board
Topic: High Quality Camera RAW Examples
Replies: 18
Views: 977

Re: High Quality Camera RAW Examples

Hi, I'm experimenting with PyDNG Context: I'm looking for a better solution to scan films (my project is the development of the Gugusse Roller) Camera: the Raspberry Pi HQ camera. Samples: 20 frames (dng): www.deniscarl.com/samples/exposedok.zip 20 frames (dng, from same film but slightly overexpos...
by schoolpost
Tue May 12, 2020 6:23 pm
Forum: Camera board
Topic: High Quality Camera RAW Examples
Replies: 18
Views: 977

Re: High Quality Camera RAW Examples

As a sanity check, I'm looking for clarification on bitpacking scheme for the 12 bit RAW image data. My understanding currently puts 2 pixels of image data into 3 bytes in this order: AAAAAAAA BBBBBBBB AAAABBBB However given the nature of the least significant bits and their influence on the image I...
by schoolpost
Tue May 12, 2020 6:12 pm
Forum: Camera board
Topic: Raspberry Pi High Quality Camera
Replies: 149
Views: 9122

Re: Raspberry Pi High Quality Camera

Motivated by your example I tried my lens wide open at f/2.8, and it showed better sharpness, although a lot more purple flaring also. Your lens is just amazing. I originally did my test at f/8, based on a review of this lens that claimed it had best sharpness at that aperture. My testing today at ...
by schoolpost
Mon May 11, 2020 3:58 am
Forum: Camera board
Topic: PyDNG - RPI Camera RAW to DNG
Replies: 6
Views: 3066

Re: PyDNG - RPI Camera RAW to DNG

New version is now available! With support for the new Raspberry Pi High Quality Camera ( IMX477 ) https://github.com/schoolpost/PyDNG Lots of fixes and refactoring has been done. Among other things we have: support for automatic bayer format order detection for flipped images attached exif data ( e...
by schoolpost
Sun May 10, 2020 10:23 pm
Forum: Camera board
Topic: High Quality Camera RAW Examples
Replies: 18
Views: 977

Re: High Quality Camera RAW Examples

Libcamera does provide some of calibration data as apart of the library, including CCM's under various illuminants. So maybe those can be used here? I've actually already tried that with the IMX219 and using those CCM values into the ColorMatrix1 and ColorMatrix2 tags used by the DNG format, but no...
by schoolpost
Sun May 10, 2020 12:21 am
Forum: Camera board
Topic: High Quality Camera RAW Examples
Replies: 18
Views: 977

Re: High Quality Camera RAW Examples

Little bit of trial and error but eventually we get the final result. Reading the 12bit raw bayer, packing it into DNG format with most of the necessary tags and metadata using a python script, here is what we get! :) Now colors need work, for my script PyDNG ( https://github.com/schoolpost/PyDNG ) ...
by schoolpost
Sat May 09, 2020 10:54 am
Forum: Camera board
Topic: High Quality Camera RAW Examples
Replies: 18
Views: 977

Re: High Quality Camera RAW Examples

I'll try to dig out my updated version of dcraw which handles 12bit Bayer :-) That would be awesome! :D Working on updating my python utility to be able to work with the new camera module. Any idea as for the specific offsets or header lengths to be aware of? I'm working in reverse from the code ex...
by schoolpost
Fri May 08, 2020 9:17 pm
Forum: Camera board
Topic: STICKY: libcamera - open source camera stack
Replies: 73
Views: 3502

Re: STICKY: libcamera - open source camera stack

There was a mention of python bindings? When would these be available or are they already?

I'm slowly working myself into the world of C/C++ programming, but in the mean time would love to see a way to use this with python in some way! :)
by schoolpost
Fri May 08, 2020 9:11 pm
Forum: Camera board
Topic: High Quality Camera RAW Examples
Replies: 18
Views: 977

High Quality Camera RAW Examples

Hello

As I await the arrival of my module to arrive, does anybody have any test images with RAW they've shot ( or are willing to shoot ) with the bayer image attached? Using the new High Quality Camera Module

Using raspistill command:

Code: Select all

raspistill --raw -o image.jpg
by schoolpost
Sun May 03, 2020 7:47 am
Forum: Camera board
Topic: Raspberry Pi High Quality Camera
Replies: 149
Views: 9122

Re: Raspberry Pi High Quality Camera

Any example files available for download/viewing from this new camera yet?

Specifically any that are the JPEG+RAW type? working on updating my python tool to support the new cam's bayer output. thought I'd get a head start as my module arrives later this upcoming week! :)
by schoolpost
Wed Apr 24, 2019 3:37 am
Forum: Camera board
Topic: raspistill uneven illumination
Replies: 1
Views: 369

Re: raspistill uneven illumination

This an a product of lens shading, not white balance. Most lenses don't evenly illuminate the sensor, there's a gradual falloff. To counter it, the image processing brightens up these parts of the image, but these corrections are specific to the built in lens, vs what you are using with the microsco...
by schoolpost
Tue Apr 09, 2019 2:52 am
Forum: Camera board
Topic: PyDNG - RPI Camera RAW to DNG
Replies: 6
Views: 3066

Re: PyDNG - RPI Camera RAW to DNG

Wanted to share my latest update to this project. Version 2.0! https://github.com/schoolpost/pydng Store 10-bit bayer data from the PiCamera V2 in the most widely used RAW image format available. This version improves on all aspects of the original, with improved pre-processing, file encoding and ne...
by schoolpost
Fri Apr 14, 2017 9:07 pm
Forum: Camera board
Topic: Extracting RAW image from JPG
Replies: 10
Views: 4418

Re: Extracting RAW image from JPG

Me too, from the IMX219 image sensor. Bryan double posting, wont answer your question any quicker. The confusion in this situation is really starting to propagate onto me. RAW = unprocessed 10-bit bayer pixel data ( in a BGGR arrangement ) BG GR You want RAW from your IMX219 camera? Here: raspistil...
by schoolpost
Fri Apr 14, 2017 7:52 am
Forum: Camera board
Topic: Pi Camera V2 raw bayer data
Replies: 56
Views: 29980

Re: Pi Camera V2 raw bayer data

Hi schoolpost: Do you know how long does it take to your code to process an image? Thanks for sharing Marcelo If you want to do a straight 16-bit DNG output it will take a 3-5 seconds. ( there's some processing going on with lens shading, hot pixel mapping. ) Its certainly not C level of speed / ef...
by schoolpost
Fri Apr 14, 2017 6:06 am
Forum: Camera board
Topic: Pi Camera V2 raw bayer data
Replies: 56
Views: 29980

Re: Pi Camera V2 raw bayer data

Bryan I'm a little lost as to what you are aiming for. You want to use the RAW information. You've mentioned DNG aswell. ( what camera version do you have? ) I very recently created a pretty simple to use python script to do this: https://github.com/schoolpost/pydng I believe it creates a pretty dec...
by schoolpost
Thu Apr 13, 2017 8:28 pm
Forum: Camera board
Topic: Pi Camera V2 raw bayer data
Replies: 56
Views: 29980

Re: Pi Camera V2 raw bayer data

Update. Guess the RAW? ;) http://i.imgur.com/sKOO0Kp.png Ooooh! that's very good, I got part way there myself a few months ago, but couldn't even begin to calculate the correction needed to the raw RGB data that came out. Can you share your incantation? I was using the route of raw data extracted f...
by schoolpost
Tue Apr 11, 2017 5:52 am
Forum: Camera board
Topic: PyDNG - RPI Camera RAW to DNG
Replies: 6
Views: 3066

PyDNG - RPI Camera RAW to DNG

Hello Everyone! Excited to share this small project I've been working on: https://github.com/schoolpost/pydng (raw left, jpeg right ) http://i.imgur.com/sKOO0Kp.png Requires: Python 2.7 & Numpy PyDNG lets you convert your picamera RAW containing .jpgs into Adobe DNG RAW files for use in a wide varie...
by schoolpost
Sun Apr 09, 2017 8:55 am
Forum: Camera board
Topic: Capturing HDR? ( Burst )
Replies: 0
Views: 327

Capturing HDR? ( Burst )

Hello, Looking for any suggestions on how to rapidly capture full res frames ( JPEG + RAW ) as fast as possible for HDR imaging. With that I'm also looking to be able to adjust the shutter speed in between exposures. With raspistill or picamera, preferred. I don't require continuous capture of cours...
by schoolpost
Sun Apr 09, 2017 4:35 am
Forum: Camera board
Topic: Pi Camera V2 raw bayer data
Replies: 56
Views: 29980

Re: Pi Camera V2 raw bayer data

Update.
Guess the RAW? ;)
Image
by schoolpost
Sat Apr 08, 2017 7:38 am
Forum: Camera board
Topic: Pi Camera V2 raw bayer data
Replies: 56
Views: 29980

Re: Pi Camera V2 raw bayer data

This thread has been rather quiet from some time, thought I’d share some experiments I’ve been working on. I’d like to preface this by stating, I really like the JPEG coming out of the camera. My biggest gripe with it however is the less than amazing way it handles highlights and the non-friendly ed...
by schoolpost
Tue Mar 28, 2017 8:01 pm
Forum: Camera board
Topic: ISP Processing/Debayering After Capture?
Replies: 1
Views: 471

ISP Processing/Debayering After Capture?

Hello, Was wondering if there is any way to run the RAW images through the ISP block after the images have been captured? The image processing pipeline doesn't strike me as a being capable of bi-directional operation like that, but then again I'm not as familiar with the low level operation of the c...
by schoolpost
Tue Feb 28, 2017 7:35 am
Forum: Other projects
Topic: Skycam - RPI Timelapse Project
Replies: 0
Views: 382

Skycam - RPI Timelapse Project

Hello, Just thought I'd share a project I'm working on and get some advice/feedback on some of my future plans with it. I realize this isn't the first attempt at something like this, just thought I'd share my spin on it. "Skycam" as I call it, is a timelapse camera system using the Raspberry Pi 3 an...
by schoolpost
Thu Feb 23, 2017 7:30 pm
Forum: Camera board
Topic: Uncompressed Output?
Replies: 4
Views: 1112

Re: Uncompressed Output?

Thanks for the responses. I've been trying to use raspistillyuv for the longest time, only to finally have it pointed out that you invoke it with "raspiyuv" no "raspistillyuv" :lol: oh no, silly me. Doing a quick test, my standpoint on the JPEG compression thing is much altered. In terms of any visu...
by schoolpost
Thu Feb 23, 2017 6:20 pm
Forum: Camera board
Topic: Uncompressed Output?
Replies: 4
Views: 1112

Uncompressed Output?

Hello, I've been experimenting over the past few months with the Bayer output of the V2 camera. Highlight reconstruction is great from the raw data, however the Lens shading and overall image correction done by the ISP outweighs the usefulness of the bayer data. I'm trying to get an uncompressed 8-b...
by schoolpost
Wed Feb 22, 2017 8:03 pm
Forum: Camera board
Topic: Camera Bricked After Firmware Update
Replies: 26
Views: 5704

Re: Camera Bricked After Firmware Update

So I fixed the problem by doing a clean install of the latest version of Raspian/Pixel to replace my older Raspian Lite version.( Lite was a build from around December if I remember correctly. ) I'm using a Pi3 with camera v2. I'm not sure why that fixed the issue, pixel wasn't necessary or ideal fo...

Go to advanced search