Utilisation de depth map

This commit is contained in:
Alex committed 2026-10-04 23:13:07 +02:00
1 parent 3ed0fa0987
commit 34984e96f7
14 files changed
+766 -54

No files matched your search

+36 -12
View File
@@ -42,8 +42,20 @@ msgid "Stacked, darkest in front (board no. 1 = lightest, whole image)"
msgstr "Stacked, darkest in front (board no. 1 = lightest, whole image)"
#: gray_iso_layers.inx
msgid "Its own gray only (boards side by side, no overlap)"
msgstr "Its own gray only (boards side by side, no overlap)"
msgid "Its own gray only (flat areas tiling the image, no overlap)"
msgstr "Its own gray only (flat areas tiling the image, no overlap)"
#: gray_iso_layers.inx
msgid "Position of the boards:"
msgstr "Position of the boards:"
#: gray_iso_layers.inx
msgid "On top of each other, at the place of the image"
msgstr "On top of each other, at the place of the image"
#: gray_iso_layers.inx
msgid "Side by side, in a grid to the right of the image"
msgstr "Side by side, in a grid to the right of the image"
#: gray_iso_layers.inx
msgid "Mark on each board the outline of the next one (stacked boards)"
@@ -53,6 +65,14 @@ msgstr "Mark on each board the outline of the next one (stacked boards)"
msgid "Assembly guide: the outline of the board to glue on top is drawn in the marking color, without being cut."
msgstr "Assembly guide: the outline of the board to glue on top is drawn in the marking color, without being cut."
#: gray_iso_layers.inx
msgid "Write the board numbers"
msgstr "Write the board numbers"
#: gray_iso_layers.inx
msgid "Drawn in the marking color, to engrave. Framed number: the number of the board itself, on each of its pieces, hidden under the next board when there is room. Plain number: the board to glue in that marked area."
msgstr "Drawn in the marking color, to engrave. Framed number: the number of the board itself, on each of its pieces, hidden under the next board when there is room. Plain number: the board to glue in that marked area."
#: gray_iso_layers.inx
msgid "Smoothing (% of the image's longer side):"
msgstr "Smoothing (% of the image's longer side):"
@@ -98,16 +118,16 @@ msgid "Depth"
msgstr "Depth"
#: gray_iso_layers.inx
msgid "Depth map share (%):"
msgstr "Depth map share (%):"
msgid "1. Depth map share (%):"
msgstr "1. Depth map share (%):"
#: gray_iso_layers.inx
msgid "0 uses the grays of the image alone, 100 its estimated depth alone. In between, the depth gives the volumes and the grays keep details such as the eyes and the mouth. Needs the depth models, installed by deploy.ps1 -Depth."
msgstr "0 uses the grays of the image alone, 100 its estimated depth alone. In between, the depth gives the volumes and the grays keep details such as the eyes and the mouth. Needs the depth models, installed by deploy.ps1 -Depth."
#: gray_iso_layers.inx
msgid "Depth model:"
msgstr "Depth model:"
msgid "2. Depth model:"
msgstr "2. Depth model:"
#: gray_iso_layers.inx
msgid "Fast (MiDaS small)"
@@ -118,16 +138,16 @@ msgid "Fine (Depth Anything V2 Small)"
msgstr "Fine (Depth Anything V2 Small)"
#: gray_iso_layers.inx
msgid "Fine details of the photo (%):"
msgstr "Fine details of the photo (%):"
msgid "3. Fine details of the photo (%):"
msgstr "3. Fine details of the photo (%):"
#: gray_iso_layers.inx
msgid "Carves the fine contrasts of the photo (eyes, mouth, eyebrows, strands of hair) into the depth, which has none of them. A plain background brings nothing and stays at the back. 0 keeps the smooth depth alone."
msgstr "Carves the fine contrasts of the photo (eyes, mouth, eyebrows, strands of hair) into the depth, which has none of them. A plain background brings nothing and stays at the back. 0 keeps the smooth depth alone."
#: gray_iso_layers.inx
msgid "The depth of the scene is estimated from the photo: near areas become light, far areas dark. With boards stacked lightest in front, the nearest part of the subject ends up in front."
msgstr "The depth of the scene is estimated from the photo: near areas become light, far areas dark. With boards stacked lightest in front, the nearest part of the subject ends up in front."
msgid "Each setting carries a number: the examples below show, under the same number, what it does for several values."
msgstr "Each setting carries a number: the examples below show, under the same number, what it does for several values."
#: gray_iso_layers.inx
msgid "The estimate runs on the graphics card when possible and is kept in a cache: only the first run on an image takes a few seconds."
@@ -187,7 +207,7 @@ msgid ""
"\n"
"The image is smoothed, then split into the requested number of gray levels with evenly spaced thresholds. Each level becomes one closed path that follows the edge of its flat area, like a contour line on a map.\n"
"\n"
"Each gray level goes into its own layer, named Board no. 1, Board no. 2... from the back to the front, added above the image: as many new layers as gray levels. The boards are meant to be cut and stacked: board no. 1 covers the whole image and each following board is smaller and lies in front of the previous one, lightest (or darkest) in front. In each layer, the cut outline of the board is drawn in the cut color (red), and the outline of the next board is carried over in the marking color (black), to show where to glue it. With \"Its own gray only\", a board holds the flat area of its gray alone: the boards sit side by side without overlapping and carry no marking. Several selected images share the same layers.\n"
"Each gray level goes into its own layer, named Board no. 1, Board no. 2... from the back to the front, added above the image: as many new layers as gray levels. The boards are meant to be cut and stacked: board no. 1 covers the whole image and each following board is smaller and lies in front of the previous one, lightest (or darkest) in front. In each layer, the cut outline of the board is drawn in the cut color (red), and the outline of the next board is carried over in the marking color (black), to show where to glue it. With the board numbers, each piece of a board carries its own number in a frame, and each marked area carries, without a frame, the number of the board to glue there. With \"Its own gray only\", a board holds the flat area of its gray alone: the flat areas tile the image without overlapping and carry no marking. Several selected images share the same layers. With the boards side by side, each board is moved into its own cell of a grid to the right of the image, with its marking, so that every board can be seen and cut on its own.\n"
"\n"
"For a relief that follows the real volumes of a portrait rather than its light and shadows, raise the depth map share (Depth tab): at 100, the boards follow the volumes, and the fine details setting carves the eyes and the mouth into them. A depth map made elsewhere (8 or 16 bits) can also be imported and selected like any image, with a share of 0. In both cases, if most boards come out empty or the subject only gets a few of them, raise the level distribution.\n"
"\n"
@@ -197,7 +217,7 @@ msgstr ""
"\n"
"The image is smoothed, then split into the requested number of gray levels with evenly spaced thresholds. Each level becomes one closed path that follows the edge of its flat area, like a contour line on a map.\n"
"\n"
"Each gray level goes into its own layer, named Board no. 1, Board no. 2... from the back to the front, added above the image: as many new layers as gray levels. The boards are meant to be cut and stacked: board no. 1 covers the whole image and each following board is smaller and lies in front of the previous one, lightest (or darkest) in front. In each layer, the cut outline of the board is drawn in the cut color (red), and the outline of the next board is carried over in the marking color (black), to show where to glue it. With \"Its own gray only\", a board holds the flat area of its gray alone: the boards sit side by side without overlapping and carry no marking. Several selected images share the same layers.\n"
"Each gray level goes into its own layer, named Board no. 1, Board no. 2... from the back to the front, added above the image: as many new layers as gray levels. The boards are meant to be cut and stacked: board no. 1 covers the whole image and each following board is smaller and lies in front of the previous one, lightest (or darkest) in front. In each layer, the cut outline of the board is drawn in the cut color (red), and the outline of the next board is carried over in the marking color (black), to show where to glue it. With the board numbers, each piece of a board carries its own number in a frame, and each marked area carries, without a frame, the number of the board to glue there. With \"Its own gray only\", a board holds the flat area of its gray alone: the flat areas tile the image without overlapping and carry no marking. Several selected images share the same layers. With the boards side by side, each board is moved into its own cell of a grid to the right of the image, with its marking, so that every board can be seen and cut on its own.\n"
"\n"
"For a relief that follows the real volumes of a portrait rather than its light and shadows, raise the depth map share (Depth tab): at 100, the boards follow the volumes, and the fine details setting carves the eyes and the mouth into them. A depth map made elsewhere (8 or 16 bits) can also be imported and selected like any image, with a share of 0. In both cases, if most boards come out empty or the subject only gets a few of them, raise the level distribution.\n"
"\n"
@@ -231,6 +251,10 @@ msgstr "Cut"
msgid "Marking of board no. {}"
msgstr "Marking of board no. {}"
#: gray_iso_layers.py
msgid "Numbers"
msgstr "Numbers"
#: gray_iso_layers.py
msgid "No depth map for the image '{}' ({}). Install the depth models with 'deploy.ps1 -Depth'. The grays of the image are used alone."
msgstr "No depth map for the image '{}' ({}). Install the depth models with 'deploy.ps1 -Depth'. The grays of the image are used alone."