FeatureMatch.descriptor1#
- property FeatureMatch.descriptor1: Any[source]#
Feature descriptor in first image
- Returns:
feature descriptor
- Return type:
ndarray(M) or ndarray(N,M)
Example:
>>> from machinevisiontoolbox import Image >>> orb1 = Image.Read("eiffel-1.png").ORB() >>> orb2 = Image.Read("eiffel-2.png").ORB() >>> matches = orb1.match(orb2) >>> matches.descriptor1 [array([124, 241, 58, ..., 2, 102, 35], shape=(32,), dtype=uint8), array([134, 157, 22, ..., 14, 189, 134], shape=(32,), dtype=uint8), array([ 82, 73, 62, ..., 16, 165, 74], shape=(32,), dtype=uint8), array([138, 137, 22, ..., 14, 189, 198], shape=(32,), dtype=uint8), array([ 75, 48, 161, ..., 132, 7, 125], shape=(32,), dtype=uint8), array([ 34, 149, 146, ..., 94, 189, 198], shape=(32,), dtype=uint8), array([ 2, 205, 22, ..., 14, 189, 142], shape=(32,), dtype=uint8), array([162, 165, 2, ..., 12, 189, 142], shape=(32,), dtype=uint8), array([ 80, 145, 62, ..., 8, 165, 202], shape=(32,), dtype=uint8), array([124, 100, 252, ..., 251, 70, 99], shape=(32,), dtype=uint8), array([ 41, 115, 114, ..., 158, 195, 159], shape=(32,), dtype=uint8), array([ 71, 242, 47, ..., 129, 135, 117], shape=(32,), dtype=uint8), array([195, 146, 62, ..., 0, 35, 59], shape=(32,), dtype=uint8), array([ 2, 157, 62, ..., 8, 189, 206], shape=(32,), dtype=uint8), array([ 41, 159, 121, ..., 130, 82, 121], shape=(32,), dtype=uint8), array([ 9, 151, 123, ..., 139, 82, 249], shape=(32,), dtype=uint8), array([ 6, 149, 18, ..., 78, 189, 198], shape=(32,), dtype=uint8), array([ 14, 156, 6, ..., 109, 61, 150], shape=(32,), dtype=uint8), array([ 34, 169, 2, ..., 30, 185, 142], shape=(32,), dtype=uint8), array([ 27, 215, 106, ..., 140, 185, 221], shape=(32,), dtype=uint8), array([ 32, 57, 184, ..., 192, 71, 251], shape=(32,), dtype=uint8), array([ 60, 177, 247, ..., 116, 166, 243], shape=(32,), dtype=uint8), array([ 32, 79, 122, ..., 178, 102, 169], shape=(32,), dtype=uint8), array([189, 249, 123, ..., 139, 102, 35], shape=(32,), dtype=uint8), array([176, 124, 59, ..., 17, 102, 187], shape=(32,), dtype=uint8), array([ 94, 149, 122, ..., 231, 175, 99], shape=(32,), dtype=uint8), array([ 8, 185, 186, ..., 192, 199, 251], shape=(32,), dtype=uint8), array([ 8, 189, 58, ..., 192, 199, 187], shape=(32,), dtype=uint8), array([220, 157, 61, ..., 0, 165, 33], shape=(32,), dtype=uint8), array([ 57, 123, 122, ..., 158, 203, 249], shape=(32,), dtype=uint8), array([ 11, 223, 106, ..., 158, 57, 221], shape=(32,), dtype=uint8), array([180, 9, 125, ..., 179, 102, 163], shape=(32,), dtype=uint8), array([ 10, 205, 14, ..., 125, 61, 206], shape=(32,), dtype=uint8), array([124, 241, 187, ..., 34, 166, 34], shape=(32,), dtype=uint8), array([ 10, 93, 62, ..., 76, 189, 206], shape=(32,), dtype=uint8), array([ 56, 36, 104, ..., 251, 126, 227], shape=(32,), dtype=uint8), array([ 90, 179, 28, ..., 0, 47, 27], shape=(32,), dtype=uint8), array([184, 236, 104, ..., 131, 110, 202], shape=(32,), dtype=uint8), array([ 27, 157, 106, ..., 140, 185, 221], shape=(32,), dtype=uint8), array([ 20, 174, 222, ..., 250, 41, 129], shape=(32,), dtype=uint8), array([ 1, 176, 59, ..., 130, 71, 251], shape=(32,), dtype=uint8), array([216, 213, 61, ..., 16, 165, 43], shape=(32,), dtype=uint8), array([ 61, 30, 111, ..., 243, 114, 113], shape=(32,), dtype=uint8), array([124, 49, 191, ..., 114, 166, 50], shape=(32,), dtype=uint8), array([83, 50, 5, ..., 4, 11, 93], shape=(32,), dtype=uint8), array([213, 221, 28, ..., 115, 152, 3], shape=(32,), dtype=uint8), array([131, 249, 59, ..., 146, 33, 219], shape=(32,), dtype=uint8), array([124, 105, 57, ..., 19, 2, 42], shape=(32,), dtype=uint8), array([ 68, 1, 188, ..., 106, 197, 34], shape=(32,), dtype=uint8), array([ 9, 255, 105, ..., 242, 82, 121], shape=(32,), dtype=uint8), array([228, 121, 249, ..., 240, 198, 235], shape=(32,), dtype=uint8), array([218, 122, 246, ..., 212, 11, 13], shape=(32,), dtype=uint8), array([246, 229, 169, ..., 126, 214, 230], shape=(32,), dtype=uint8), array([221, 112, 53, ..., 51, 7, 113], shape=(32,), dtype=uint8), array([180, 109, 248, ..., 243, 226, 41], shape=(32,), dtype=uint8), array([124, 249, 122, ..., 131, 110, 83], shape=(32,), dtype=uint8), array([120, 187, 154, ..., 2, 46, 11], shape=(32,), dtype=uint8), array([ 60, 113, 25, ..., 19, 14, 131], shape=(32,), dtype=uint8), array([ 60, 164, 188, ..., 74, 84, 170], shape=(32,), dtype=uint8), array([ 6, 126, 31, ..., 33, 39, 179], shape=(32,), dtype=uint8), array([212, 204, 22, ..., 127, 168, 6], shape=(32,), dtype=uint8), array([ 42, 157, 22, ..., 14, 188, 190], shape=(32,), dtype=uint8), array([212, 235, 150, ..., 112, 67, 42], shape=(32,), dtype=uint8), array([142, 62, 166, ..., 212, 189, 223], shape=(32,), dtype=uint8), array([132, 121, 27, ..., 19, 33, 163], shape=(32,), dtype=uint8), array([ 40, 148, 252, ..., 216, 196, 171], shape=(32,), dtype=uint8), array([194, 134, 174, ..., 116, 175, 223], shape=(32,), dtype=uint8), array([171, 190, 125, ..., 228, 199, 255], shape=(32,), dtype=uint8), array([ 95, 219, 167, ..., 119, 61, 117], shape=(32,), dtype=uint8), array([ 95, 255, 38, ..., 55, 61, 125], shape=(32,), dtype=uint8), array([ 15, 180, 154, ..., 99, 171, 135], shape=(32,), dtype=uint8), array([ 61, 180, 247, ..., 117, 230, 211], shape=(32,), dtype=uint8), array([177, 124, 59, ..., 249, 66, 251], shape=(32,), dtype=uint8), array([ 84, 122, 27, ..., 59, 35, 27], shape=(32,), dtype=uint8), array([ 71, 235, 171, ..., 243, 99, 197], shape=(32,), dtype=uint8), array([ 94, 205, 30, ..., 80, 165, 107], shape=(32,), dtype=uint8), array([147, 253, 107, ..., 146, 167, 124], shape=(32,), dtype=uint8), array([ 88, 123, 3, ..., 23, 6, 121], shape=(32,), dtype=uint8), array([162, 80, 60, ..., 3, 164, 14], shape=(32,), dtype=uint8), array([ 88, 54, 90, ..., 196, 139, 211], shape=(32,), dtype=uint8), array([198, 238, 254, ..., 251, 184, 137], shape=(32,), dtype=uint8), array([226, 101, 251, ..., 241, 162, 161], shape=(32,), dtype=uint8)] >>> matches[0].descriptor1 array([124, 241, 58, ..., 2, 102, 35], shape=(32,), dtype=uint8)