Le Wed, 21 Sep 2011 20:39:01 +0200, Anders Brander <[email protected]> a écrit :
> Hi, > > On Wed, 2011-09-21 at 10:28 +0200, Ille wrote: > > I'm trying to make a better loader for x3f raw files. > > Interesting. What would like like to improve? > Speed, mainly. Rawspeed is very efficient for bayer sensor. Probably it will be hard to be at the same speed level, but if I can gain half the time dcraw needs, it will be enough for me. Another thing is dcraw can't decode newer x3f (those from SD15, DPs, SD1). Roland Karlsson's sources seems to be able to deal with these, so it would be awesome if RawStudio were the first opensource software that permit DP1/2's raw conversion (as DPs are quiet popular I think). And if SD1 raws are more or less the same, it would be a great plus. Actually, with my patch for x3f_meta, RS can display the thumbnails for ALL Sigma camera, including the useful metadata. Unfortunately, Sigma's metadata concerning lenses are ... funny. > > I will probably try to implement the algorithm used by Roland > > Karlsson ([email protected]) in his Rolkar_X3F tool to decode x3f > > from DPs and SD15. > > My questions are the following: > > - Roland Karlsson sources are under BSD-style license. Will this be > > a problem, as RawStudio is under GPL? > > His sources seems to be released under "modified BSD"-license, which > should be compatible with GPLv2. OK. I will try to contact him as soon as I have a valid plugin. > > > - Should I reuse Dave Coffin's algorithm for foveon interpolation? I > > mean, I would prefer to get free of all bayers specific function > > and have something dedicated for foveon sensor. > > Does de-bayer make sense for a Foveon sensor? No. I would like to make the x3f loader lighter and have only foveon specific functions in it. Another thing I was thinking of was maybe to have the ability to apply some corrections on a per channel basis at the interpolation stage. But RS is probably not designed in this way, and maybe it's not a good idea. > > > - Finally, does it make sense to create a RAWFILE* in the loader? > > It depends ;) RAWFILE has some nice helpers when reading tiff-style > files. It's some of the oldest code in Rawstudio thou - and therefor > ugly :) > > If x3f is tiff-based, you could use RSTiff and friends. It's probably > slower than RAWFILE, but somewhat nicer to work with, if you're used > to glib. > Unfortunately, x3f is not tiff-based. RAWFILE is still used for thumbnailing and metadata loading, right? Actually, it does what I need, so I will continue to use it. Thanks Ille > /Brander > > _______________________________________________ > Rawstudio-dev mailing list > [email protected] > http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev _______________________________________________ Rawstudio-dev mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev
