Speedup und reduced memory usage for Noise Reduction, Issue 2557 #132
This commit is contained in:
@@ -48,19 +48,19 @@ public:
|
||||
,ifname(NULL)
|
||||
,meta_data(NULL)
|
||||
,shot_select(0),multi_out(0)
|
||||
,float_raw_image(NULL)
|
||||
,image(NULL)
|
||||
,bright(1.),threshold(0.)
|
||||
,half_size(0),four_color_rgb(0),document_mode(0),highlight(0)
|
||||
,verbose(0)
|
||||
,use_auto_wb(0),use_camera_wb(0),use_camera_matrix(1)
|
||||
,output_color(1),output_bps(8),output_tiff(0),med_passes(0),no_auto_bright(0)
|
||||
,RT_whitelevel_from_constant(0)
|
||||
,RT_blacklevel_from_constant(0)
|
||||
,RT_matrix_from_constant(0)
|
||||
,use_auto_wb(0),use_camera_wb(0),use_camera_matrix(1)
|
||||
,output_color(1),output_bps(8),output_tiff(0),med_passes(0),no_auto_bright(0)
|
||||
,getbithuff(this,ifp,zero_after_ff)
|
||||
,ph1_bithuff(this,ifp,order)
|
||||
,pana_bits(ifp,load_flags)
|
||||
,float_raw_image(NULL)
|
||||
{
|
||||
memset(&hbd, 0, sizeof(hbd));
|
||||
aber[0]=aber[1]=aber[2]=aber[3]=1;
|
||||
@@ -106,9 +106,9 @@ protected:
|
||||
int output_color, output_bps, output_tiff, med_passes;
|
||||
int no_auto_bright;
|
||||
unsigned greybox[4] ;
|
||||
int RT_matrix_from_constant;
|
||||
int RT_blacklevel_from_constant;
|
||||
int RT_whitelevel_from_constant;
|
||||
int RT_blacklevel_from_constant;
|
||||
int RT_matrix_from_constant;
|
||||
|
||||
float cam_mul[4], pre_mul[4], cmatrix[3][4], rgb_cam[3][4];
|
||||
|
||||
|
Reference in New Issue
Block a user