Bitwise Masks
Bitwise Masks - make bitwise operations between bitmap annotations.
1
{
2
"action": "bitwise_masks",
3
"src": [
4
"$sample"
5
],
6
"dst": "$sample1",
7
"settings": {
8
"type": "nor",
9
"class_mask": "road",
10
"classes_to_correct": [
11
"crack"
12
]
13
}
14
}
Copied!

Settings

  • type - type of bitwise operation, support values: or, and, nor.
  • class_mask - class name for first element of bitwise operation. It unchangeble object.
  • classes_to_correct - class names for second element of bitwise operations.

Visual example:

If you need save only objects (cracks for example) on road you can use bitwise operation and:
Last modified 1yr ago
Copy link