Comments (4)
Programmatically, the camera supports the following formats:
- RAW_SENSOR (32)
- JPEG (256)
- PRIVATE (34)
- YUV_420_888 (35)
- RAW_PRIVATE (36)
- RAW10 (37)
More information on formats can be found here
The only size supported by RAW10 is the full size images.
from isaac.
Further Trey thoughts:
My initial thought is it would be good to:
- Set the image format to be a run-time configuration option between JPEG and RAW10, defaulting to RAW10. I don’t fully understand how DNG wrapper files work, but that seems to be the way to go for Android RAW image data.
- Output the part of the Android CameraDevice information relevant for RAW10 data interpretation in some way (like console output). Otherwise the Bayer pattern is annoying to figure out.
- Verify we can decode the RAW images on the ground before merging the change. (I have no doubt we can eventually figure out decoding as long as the saved images aren’t garbage. Unfortunately, I don’t trust the saved images to not be garbage, between questionable quality of the camera driver and lack of clarity on how to use the API.)
Here’s some context logic:
- I think support for RAW10 probably implies > 8 bit depth per color channel, as we suspected, so immediately that suggests a benefit to working with RAW images in low light, if nothing else.
- On RAW10 vs. RAW_SENSOR or RAW_PRIVATE: I assume these would all contain identical data, just possibly with different byte-order/padding. Among them, RAW10 is densely packed, which should equate to marginally smaller files.
- On default format: Default to RAW to minimize the chance of accidentally degrading image data due to a legacy config file that doesn’t specify.
from isaac.
I decide to try RAW10 since it seemed like an easy change. However, when I ran it, an exception occurred when creating the capture builder. I didn't look into the error but my theory is Android needs a surface to display the image on and it is probably unable to display the raw image.
from isaac.
seems like this is not an easy change. closing this issue for now and possibly re-opening this later in the future
from isaac.
Related Issues (20)
- Fixes to gmm detection
- Revert isort call in pre-commit to ensure consistent errors with CI linter HOT 2
- Address issues in https://github.com/nasa/isaac/pull/103
- Make survey_planner.py aware of completed actions HOT 1
- Make survey_planner.py plan to proactively get out of the way HOT 1
- Fix version conflict in Python dependencies of analyst image HOT 1
- Temp disable analyst build in ci_push.yml HOT 1
- Optimize JEM bay motions for robustness and speed HOT 3
- Improve action monitoring HOT 1
- Survey manager multi-robot sim instructions
- Survey manager faster sim testing
- survey executor not accepting plan when one robot docked HOT 1
- Cargo Nodelet Failed to Load HOT 1
- Bags with malformed rosjava message definitions break some rosbag operations HOT 1
- Minimize rotation in panorama taking
- Check camera_projection logic and reuse astrobee_fsw code when possible HOT 2
- Convert TestCase class to structure
- sci_cam_image timestamp updates HOT 1
- Bringing some dependencies in house HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isaac.