Skip to content

Implement a segmentation and rastermask UI frontend module #18722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/common/iop_order.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
This file is part of darktable,
Copyright (C) 2018-2024 darktable developers.
Copyright (C) 2018-2025 darktable developers.
darktable is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -82,6 +82,7 @@ const dt_iop_order_entry_t legacy_order[] = {
{ { 1.0f }, "rawprepare", 0},
{ { 2.0f }, "invert", 0},
{ { 3.0f }, "temperature", 0},
{ { 3.5f }, "rastermaps", 0},
{ { 4.0f }, "highlights", 0},
{ { 5.0f }, "cacorrect", 0},
{ { 6.0f }, "hotpixels", 0},
@@ -177,6 +178,7 @@ const dt_iop_order_entry_t v30_order[] = {
{ { 1.0 }, "rawprepare", 0},
{ { 2.0 }, "invert", 0},
{ { 3.0f }, "temperature", 0},
{ { 3.5f }, "rastermaps", 0},
{ { 4.0f }, "highlights", 0},
{ { 5.0f }, "cacorrect", 0},
{ { 6.0f }, "hotpixels", 0},
@@ -293,6 +295,7 @@ const dt_iop_order_entry_t v50_order[] = {
{ { 1.0 }, "rawprepare", 0},
{ { 2.0 }, "invert", 0},
{ { 3.0f }, "temperature", 0},
{ { 3.5f }, "rastermaps", 0},
{ { 4.0f }, "highlights", 0},
{ { 5.0f }, "cacorrect", 0},
{ { 6.0f }, "hotpixels", 0},
@@ -411,6 +414,7 @@ const dt_iop_order_entry_t v30_jpg_order[] = {
{ { 1.0 }, "rawprepare", 0 },
{ { 2.0 }, "invert", 0 },
{ { 3.0f }, "temperature", 0 },
{ { 3.5f }, "rastermaps", 0},
{ { 4.0f }, "highlights", 0 },
{ { 5.0f }, "cacorrect", 0 },
{ { 6.0f }, "hotpixels", 0 },
@@ -530,6 +534,7 @@ const dt_iop_order_entry_t v50_jpg_order[] = {
{ { 1.0 }, "rawprepare", 0 },
{ { 2.0 }, "invert", 0 },
{ { 3.0f }, "temperature", 0 },
{ { 3.5f }, "rastermaps", 0},
{ { 4.0f }, "highlights", 0 },
{ { 5.0f }, "cacorrect", 0 },
{ { 6.0f }, "hotpixels", 0 },
@@ -1173,6 +1178,7 @@ GList *dt_ioppr_get_iop_order_list(const dt_imgid_t imgid,
_insert_before(iop_order_list, "nlmeans", "blurs");
_insert_before(iop_order_list, "filmicrgb", "sigmoid");
_insert_before(iop_order_list, "colorbalancergb", "colorequal");
_insert_before(iop_order_list, "rastermaps", "highlights");
}
}
else if(version >= DT_IOP_ORDER_LEGACY
1 change: 1 addition & 0 deletions src/iop/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -154,6 +154,7 @@ add_iop(blurs "blurs.c")
add_iop(sigmoid "sigmoid.c")
add_iop(primaries "primaries.c")
add_iop(colorequal "colorequal.c")
add_iop(rastermaps "rastermaps.c")

if(Rsvg2_FOUND)
add_iop(watermark "watermark.c")
932 changes: 932 additions & 0 deletions src/iop/rastermaps.c

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/libs/modulegroups.c
Original file line number Diff line number Diff line change
@@ -1604,6 +1604,7 @@ void init_presets(dt_lib_module_t *self)
AM("lens");
AM("liquify");
AM("nlmeans");
AM("rastermaps");
AM("rawdenoise");
AM("retouch");
AM("rotatepixels");
@@ -1705,6 +1706,7 @@ void init_presets(dt_lib_module_t *self)
AM("lens");
AM("retouch");
AM("liquify");
AM("rastermaps");
AM("sharpen");
AM("nlmeans");

@@ -1756,6 +1758,7 @@ void init_presets(dt_lib_module_t *self)
AM("lens");
AM("retouch");
AM("liquify");
AM("rastermaps");
AM("sharpen");
AM("nlmeans");