pixelshift: optional red/blue check
This commit is contained in:
@@ -136,7 +136,7 @@ void ffInfo::updateRawImage()
|
||||
} else {
|
||||
int H = ri->get_height();
|
||||
int W = ri->get_width();
|
||||
ri->compress_image();
|
||||
ri->compress_image(0);
|
||||
int rSize = W * ((ri->getSensorType() == ST_BAYER || ri->getSensorType() == ST_FUJI_XTRANS) ? 1 : 3);
|
||||
acc_t **acc = new acc_t*[H];
|
||||
|
||||
@@ -156,7 +156,7 @@ void ffInfo::updateRawImage()
|
||||
RawImage* temp = new RawImage(*iName);
|
||||
|
||||
if( !temp->loadRaw(true)) {
|
||||
temp->compress_image(); //\ TODO would be better working on original, because is temporary
|
||||
temp->compress_image(0); //\ TODO would be better working on original, because is temporary
|
||||
nFiles++;
|
||||
|
||||
if( ri->getSensorType() == ST_BAYER || ri->getSensorType() == ST_FUJI_XTRANS ) {
|
||||
@@ -195,7 +195,7 @@ void ffInfo::updateRawImage()
|
||||
delete ri;
|
||||
ri = nullptr;
|
||||
} else {
|
||||
ri->compress_image();
|
||||
ri->compress_image(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user