> The demosaic none option is specifically requesting no demosaicing to be done > on the raw data, so your image will be grey scale, and likely still in an > RGGB "Bayer" pattern. Each "pixel" in this returned image is exactly what > each photosite captured.
Do you mean that RAW data is stored as three blocks with only R only GG and only B? > It sounds like it is working as expected, but this mode probably isn't useful > to you. Demosaicing is a crucial step in raw processing, and there are only > limited times where you might want to disable it. Probably you right. But always tend to find something unexpected. But how can I have raw channels in more human readable mode? Is this possible give oiio and libraw direction to deliver result at least as grayscale pattern? RGRGRG GBGBGB RGRGRG GBGBGB > As for the highlight mode issue, the reason your highlights are pink is > because your green and blue channels have clipped at a lower level than the > red channel. I have a new mode that I've been meaning to put a merge request > in for that will try to determine your lowest clipped channel and then clamp > the other channels to it, but it's not released yet. Note that this will lose > information from that red channel, but often at such high sensor saturation > the data is not often useful. > > In the mean time you should be able to clamp your images manually, though you > might need to run them through once to determine what the correct value > should be. It'll be whichever channel value is lowest in your pink highlight > areas. > > Cheers, > Mark > >> On Tue, 27 Jul 2021, 09:13 Vlad, <[email protected]> wrote: >> >> >>> On Fri, 23 Jul 2021 at 10:19, Larry Gritz <[email protected]> wrote: >>> These options are all directly passed to the underlying "LibRaw", so you >>> should consult the LibRaw documentation about what they do and what values >>> are reasonable for the effects you want. >>> >>> As far as Demosaic, if you say "none", I would expect it to give you a >>> grayscale image, yes. (I have not tried this. I guess it's possible that in >>> addition to grayscale, is it broken in other ways?) >>> >> >> Yes, result looks like some bits order is missed. Image looks like image >> with highly skewed lines and two big top and bottom black borders. >> >>> >>>> On Jul 22, 2021, at 1:01 AM, Vlad <[email protected]> wrote: >>>> >>>> Hi everyone. >>>> >>>> I traying to find a way to use OpenimageIO and RAW plugin to camera raw >>>> image processing. >>>> And some options ro RAW plugin give weird results. >>>> >>>> For example: >>>> oiiotool.exe --iconfig raw:Demosaic none ARW\_DSC4410.ARW -o >>>> ARW\_DSC4410_.TIF >>>> >>>> give me grayscale image that looks like it missed some pixel order. >>>> >>>> raw:Demosaic linear or any other available demosaic options work as >>>> expected. >>>> >>>> >>>> >>>> Another issue i can't figure out because no information on plugin page in >>>> --iconfig raw:HighlightMode 1 (unclip) >>>> it give me pink color on highlights. >>>> >>>> What i need chose to convert RAW image as Unclipped dynamic range to int >>>> 16 bit or 16/32bit floats? >>>> >>>> Or this issues looks more like a bugs and better report them? >>>> >>>> Best regards >>>> Vlad >>>> _______________________________________________ >>>> Oiio-dev mailing list >>>> [email protected] >>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >>> >>> -- >>> Larry Gritz >>> [email protected] >>> >>> >>> >>> >>> _______________________________________________ >>> Oiio-dev mailing list >>> [email protected] >>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
