SAGA.imagery_opencv.6: K-Nearest Neighbours Classification (OpenCV)
Integration of the OpenCV Machine Learning library for K-Nearest Neighbours classification of gridded features.
Execute End Point
View the execution endpoint of a process.
View the alternative version in HTML.
{"id": "SAGA.imagery_opencv.6", "title": "K-Nearest Neighbours Classification (OpenCV)", "description": "Integration of the OpenCV Machine Learning library for K-Nearest Neighbours classification of gridded features.", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "type": "application/json", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8111/ogc-api/processes/SAGA.imagery_opencv.6/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8111/ogc-api/processes/SAGA.imagery_opencv.6/execution.html"}], "inputs": {"FEATURES": {"title": "Features", "description": "Features", "maxOccurs": 1024, "extended-schema": {"type": "array", "minItems": 1, "maxItems": 1024, "items": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "FEATURES"}, "NORMALIZE": {"title": "Normalize", "description": "Normalize", "schema": {"type": "boolean", "default": false, "nullable": true}, "id": "NORMALIZE"}, "RGB_COLORS": {"title": "Update Colors from Features", "description": "Use the first three features in list to obtain blue, green, red components for class colour in look-up table.", "schema": {"type": "boolean", "default": false, "nullable": true}, "id": "RGB_COLORS"}, "MODEL_LOAD": {"title": "Load Model", "description": "Use a model previously stored to file.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/plain"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/plain"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/plain"}]}, "id": "MODEL_LOAD"}, "TRAIN_AREAS": {"title": "Training Areas", "description": "Training Areas", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "application/vnd.google-earth.kml+xml", "application/json"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/vnd.google-earth.kml+xml"}, {"type": "object"}]}, "id": "TRAIN_AREAS"}, "TRAIN_CLASS": {"title": "Class Identifier", "description": "Class Identifier", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/csv", "text/csv"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}, "id": "TRAIN_CLASS"}, "TRAIN_BUFFER": {"title": "Buffer Size", "description": "For non-polygon type training areas, creates a buffer with a diameter of specified size.", "schema": {"type": "number", "default": 1, "format": "double", "nullable": true}, "id": "TRAIN_BUFFER"}, "MODEL_SAVE": {"title": "Save Model", "description": "Stores model to file to be used for subsequent classifications instead of training areas.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/plain"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/plain"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/plain"}]}, "id": "MODEL_SAVE"}, "NEIGHBOURS": {"title": "Default Number of Neighbours", "description": "Default Number of Neighbours", "schema": {"type": "integer", "default": 3, "nullable": true}, "id": "NEIGHBOURS"}, "TRAINING": {"title": "Training Method", "description": "Training Method", "schema": {"type": "string", "default": "classification", "enum": ["classification", "regression model"], "nullable": true}, "id": "TRAINING"}, "ALGORITHM": {"title": "Algorithm Type", "description": "Algorithm Type", "schema": {"type": "string", "default": "brute force", "enum": ["brute force", "KD Tree"], "nullable": true}, "id": "ALGORITHM"}, "EMAX": {"title": "Parameter for KD Tree implementation", "description": "Parameter for KD Tree implementation", "schema": {"type": "integer", "default": 1000, "nullable": true}, "id": "EMAX"}}, "outputs": {"CLASSES": {"title": "Classification", "description": "Classification", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "CLASSES"}}}
Display original data as JSON
http://tb17.geolabs.fr:8111/ogc-api/processes/SAGA.imagery_opencv.6.html Last modified: Sat Dec 4 00:09:36 CET 2021