Commit c503ad7d authored by Heiko Bauke's avatar Heiko Bauke

haze removal module

parent 6f7bdbc2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="200"
height="200"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.91 r13725"
version="1.0"
sodipodi:docname="hazeremoval.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/bauke/Programmieren/darktable/data/pixmaps/plugins/darkroom/hazeremoval.png"
inkscape:export-xdpi="10.8"
inkscape:export-ydpi="10.8">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective10" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
gridtolerance="10000"
guidetolerance="10"
objecttolerance="10"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.5976991"
inkscape:cx="54.389857"
inkscape:cy="110.3125"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2383"
visible="true"
enabled="true" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Layer 2"
style="display:inline" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
style="display:inline">
<path
style="opacity:0;fill:#bbeede;fill-opacity:1;stroke:#201cb5;stroke-width:1.25;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path4147"
sodipodi:type="arc"
sodipodi:cx="-42.5"
sodipodi:cy="85"
sodipodi:rx="17.5"
sodipodi:ry="25"
sodipodi:start="0"
sodipodi:end="0.027992686"
d="m -25,85 a 17.5,25 0 0 1 -0.0069,0.699726 L -42.5,85 Z" />
<path
style="opacity:0;fill:#bbeede;fill-opacity:1;stroke:#201cb5;stroke-width:1.25;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path4149"
sodipodi:type="arc"
sodipodi:cx="-105"
sodipodi:cy="5"
sodipodi:rx="60"
sodipodi:ry="50"
sodipodi:start="0"
sodipodi:end="1.241114"
d="M -45,5 A 60,50 0 0 1 -85.575451,52.307262 L -105,5 Z" />
<circle
r="70"
cy="100.21749"
cx="99.860336"
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#cacac6;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path2385-6" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#cacac6;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 145.04329,100.0391 55.252764,99.78459"
id="path4159"
sodipodi:nodetypes="cc" />
<path
inkscape:connector-curvature="0"
style="display:inline;fill:none;stroke:#cacac6;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 145.02577,79.811591 55.235248,79.557081"
id="path4159-8"
sodipodi:nodetypes="cc" />
<path
inkscape:connector-curvature="0"
style="display:inline;fill:none;stroke:#cacac6;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 145.04079,120.2591 55.250262,120.00459"
id="path4159-6"
sodipodi:nodetypes="cc" />
</g>
</svg>
......@@ -118,6 +118,7 @@ add_iop(bilat "bilat.c")
add_iop(denoiseprofile "denoiseprofile.c")
add_iop(defringe "defringe.c")
add_iop(ashift "ashift.c")
add_iop(hazeremoval "hazeremoval.c")
if(RSVG2_FOUND)
add_iop(watermark "watermark.c")
......
......@@ -4120,7 +4120,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_ashift_params_t));
module->default_params = calloc(1, sizeof(dt_iop_ashift_params_t));
module->default_enabled = 0;
module->priority = 208; // module order created by iop_dependencies.py, do not edit!
module->priority = 205; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_ashift_params_t);
module->gui_data = NULL;
dt_iop_ashift_params_t tmp = (dt_iop_ashift_params_t){ 0.0f, 0.0f, 0.0f, 0.0f, DEFAULT_F_LENGTH, 1.0f, 100.0f, 1.0f, ASHIFT_MODE_GENERIC, 0,
......
......@@ -929,7 +929,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_atrous_params_t));
module->default_params = calloc(1, sizeof(dt_iop_atrous_params_t));
module->default_enabled = 0;
module->priority = 567; // module order created by iop_dependencies.py, do not edit!
module->priority = 573; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_atrous_params_t);
module->gui_data = NULL;
dt_iop_atrous_params_t tmp;
......
......@@ -1235,7 +1235,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_basecurve_params_t));
module->default_params = calloc(1, sizeof(dt_iop_basecurve_params_t));
module->default_enabled = 0;
module->priority = 298; // module order created by iop_dependencies.py, do not edit!
module->priority = 294; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_basecurve_params_t);
module->gui_data = NULL;
dt_iop_basecurve_params_t tmp = (dt_iop_basecurve_params_t){
......
......@@ -286,7 +286,7 @@ void init(dt_iop_module_t *module)
// by default:
module->default_enabled = 0;
// order has to be changed by editing the dependencies in tools/iop_dependencies.py
module->priority = 582; // module order created by iop_dependencies.py, do not edit!
module->priority = 588; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_bilat_params_t);
module->gui_data = NULL;
// init defaults:
......
......@@ -323,7 +323,7 @@ void init(dt_iop_module_t *module)
module->params = (dt_iop_params_t *)malloc(sizeof(dt_iop_bilateral_params_t));
module->default_params = (dt_iop_params_t *)malloc(sizeof(dt_iop_bilateral_params_t));
module->default_enabled = 0;
module->priority = 313; // module order created by iop_dependencies.py, do not edit!
module->priority = 308; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_bilateral_params_t);
module->gui_data = NULL;
dt_iop_bilateral_params_t tmp = (dt_iop_bilateral_params_t){ { 15.0, 15.0, 0.005, 0.005, 0.005 } };
......
......@@ -489,7 +489,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_bloom_params_t));
module->default_params = calloc(1, sizeof(dt_iop_bloom_params_t));
module->default_enabled = 0;
module->priority = 507; // module order created by iop_dependencies.py, do not edit!
module->priority = 514; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_bloom_params_t);
module->gui_data = NULL;
dt_iop_bloom_params_t tmp = (dt_iop_bloom_params_t){ 20, 90, 25 };
......
......@@ -1517,7 +1517,7 @@ void init(dt_iop_module_t *module)
module->default_enabled = 0;
// we come just before demosaicing.
module->priority = 74; // module order created by iop_dependencies.py, do not edit!
module->priority = 73; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_cacorrect_params_t);
module->gui_data = NULL;
}
......
......@@ -418,7 +418,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_channelmixer_params_t));
module->default_params = calloc(1, sizeof(dt_iop_channelmixer_params_t));
module->default_enabled = 0;
module->priority = 820; // module order created by iop_dependencies.py, do not edit!
module->priority = 823; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_channelmixer_params_t);
module->gui_data = NULL;
dt_iop_channelmixer_params_t tmp = (dt_iop_channelmixer_params_t){ { 0, 0, 0, 1, 0, 0, 0 },
......
......@@ -292,7 +292,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_rlce_params_t));
module->default_params = calloc(1, sizeof(dt_iop_rlce_params_t));
module->default_enabled = 0;
module->priority = 895; // module order created by iop_dependencies.py, do not edit!
module->priority = 897; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_rlce_params_t);
module->gui_data = NULL;
dt_iop_rlce_params_t tmp = (dt_iop_rlce_params_t){ 64, 1.25 };
......
......@@ -1689,7 +1689,7 @@ void init(dt_iop_module_t *module)
module->default_enabled = 0;
module->params_size = sizeof(dt_iop_clipping_params_t);
module->gui_data = NULL;
module->priority = 447; // module order created by iop_dependencies.py, do not edit!
module->priority = 455; // module order created by iop_dependencies.py, do not edit!
}
void cleanup(dt_iop_module_t *module)
......
......@@ -316,7 +316,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colisa_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colisa_params_t));
module->default_enabled = 0;
module->priority = 641; // module order created by iop_dependencies.py, do not edit!
module->priority = 647; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colisa_params_t);
module->gui_data = NULL;
dt_iop_colisa_params_t tmp = (dt_iop_colisa_params_t){ 0, 0, 0 };
......
......@@ -237,7 +237,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colorbalance_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colorbalance_params_t));
module->default_enabled = 0;
module->priority = 432; // module order created by iop_dependencies.py, do not edit!
module->priority = 441; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorbalance_params_t);
module->gui_data = NULL;
dt_iop_colorbalance_params_t tmp = (dt_iop_colorbalance_params_t){ { 1.0f, 1.0f, 1.0f, 1.0f },
......
......@@ -673,7 +673,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colorchecker_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colorchecker_params_t));
module->default_enabled = 0;
module->priority = 373; // module order created by iop_dependencies.py, do not edit!
module->priority = 382; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorchecker_params_t);
module->gui_data = NULL;
dt_iop_colorchecker_params_t tmp;
......
......@@ -303,7 +303,7 @@ void init(dt_iop_module_t *module)
// our module is disabled by default
module->default_enabled = 0;
// we are pretty late in the pipe:
module->priority = 791; // module order created by iop_dependencies.py, do not edit!
module->priority = 794; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorcontrast_params_t);
module->gui_data = NULL;
// init defaults:
......
......@@ -226,7 +226,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colorcorrection_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colorcorrection_params_t));
module->default_enabled = 0;
module->priority = 716; // module order created by iop_dependencies.py, do not edit!
module->priority = 720; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorcorrection_params_t);
module->gui_data = NULL;
dt_iop_colorcorrection_params_t tmp = (dt_iop_colorcorrection_params_t){ 0., 0., 0., 0., 1.0 };
......
......@@ -1784,7 +1784,7 @@ void init(dt_iop_module_t *module)
module->default_params = calloc(1, sizeof(dt_iop_colorin_params_t));
module->params_size = sizeof(dt_iop_colorin_params_t);
module->gui_data = NULL;
module->priority = 343; // module order created by iop_dependencies.py, do not edit!
module->priority = 352; // module order created by iop_dependencies.py, do not edit!
module->hide_enable_button = 1;
module->default_enabled = 1;
}
......
......@@ -398,7 +398,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colorize_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colorize_params_t));
module->default_enabled = 0;
module->priority = 462; // module order created by iop_dependencies.py, do not edit!
module->priority = 470; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorize_params_t);
module->gui_data = NULL;
dt_iop_colorize_params_t tmp = (dt_iop_colorize_params_t){ 0, 0.5, 50, 50, module->version() };
......
......@@ -868,7 +868,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colormapping_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colormapping_params_t));
module->default_enabled = 0;
module->priority = 492; // module order created by iop_dependencies.py, do not edit!
module->priority = 499; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colormapping_params_t);
module->gui_data = NULL;
}
......
......@@ -806,7 +806,7 @@ void init(dt_iop_module_t *module)
module->default_params = calloc(1, sizeof(dt_iop_colorout_params_t));
module->params_size = sizeof(dt_iop_colorout_params_t);
module->gui_data = NULL;
module->priority = 805; // module order created by iop_dependencies.py, do not edit!
module->priority = 808; // module order created by iop_dependencies.py, do not edit!
module->hide_enable_button = 1;
module->default_enabled = 1;
dt_iop_colorout_params_t tmp = (dt_iop_colorout_params_t){ DT_COLORSPACE_SRGB, "", DT_INTENT_PERCEPTUAL};
......
......@@ -1337,7 +1337,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colorreconstruct_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colorreconstruct_params_t));
module->default_enabled = 0;
module->priority = 358; // module order created by iop_dependencies.py, do not edit!
module->priority = 367; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorreconstruct_params_t);
module->gui_data = NULL;
dt_iop_colorreconstruct_params_t tmp = (dt_iop_colorreconstruct_params_t){ 100.0f, 400.0f, 10.0f, 0.66f, COLORRECONSTRUCT_PRECEDENCE_NONE };
......
......@@ -559,7 +559,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colortransfer_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colortransfer_params_t));
module->default_enabled = 0;
module->priority = 477; // module order created by iop_dependencies.py, do not edit!
module->priority = 485; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colortransfer_params_t);
module->gui_data = NULL;
dt_iop_colortransfer_params_t tmp;
......
......@@ -380,7 +380,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_colorzones_params_t));
module->default_params = calloc(1, sizeof(dt_iop_colorzones_params_t));
module->default_enabled = 0; // we're a rather slow and rare op.
module->priority = 597; // module order created by iop_dependencies.py, do not edit!
module->priority = 602; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_colorzones_params_t);
module->gui_data = NULL;
dt_iop_colorzones_params_t tmp;
......
......@@ -395,7 +395,7 @@ void init(dt_iop_module_t *module)
{
module->params = calloc(1, sizeof(dt_iop_defringe_params_t));
module->default_params = calloc(1, sizeof(dt_iop_defringe_params_t));
module->priority = 388; // module order created by iop_dependencies.py, do not edit!
module->priority = 397; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_defringe_params_t);
module->gui_data = NULL;
module->data = NULL;
......
......@@ -3492,7 +3492,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_demosaic_params_t));
module->default_params = calloc(1, sizeof(dt_iop_demosaic_params_t));
module->default_enabled = 1;
module->priority = 119; // module order created by iop_dependencies.py, do not edit!
module->priority = 117; // module order created by iop_dependencies.py, do not edit!
module->hide_enable_button = 1;
module->params_size = sizeof(dt_iop_demosaic_params_t);
module->gui_data = NULL;
......
......@@ -1871,7 +1871,7 @@ void init(dt_iop_module_t *module)
{
module->params = calloc(1, sizeof(dt_iop_denoiseprofile_params_t));
module->default_params = calloc(1, sizeof(dt_iop_denoiseprofile_params_t));
module->priority = 134; // module order created by iop_dependencies.py, do not edit!
module->priority = 132; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_denoiseprofile_params_t);
module->gui_data = NULL;
module->data = NULL;
......
......@@ -267,7 +267,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_equalizer_params_t));
module->default_params = calloc(1, sizeof(dt_iop_equalizer_params_t));
module->default_enabled = 0; // we're a rather slow and rare op.
module->priority = 402; // module order created by iop_dependencies.py, do not edit!
module->priority = 411; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_equalizer_params_t);
module->gui_data = NULL;
dt_iop_equalizer_params_t tmp;
......
......@@ -539,7 +539,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_exposure_params_t));
module->default_params = calloc(1, sizeof(dt_iop_exposure_params_t));
module->default_enabled = 0;
module->priority = 164; // module order created by iop_dependencies.py, do not edit!
module->priority = 161; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_exposure_params_t);
module->gui_data = NULL;
}
......
......@@ -117,7 +117,7 @@ void init(dt_iop_module_t *self)
self->default_params = calloc(1, sizeof(dt_iop_finalscale_params_t));
self->default_enabled = 1;
self->hide_enable_button = 1;
self->priority = 910; // module order created by iop_dependencies.py, do not edit!
self->priority = 911; // module order created by iop_dependencies.py, do not edit!
self->params_size = sizeof(dt_iop_finalscale_params_t);
self->gui_data = NULL;
}
......
......@@ -442,7 +442,7 @@ void init(dt_iop_module_t *module)
module->default_enabled = 1;
module->params_size = sizeof(dt_iop_flip_params_t);
module->gui_data = NULL;
module->priority = 268; // module order created by iop_dependencies.py, do not edit!
module->priority = 264; // module order created by iop_dependencies.py, do not edit!
}
void cleanup(dt_iop_module_t *module)
......
......@@ -676,7 +676,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_global_tonemap_params_t));
module->default_params = calloc(1, sizeof(dt_iop_global_tonemap_params_t));
module->default_enabled = 0;
module->priority = 537; // module order created by iop_dependencies.py, do not edit!
module->priority = 544; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_global_tonemap_params_t);
module->gui_data = NULL;
dt_iop_global_tonemap_params_t tmp
......
......@@ -1084,7 +1084,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_graduatednd_params_t));
module->default_params = calloc(1, sizeof(dt_iop_graduatednd_params_t));
module->default_enabled = 0;
module->priority = 283; // module order created by iop_dependencies.py, do not edit!
module->priority = 279; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_graduatednd_params_t);
module->gui_data = NULL;
dt_iop_graduatednd_params_t tmp = (dt_iop_graduatednd_params_t){ 1.0, 0, 0, 50, 0, 0 };
......
......@@ -590,7 +590,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_grain_params_t));
module->default_params = calloc(1, sizeof(dt_iop_grain_params_t));
module->default_enabled = 0;
module->priority = 776; // module order created by iop_dependencies.py, do not edit!
module->priority = 779; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_grain_params_t);
module->gui_data = NULL;
dt_iop_grain_params_t tmp
......
This diff is collapsed.
......@@ -1040,7 +1040,7 @@ void init(dt_iop_module_t *module)
// module->data = malloc(sizeof(dt_iop_highlights_data_t));
module->params = calloc(1, sizeof(dt_iop_highlights_params_t));
module->default_params = calloc(1, sizeof(dt_iop_highlights_params_t));
module->priority = 59; // module order created by iop_dependencies.py, do not edit!
module->priority = 58; // module order created by iop_dependencies.py, do not edit!
module->default_enabled = 1;
module->params_size = sizeof(dt_iop_highlights_params_t);
module->gui_data = NULL;
......
......@@ -435,7 +435,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_highpass_params_t));
module->default_params = calloc(1, sizeof(dt_iop_highpass_params_t));
module->default_enabled = 0;
module->priority = 761; // module order created by iop_dependencies.py, do not edit!
module->priority = 764; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_highpass_params_t);
module->gui_data = NULL;
dt_iop_highpass_params_t tmp = (dt_iop_highpass_params_t){ 50, 50 };
......
......@@ -317,7 +317,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_hotpixels_params_t));
module->default_params = calloc(1, sizeof(dt_iop_hotpixels_params_t));
module->default_enabled = 0;
module->priority = 89; // module order created by iop_dependencies.py, do not edit!
module->priority = 88; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_hotpixels_params_t);
module->gui_data = NULL;
}
......
......@@ -1236,7 +1236,7 @@ void init(dt_iop_module_t *module)
module->default_enabled = 0;
module->params_size = sizeof(dt_iop_lensfun_params_t);
module->gui_data = NULL;
module->priority = 194; // module order created by iop_dependencies.py, do not edit!
module->priority = 191; // module order created by iop_dependencies.py, do not edit!
}
void cleanup(dt_iop_module_t *module)
......
......@@ -508,7 +508,7 @@ void init(dt_iop_module_t *self)
self->default_params = calloc(1, sizeof(dt_iop_levels_params_t));
self->default_enabled = 0;
self->request_histogram |= (DT_REQUEST_ON);
self->priority = 686; // module order created by iop_dependencies.py, do not edit!
self->priority = 691; // module order created by iop_dependencies.py, do not edit!
self->params_size = sizeof(dt_iop_levels_params_t);
self->gui_data = NULL;
}
......
......@@ -1534,7 +1534,7 @@ void init (dt_iop_module_t *module)
{
// module is disabled by default
module->default_enabled = 0;
module->priority = 223; // module order created by iop_dependencies.py, do not edit!
module->priority = 220; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_liquify_params_t);
module->gui_data = NULL;
......
......@@ -288,7 +288,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_lowlight_params_t));
module->default_params = calloc(1, sizeof(dt_iop_lowlight_params_t));
module->default_enabled = 0; // we're a rather slow and rare op.
module->priority = 611; // module order created by iop_dependencies.py, do not edit!
module->priority = 617; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_lowlight_params_t);
module->gui_data = NULL;
dt_iop_lowlight_params_t tmp;
......
......@@ -601,7 +601,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_lowpass_params_t));
module->default_params = calloc(1, sizeof(dt_iop_lowpass_params_t));
module->default_enabled = 0;
module->priority = 746; // module order created by iop_dependencies.py, do not edit!
module->priority = 749; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_lowpass_params_t);
module->gui_data = NULL;
dt_iop_lowpass_params_t tmp = (dt_iop_lowpass_params_t){ 0, 10.0f, 1.0f, 0.0f, 1.0f, LOWPASS_ALGO_GAUSSIAN, 1 };
......
......@@ -337,7 +337,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_monochrome_params_t));
module->default_params = calloc(1, sizeof(dt_iop_monochrome_params_t));
module->default_enabled = 0;
module->priority = 626; // module order created by iop_dependencies.py, do not edit!
module->priority = 632; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_monochrome_params_t);
module->gui_data = NULL;
dt_iop_monochrome_params_t tmp = (dt_iop_monochrome_params_t){ 0., 0., 2., 0. };
......
......@@ -728,7 +728,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_nlmeans_params_t));
module->default_params = calloc(1, sizeof(dt_iop_nlmeans_params_t));
// about the first thing to do in Lab space:
module->priority = 522; // module order created by iop_dependencies.py, do not edit!
module->priority = 529; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_nlmeans_params_t);
module->gui_data = NULL;
module->data = NULL;
......
......@@ -286,7 +286,7 @@ void init(dt_iop_module_t *module)
module->default_params = calloc(1, sizeof(dt_iop_overexposed_t));
module->hide_enable_button = 1;
module->default_enabled = 1;
module->priority = 925; // module order created by iop_dependencies.py, do not edit!
module->priority = 926; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_overexposed_t);
module->gui_data = NULL;
}
......
......@@ -277,7 +277,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_profilegamma_params_t));
module->default_params = calloc(1, sizeof(dt_iop_profilegamma_params_t));
module->default_enabled = 0;
module->priority = 328; // module order created by iop_dependencies.py, do not edit!
module->priority = 323; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_profilegamma_params_t);
module->gui_data = NULL;
dt_iop_profilegamma_params_t tmp = (dt_iop_profilegamma_params_t){ 0.1, 0.45 };
......
......@@ -394,7 +394,7 @@ void init(dt_iop_module_t *module)
module->default_enabled = 0;
// raw denoise must come just before demosaicing.
module->priority = 104; // module order created by iop_dependencies.py, do not edit!
module->priority = 102; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_rawdenoise_params_t);
module->gui_data = NULL;
}
......
......@@ -499,7 +499,7 @@ void init(dt_iop_module_t *module)
module->default_params = calloc(1, sizeof(dt_iop_rawoverexposed_t));
module->hide_enable_button = 1;
module->default_enabled = 1;
module->priority = 940; // module order created by iop_dependencies.py, do not edit!
module->priority = 941; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_rawoverexposed_t);
module->gui_data = NULL;
}
......
......@@ -297,7 +297,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_relight_params_t));
module->default_params = calloc(1, sizeof(dt_iop_relight_params_t));
module->default_enabled = 0;
module->priority = 701; // module order created by iop_dependencies.py, do not edit!
module->priority = 705; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_relight_params_t);
module->gui_data = NULL;
dt_iop_relight_params_t tmp = (dt_iop_relight_params_t){ 0.33, 0, 4 };
......
......@@ -341,7 +341,7 @@ void init(dt_iop_module_t *self)
self->default_params = calloc(1, sizeof(dt_iop_rotatepixels_params_t));
self->params_size = sizeof(dt_iop_rotatepixels_params_t);
self->gui_data = NULL;
self->priority = 238; // module order created by iop_dependencies.py, do not edit!
self->priority = 235; // module order created by iop_dependencies.py, do not edit!
}
void cleanup(dt_iop_module_t *self)
......
......@@ -266,7 +266,7 @@ void init(dt_iop_module_t *self)
self->default_params = calloc(1, sizeof(dt_iop_scalepixels_params_t));
self->default_enabled = (!isnan(image->pixel_aspect_ratio) && image->pixel_aspect_ratio > 0.0f
&& image->pixel_aspect_ratio != 1.0f);
self->priority = 253; // module order created by iop_dependencies.py, do not edit!
self->priority = 249; // module order created by iop_dependencies.py, do not edit!
self->params_size = sizeof(dt_iop_scalepixels_params_t);
self->gui_data = NULL;
}
......
......@@ -772,7 +772,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_shadhi_params_t));
module->default_params = calloc(1, sizeof(dt_iop_shadhi_params_t));
module->default_enabled = 0;
module->priority = 552; // module order created by iop_dependencies.py, do not edit!
module->priority = 558; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_shadhi_params_t);
module->gui_data = NULL;
dt_iop_shadhi_params_t tmp
......
......@@ -718,7 +718,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_sharpen_params_t));
module->default_params = calloc(1, sizeof(dt_iop_sharpen_params_t));
module->default_enabled = 0;
module->priority = 731; // module order created by iop_dependencies.py, do not edit!
module->priority = 735; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_sharpen_params_t);
module->gui_data = NULL;
dt_iop_sharpen_params_t tmp = (dt_iop_sharpen_params_t){ 2.0, 0.5, 0.5 };
......
......@@ -683,7 +683,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_soften_params_t));
module->default_params = calloc(1, sizeof(dt_iop_soften_params_t));
module->default_enabled = 0;
module->priority = 835; // module order created by iop_dependencies.py, do not edit!
module->priority = 838; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_soften_params_t);
module->gui_data = NULL;
dt_iop_soften_params_t tmp = (dt_iop_soften_params_t){ 50, 100.0, 0.33, 50 };
......
......@@ -454,7 +454,7 @@ void init(dt_iop_module_t *module)
module->params = calloc(1, sizeof(dt_iop_splittoning_params_t));
module->default_params = calloc(1, sizeof(dt_iop_splittoning_params_t));
module->default_enabled = 0;
module->priority = 865; // module order created by iop_dependencies.py, do not edit!
module->priority = 867; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_splittoning_params_t);
module->gui_data = NULL;
dt_iop_splittoning_params_t tmp = (dt_iop_splittoning_params_t){ 0, 0.5, 0.2, 0.5, 0.5, 33.0 };
......
......@@ -538,7 +538,7 @@ void init(dt_iop_module_t *module)
// our module is disabled by default
// by default:
module->default_enabled = 0;
module->priority = 179; // module order created by iop_dependencies.py, do not edit!
module->priority = 176; // module order created by iop_dependencies.py, do not edit!
module->params_size = sizeof(dt_iop_spots_params_t);
module->gui_data = NULL;
// init defaults:
......
......@@ -623,7 +623,7 @@ void init(dt_iop_module_t *module)
module->default_params = calloc(1, sizeof(dt_iop_tonecurve_params_t));
module->default_enabled = 0;
module->request_histogram |= (DT_REQUEST_ON);
module->priority = 671; // module order created by iop_dependencies.py, do not edit!
module->priority = 676; // module order created by iop_dependencies.py, do not edit!