-
Notifications
You must be signed in to change notification settings - Fork 33
FindImage
Luis edited this page May 22, 2018
·
2 revisions
Works in a similar manner as FindEntity with the exception of returning image blobs and allowing the possibility of applying operations before returning those image blobs.
- [optional] _ref: local id to be used as reference for a given entity.
- [optional] unique: [True or False]. Indicates whether a single element is expected to match that condition.
- [optional] results
- [optional] constraints
- [optional] link
- [optional] operations
If the constraints block is skipped, all entities with the given class are returned. If the class is skipped, all entities ever added to the system are returned.
If the requested response was a list with some number of given property keys Indicates how many values matched the search condition. If limit is provided, the number of entries returned will be n <= m (which is the actually matched quantity)
// Find an image based on some of its properties (patient_id)
"FindImage": {
"_ref": 1,
"constraints" : {
"patient_id": [ "==", "TCGA-02-0070" ]
},
"operations": [
{
"type": "threshold",
"value": 45
}
],
"result": {
"list": ["name", "size"],
"limit": 150,
}
}
// Find an image connected to a "patient" entity.
"FindEntity": {
"_ref": 344554,
"class": "patient",
"constraints" : {
"patient_id": [ "==", "TCGA-02-0070" ]
}
},
"FindImage": {
"link": {
"ref": 344554,
}
}
Visual Data Management System - Intel Labs
FLINNG Library and Performance
Basic Building Blocks
Insert
- AddBlob
- AddBoundingBox
- AddConnection
- AddDescriptor
- AddDescriptorSet
- AddEntity
- AddImage
- AddVideo
- NeoAdd
Query
- ClassifyDescriptor
- FindBlob
- FindBoundingBox
- FindConnection
- FindDescriptor
- FindDescriptorSet
- FindEntity
- FindFrames
- FindImage
- FindVideo
- NeoFind
Update