similarity

Compare two sets of objects (skeletons or point clouds) and return an

Changed on

Compare two sets of objects (skeletons or point clouds) and return an NBLAST scoring based on an existing NBLAST configuration.

posthttp://localhost:8000/{project_id}/similarity/queries/similarity

Request

Path parameters

project_idstring required

Project to operate in

Request body application/x-www-form-urlencoded

config_idstring required

ID of the new NBLAST configuration to use

query_idsstring required

Set of objects (skeletons or point clouds) to query similarity for.

target_idsstring required

Set of objects (skeletons or point clouds) or point clouds to compare against.

target_typestring

Type of target objects, 'skeleton' or 'pointcloud'.

namestring

Name for the similarity lookup task

normalizedstring

Whether and how scores should be normalized.

use_alphastring

Whether to consider local directions in the similarity computation

reversestring

If enabled, the target is matched against the query.

query_type_idstring

Type of query data

target_type_idstring

Type of query data

query_metastring

Extra data for the selected query type. A JSON encoded string is expected.

target_metastring

Extra data for the selected target type. A JSON encoded string is expected.

remove_target_duplicatesstring

Remove all target objects that appear also in the query.

simplifystring

Whether or not to simplify neurons and remove parts below a specified branch point level.

required_branchesstring

The required branch levels if neurons should be simplified.

use_cachestring

Whether or not to use cached data when computing similarity scores.

top_nstring

How many results should be returned sorted by score. A value of zero dsiables this cutoff.

Response

Created

Changes