Comments (2)
Hi,
-
Yes, there was the dimension mismatch issue with some images. Here is a script for converting RAW images to RGB: https://github.com/swz30/CycleISP/blob/master/datasets/convert_fivek_raw2rgb.py
-
Next, you can convert both RAW and JPGs into npys (with values in range 0-1) using the following script: https://github.com/swz30/CycleISP/blob/master/datasets/image2npy.py
-
yes, we performed online cropping. The images are huge which may make the dataloader slow. Here is a relatively faster dataloader script (Load image, crop, perform bayer unification and augmentation, again crop, and so on.): https://github.com/swz30/CycleISP/blob/master/dataloaders/dataset_rgb2raw.py
from cycleisp.
I did some research and write piece of code based on rawpy to create RAW-RGB pair: code
There are still some files can not be handled such as mismatched aspect ratio of RAW and processed RGB for some camera type and some flip code are not documented in rawpy. So this code can produce 4952 out of 5000 files.
from cycleisp.
Related Issues (20)
- the raw2rgb results have artifacts HOT 2
- Raw2Rgb network doesnt match the one in paper
- SIDD validation's bayer pattern is unknown, how to stack per bayer's data as R-G-G-B sequence.
- Training code HOT 3
- training code
- training code and dataset
- About 'lycon' module HOT 1
- unpadding
- Training Code HOT 2
- Question about the SIDD raw results.
- How to test raw images without gt?
- Installation with lycon
- Version update for skimage.measure compare_psnr and compare_ssim
- Log Files from Training
- Training code
- Training code
- About the training code
- rgb2raw branch mosaic problem
- License information HOT 2
- Some questions about GPU settings HOT 1
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 cycleisp.