lock replied to the topic 'Bug in fitsdata.cpp' in the forum. 4 years ago

I think you switched bayer pattern, I would write:

case DC1394_COLOR_FILTER_RGGB:
            debayerParams.filter = DC1394_COLOR_FILTER_GBRG;
            break;
        case DC1394_COLOR_FILTER_GBRG:
            debayerParams.filter = DC1394_COLOR_FILTER_RGGB;
            break;
        case DC1394_COLOR_FILTER_GRBG:
            debayerParams.filter = DC1394_COLOR_FILTER_BGGR;
            break;
        case DC1394_COLOR_FILTER_BGGR:
            debayerParams.filter = DC1394_COLOR_FILTER_GRBG;
            break;
        }


Read More...