Changes between Initial Version and Version 1 of barServiceQueryReconstruction


Ignore:
Timestamp:
03/07/12 15:58:08 (13 years ago)
Author:
jkowalski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • barServiceQueryReconstruction

    v1 v1  
     1=== [wiki:barServiceQueryReconstruction queryReconstruction] === 
     2 
     3Return AJAX data describing reconstructions in the service matching the criteria. 
     4 
     5 syntax:: 
     6{{{ 
     7queryReconstruction?cafDatasetName=<dataset identifier> 
     8                   ;structureList=<structure name> 
     9                   ;outputFormats=<output format list> 
     10                  [;resolution=<resolution>] 
     11                  [;pipeline=<pipeline name>] 
     12                  [;switches=<switches list>] 
     13}}} 
     14 
     15==== Required arguments ==== 
     16* cafDatasetName 
     17          The service identifier of the selected CAF dataset. 
     18 
     19        
     20* structureName 
     21          Name of structure from hierarchy tree. In practice nearly all names 
     22          should be fine. Formally name has to point to a root node of a subtree 
     23          containing at least one node with representation among paths in CAF 
     24          slides. 
     25 
     26* outputFormats 
     27          Nonempty coma-separated list of reconstruction file format descriptors. 
     28          Allowed format descriptors are: 
     29            - exportToVRML:: VRML files, 
     30            - exportToX3d:: X3D files, 
     31            - exportToPOVRay:: POV-Ray files, 
     32            - exportToNiftii:: NIfTI files 
     33            - exportToVTKPolydata:: vtk polydata files, 
     34            - exportToNumpy:: NumPy array files, 
     35            - exportToVolume:: vtk structured grid files, 
     36            - exportScreenshot:: PNG images, 
     37            - exportThumbnail:: PNG thumbnails. 
     38 
     39==== Optional arguments ==== 
     40* resolution 
     41          Coronal and anterior-posterior voxel size separated with a coma. 
     42 
     43* pipeline 
     44          Name of the pipeline the reconstructions has been generated with. 
     45 
     46* switches 
     47          Nonempty coma-separated list of switches: 
     48            - brainoutline:: match only structures containing the outline of hierarchy tree root structure; forces 'composite' switch, 
     49            - composite:: only scene format descriptors ('exportToVRML', 'exportToX3d', 'exportToPOVRay', 'exportScreenshot', 'exportThumbnail') in the 'outputFormats' list.  
     50 
     51==== AJAX data type ==== 
     52{{{ 
     53[{ 
     54   String: String, 
     55   String: String, 
     56   String: Boolean, 
     57   String: String, 
     58   String: String, 
     59   String: Number, 
     60   String: String, 
     61   String: [Number, Number, String], 
     62   String: Number | null    
     63 }, 
     64 ...] 
     65}}} 
     66       
     67==== AJAX data description ==== 
     68 
     69The data is provided in format: 
     70{{{ 
     71[{ 
     72   'CAFSlideUnits': <unit>, 
     73   'status': <status>, 
     74   'compressed': <compressed>, 
     75   'groups': <groups>, 
     76   'format': <format>, 
     77   'cacheID': <id>, 
     78   'groupsID': <groups id>, 
     79   'quality': [<xyres>, <zres>, <pipeline name>], 
     80   'size': <size>    
     81 }, 
     82 ...] 
     83}}} 
     84 
     85 
     86==== Examples ==== 
     87* http://service.3dbar.org/queryReconstruction?cafDatasetName=sba_DB08;structureList=Br;outputFormats=exportToVRML 
     88* http://service.3dbar.org/queryReconstruction?cafDatasetName=whs_0.6.1;structureList=Brain;outputFormats=exportToVRML,exportToX3d;pipeline=whs_0.6.1-LQ;resolution=0.043,0.043 
     89* http://service.3dbar.org/queryReconstruction?cafDatasetName=sba_DB08;structureList=Amg;switches=brainoutline;outputFormats=exportToVRML,exportToX3d,exportScreenshot 
friendster counter