<< return to Pixycam.com

Raw Image Data

Hey Guys,

I’m working on a project for school where I need to characterize the color and noise parameters for a camera of my choice, and I want to try this for the Pixycam.
In order to do so, I think I need to dig into the code to grab the images with (hopefully) raw and/or SRGB values.

Can any advise me where I should start looking in the code to get this kind of information?

Thank you!
ngohara

Hi Neal,

If you look in “pixyvals.h”:https://github.com/charmedlabs/pixy/blob/master/src/device/libpixy/pixyvals.h you’ll see the locations of the different RAM memory banks. This is where all of the LUT and image data is stored. You can use the different RAM ID’s (SRAM0_LOC, SRAM1_LOC, etc) to search the repo and see what is stored in each.

Hope this helps.

Scott

Thank you very much for the help!
I’ll take a look at pixyvals.h.

Hopefully I can figure out how to pull out and save the RAW data without too much modification.

If that became a feature I was implement into Pixymon, would CMU want that feature to pull into the repo?

Neal

Hi Neal,

We love to see people contribute to the Pixy project! I should warn you that the pull request may get rejected (even if its bug-free), but it could still be used as an initial reference for implementing the same feature later on. So even if we don’t accept the pull, it may still do some good. Glad to hear you want to contribute!

If you have any other questions please let me know.

Scott