Line to Bitmap
This layer (line2bitmap) converts geometry figures (lines) to bitmaps.
1
{
2
"action": "line2bitmap",
3
"src": ["$sample1"],
4
"dst": "$sample2",
5
"settings": {
6
"classes_mapping": {
7
"some-lines": "some-lines-bitmap"
8
},
9
"width": 2
10
}
11
}
Copied!

Settings

  • classes_mapping โ€” dict where keys are existing classes of shape line, and values are new names of classes.
  • width โ€” line width in pixels.
Last modified 1yr ago
Copy link
Contents
Settings