Changes between Version 3 and Version 4 of barServiceQueryReconstruction


Ignore:
Timestamp:
03/08/12 10:52:13 (12 years ago)
Author:
jkowalski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • barServiceQueryReconstruction

    v3 v4  
    1 === [wiki:barServiceQueryReconstruction queryReconstruction] === 
     1= 3d Brain Atlas Reconstructor on-line service = 
     2 
     3== queryReconstruction == 
    24 
    35Return AJAX data describing reconstructions in the service matching the criteria. 
     
    1315}}} 
    1416 
    15 ==== Required arguments ==== 
    16 * cafDatasetName 
    17           The service identifier of the selected CAF dataset. 
     17=== Required arguments === 
     18 cafDatasetName:: The service identifier of the selected CAF dataset. 
    1819 
    1920        
    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. 
     21 structureName:: 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. 
    2525 
    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. 
     26 outputFormats:: Nonempty coma-separated list of reconstruction file format descriptors. 
     27                 Allowed format descriptors are: 
     28                 - 'exportToVRML':: VRML files, 
     29                 - 'exportToX3d':: X3D files, 
     30                 - 'exportToPOVRay':: POV-Ray files, 
     31                 - 'exportToNiftii':: NIfTI files 
     32                 - 'exportToVTKPolydata':: vtk polydata files, 
     33                 - 'exportToNumpy':: NumPy array files, 
     34                 - 'exportToVolume':: vtk structured grid files, 
     35                 - 'exportScreenshot':: PNG images, 
     36                 - 'exportThumbnail':: PNG thumbnails. 
    3837 
    39 ==== Optional arguments ==== 
    40 * resolution 
    41     Coronal and anterior-posterior voxel size separated with a coma. 
     38=== Optional arguments === 
     39 resolution:: Coronal and anterior-posterior voxel size separated with a coma. 
    4240 
    43 * pipeline 
    44     Service identifier of the pipeline the reconstructions has been generated with. 
     41 pipeline:: Service identifier of the pipeline the reconstructions has been generated with. 
    4542 
    46 * switches 
    47   Nonempty coma-separated list of switches: 
    48   - brainoutline 
    49       match only structures containing the outline of hierarchy tree root structure; forces 'composite' switch, 
    50   - composite 
    51       only scene format descriptors ('exportToVRML', 'exportToX3d', 'exportToPOVRay', 'exportScreenshot', 'exportThumbnail') in the 'outputFormats' list.  
     43 switches:: Nonempty coma-separated list of switches: 
     44            - brainoutline 
     45                match only structures containing the outline of hierarchy tree root structure; 
     46                forces 'composite' switch, 
     47            - composite 
     48                only scene format descriptors ('exportToVRML', 'exportToX3d', 'exportToPOVRay', 
     49                'exportScreenshot', 'exportThumbnail') are allowed in the ''outputFormats'' list.  
    5250 
    53 ==== AJAX data type ==== 
     51=== AJAX data type === 
    5452{{{ 
    5553[{ 
     
    6664 ...] 
    6765}}} 
    68        
    69 ==== AJAX data description ==== 
     66 
     67=== AJAX data description === 
    7068 
    7169The data is provided in format: 
     
    7371[{ 
    7472   'groups': <groups>, 
    75    'quality': [<xyres>, <zres>, <pipeline name>], 
     73   'quality': [<xyres>, <zres>, <pipeline>], 
    7674   'format': <format>, 
    7775   'compressed': <compressed>, 
     
    8583}}} 
    8684where: 
    87   <groups>:: is a string composed of reconstructed groups names separated with '_' character; if an outline is present in the reconstruction, its name precedes others and is separated with double '_' character, 
     85 <groups>:: is a string describing structures included in the reconstruction, 
     86 <xyres>:: is the coronal voxel size used in the reconstruction process, 
     87 <zres>:: is the anterior-posterior voxel size used in the reconstruction process, 
     88 <pipeline>:: is the service identifier of the pipeline used in the reconstruction process, 
     89 <format>:: is a string describing the format of reconstruction file, 
     90 <compressed>:: indicates if the reconstruction file has been compressed as a zip archive, 
     91 <status>:: is a string describing the status of the reconstruction; possible values are: 
     92            - 'None', 
     93            - 'Scheduled', 
     94            - 'Pending', 
     95            - 'In progress', 
     96            - 'Completed', 
     97            - 'Finished', 
     98            - 'Failed', 
     99            - 'Removed', 
     100 <id>:: is the service identifier of the reconstruction, 
     101 <size>:: is the reconstruction file size (in bytes), 
     102 <groups id>:: is a string composed of reconstructed groups names separated with '_' character; 
     103               if an outline is present in the reconstruction, its name precedes others and is 
     104               separated with double '_' character, 
     105 <unit>:: is the voxel size unit. 
    88106 
    89  
    90 ==== Examples ==== 
     107=== Examples === 
    91108* http://service.3dbar.org/queryReconstruction?cafDatasetName=sba_DB08;structureList=Br;outputFormats=exportToVRML 
    92109* 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 
friendster counter