Comments (15)
Thanks! I will look into this!
from hdr-plus.
Actually, if input file has DNG format, then the following should be enough:
- Obtain libexiv2:
apt install libexiv2-dev
- Somewhere in CMakeLists.txt add:
find_package(Exiv2 REQUIRED)
- Then read image dimensions as follows:
const Exiv2::Image exiv_image = Exiv2::ImageFactory::open(path);
exiv_image->readMetadata();
const Exiv2::ExifData exiv_data = image->exifData();
// Now read dimensions of Exif.Image
// Also there are chance that you have to choose another IFD, like "Exif.SubImage1.ImageWidth".
// That may happen if DNG contains a JPEG thumbnail
const int width = exiv_data["Exif.Image.ImageWidth"].toLong();
const int height = exiv_data["Exif.Image.ImageHeight"].toLong();
// Also you have to read and use and consider during processing:
// * WhiteLevel and BlackLevel
// * CFAPattern
// * AsShotNeutral, ColorIlluminant1/ColorIlluminant2
// * Exif.Image.Orientation
// * and many more
Thus topic of this issue is wider than just reading of image dimensions.
Thank you!
from hdr-plus.
I am creating a prototype! Thanks for the info, very useful!
from hdr-plus.
Hi! Any progress on this? Can I help you somehow?
from hdr-plus.
Also, if you are looking for more bursts, I would recommend to use HDR+ dataset: https://hdrplusdata.org/
Images there have different bayer patterns, so you have to support them in demosaicing. White balance differs too.
from hdr-plus.
Sorry I have been really busy lately; I am sorry I have not provided updates as I have not had time to work on it. I might possibly be able to work on it later this week!
from hdr-plus.
I have been trying to implement it; no success though. Sorry for the lack of response. Any help would be appreciated!
from hdr-plus.
Could you please publish a branch with your current progress? Any progress and even if the code not clean.
Unfortunately I'm very limited in time :-( but hopefully will find time to look at the code on weekend.
from hdr-plus.
It fails to build currently; but I will post it later today!
from hdr-plus.
Sorry for not posting the code I think I know what is wrong with it!!
from hdr-plus.
Ok I uploaded the code at: https://github.com/Titaniumtown/hdr-plus
from hdr-plus.
Ok I uploaded the code at: https://github.com/Titaniumtown/hdr-plus
from hdr-plus.
Thank you for fast merge, @Titaniumtown !
Also, there are imperfection in my implementation. I do not crop 'masked pixels' from RAW, and now they appear in the output. :-(
The problem is located here:
https://github.com/timothybrooks/hdr-plus/blob/master/src/InputSource.cpp#L34
I'll fix that and make another PR shortly.
from hdr-plus.
Bump! Are you going to make a pull request?
from hdr-plus.
Oh, sorry for that. :-(
I'll try to look at this on a weekend.
The thing is to copy pixels according to ActiveArea
Raw tag.
from hdr-plus.
Related Issues (20)
- Assertion failed: (size == (size_t)type().bytes() && "Error: Overflow computing total size of buffer."), HOT 4
- weight calculation of merge
- The link for the examples not found error HOT 3
- make error HOT 15
- Compilation issue: file not found: ./lib_halide_compiler_lib.a
- How to process Bayer metadata? HOT 1
- make err wit Could NOT find PNG (missing: PNG_PNG_INCLUDE_DIR)
- make error
- Incompatible with Halide 10.0.0 HOT 1
- link error for make hdr-plus project HOT 1
- Poor registration of images
- build error!!!! anyone can help me? HOT 1
- build error!!!! On macOS Big Sur Intel HOT 5
- Could not find HalideConfig.cmake HOT 1
- Request
- Cmake: Could not find a package configuration file provided by "Halide" HOT 3
- [make] no match function,template argument deduction/substitution failed HOT 2
- How can I get the data? HOT 2
- 效果不是很好比这个差https://github.com/jhfmat/ISP-pipeline-hdrplus HOT 1
- Build Error 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 hdr-plus.