Recent comments

Reply to: Extracting RAW histogram   9 years 2 months ago

LibRaw do not calculates raw data histogram.
So, you need to
1) unpack raw values using LibRaw::unpack()
2) (if needed) subtract black level (bias)
3) calculate histogram by you own code

Reply to: Bayer moire   9 years 2 months ago

This is not capture (camera) test, but demosaic test.

Reply to: Bayer moire   9 years 2 months ago

It seems to me that black and white isn't really an adequate test in this area. I'm thinking in terms of the poor buttercup yellow gradation many cameras can have due to the fact that it's a mix of the basic bayer colours. I get the impression at times that colour mixes including yellows for instance can cause a lack of sharpness.

Reply to: Generate configure script for Mac OSX   9 years 2 months ago

You were right, my autoconf/automake stuff was not up to date.

I updated to autoconf 2.69 and automake 1.14, and now i get a working configure script from running
autoreconf --install

Thanks for your quick response, and have a nice day
Johann

Reply to: Generate configure script for Mac OSX   9 years 2 months ago

Just use make -f Makefile.dist to build LibRaw. You may need to edit Makefile.dist to suit your needs.

./configure script is created by running autoreconf --install
It works fine on my FreeBSD test machine (autoconf 2.69 and automake 1.14), is your autoconf/automake stuff is fresh enough?

Reply to: problem setting up gamma curve to use on .CR2 raw file   9 years 3 months ago

What happens if you use dcraw_emu sample with different -g parameters?

Reply to: Use of Rawspeed 2   9 years 3 months ago

RawSpeed/development looks very unstable. For example, Nikon small-NEF support is definitely broken; multi-sample DNG support (Fuji SuperCCD dngs) is not compatible with LibRaw in data layout and many other things looks strange (e.g. 'unprocessed raw' concept without tone curve).

So, to use development RawSpeed with LibRaw it needs heavy make-up.

Reply to: Use of Rawspeed 2   9 years 3 months ago

Thanks for the quick reply.

Just one more question:
Are you planning to include RAF support in rawspeed?
It would seem that only the development branch of Rawspeed is actually developing things at this moment...

Greetings,
Auke

Reply to: Use of Rawspeed 2   9 years 3 months ago

LibRaw uses RawSpeed only for selected (tested) formats. Fuji RAF is not in this list yet, so you'll need to change more source code.
If you change the source, you can remove libxml2 from dependencies on your copy.

Reply to: Use of Rawspeed 2   9 years 3 months ago
Hi,

Hi,

Yes, I could do that, but I really would like to use the updated rawspeed, with FUJIFILM X-trans support.

I already 'translated' camers.xml to the correct format.
Now I need to alter the code in "libraw_cxx.cpp" to use pugixml instead of libxml2 in order to load the (updated) "rawspeed_xmldata.cpp" into the 'CameraMetaData' class.

Could you perhaps point me into the right direction for that?

Thanks and greetings,
Auke

Reply to: Use of Rawspeed 2   9 years 3 months ago

Use RawSpeed from master branch, not from development (unstable) one.

Reply to: Sony ILCE-6000 - problems reading raw image data from .arw files   9 years 4 months ago

LibRaw 0.16 does not supports A-6000.
Use master (development) branch from https://github.com/LibRaw/LibRaw

Reply to: NarrowedType fixes for Clang   9 years 5 months ago

I've see your requests and replied on github.

I've no troubles when compiliing LibRaw by Xcode3 ... Xcode 6.1

Reply to: compile libraw with visual studio express   9 years 5 months ago

For desktop windows: use provided Visual Studio 2008 project files (and convert them to VS2013).
For windows phone: I do not know. Never used and/or developed for Windows Phone

Reply to: compile libraw with visual studio express   9 years 5 months ago

Please, how to make compile and run in visual studio 2013 and windows phone app?

Reply to: LibRAW licence   9 years 6 months ago

I've answered already in another thread: http://www.libraw.org/comment/3725#comment-3725

If you use CDDL or LibRaw's own license, you may link as you wish, dynamic linking is not mandatory

Reply to: using libraw in closed source application   9 years 6 months ago

Frontpage is outdated (it is funny :).
Actual licensing information is in actual libraw tar.gz/zip bundle and/or on documentation page.
Current versions are triple licensed, all three licenses (LGPL, CDDL, LibRaw) allows use in closed-source commercial (and non-commercial) apps.

Reply to: LibRAW licence   9 years 6 months ago

Uhh, forgot to mention that by linking I mean linking to it's compiled file (libraw.dylib) which is going to be located in the program folder of the program and the application is going to be using the functions in the library :)

Reply to: Select between "Daylight WB" and "As Shot"   9 years 7 months ago

We discussed this in private communication.
use_auto_wb has priority over camera_wb. If it set, auto-wb will be used.
If auto_wb is unset, than as-shot wb will be used if use_camera_wb is non-zero, otherwise daylight wb is used.

Reply to: Trying to derive linear image from NEF, how do I use cam_mul?   9 years 7 months ago

Simple enough :)

Reply to: Trying to derive linear image from NEF, how do I use cam_mul?   9 years 7 months ago

Set output gamma to 1.0 and you'll get linear output.

Reply to: Trying to derive linear image from NEF, how do I use cam_mul?   9 years 7 months ago

Ahh. Yes, tons more I need to learn. Can you recommend a Libraw process to derive linear RGB and BW images from D7000 NEF? I'm looking for a "no-frills" kind of implementation if possible. The output is for a 3D structured light setup which is dependent on capturing a series of linear images.
Thanks again for your help!

Reply to: Trying to derive linear image from NEF, how do I use cam_mul?   9 years 7 months ago

Generally, you need to apply WB before demosaic (if your demosaic method use something like luminosity maps, the components should be balanced before).
Also, bias subtraction should be done before WB (and demosaic).

I do not think, that max(R,G,B) will give you good BW image. Better use something like RGB to Y[CC] or Lab conversion and use Y or L channel as BW image.

Reply to: Trying to derive linear image from NEF, how do I use cam_mul?   9 years 7 months ago

Great! Thanks!

To follow up. If I demosaic, subtract black, scale with normalized multipliers(cam_mul), then do a max() of all three color components, I should generally have a linear black and white image, correct? Anything else I should consider or be concerned about?

Thanks!

Reply to: Trying to derive linear image from NEF, how do I use cam_mul?   9 years 7 months ago

If you want to use your own processing (demosaic), you need to
- subtract black (bias) level. It is zero for D7000, so if you working with only one camera, skip this step
- multiply to WB coeffs.
To not overflow ushort data, you need multipliers less than 4.0 (16-bit range and 14-bit data), so normalize the multipliers (divide to something) to fit range 0.0..4.0

Pages