Changes between Version 3 and Version 4 of Spatial_Query_Framework


Ignore:
Timestamp:
01/10/07 14:07:18 (11 years ago)
Author:
ebmoore
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Spatial_Query_Framework

    v3 v4  
    11This is an overview that I wrote as a paper to help focus on paper writing.  The description doesn't completely match with what was/will be implemented. 
    22 
    3 Framework of Spatial Query Services 
     3== Framework of Spatial Query Services == 
    44 
    5 I. Introduction 
     5=== I. Introduction === 
    66Labs are generating more and more volumetric neuroimaging data and want to pose increasingly complex queries on this information.  To help accommodate this, we have developed 3 web accessible services for querying this data based on spatial characteristics.  This framework consists of 1) a transformation service to convert data-points between anatomical spaces (i.e. magnet coordinates to normalized space), 2) an atlas server that can answer questions about individual points or export atlas surfaces for further processing and 3) a spatial query service that gives researchers the ability to pose complex spatial queries on their own data.  These services are designed so that they can be integrated and used in many complex and novel ways by using the XQuery query language as the primary integrator. 
    77        While the system would be faster as a monolithic query services running locally, the flexibility offered by using the service based approach outweighs the wasted seconds.  Most of the lost efficiency is due to network speeds and the overhead of packing and unpacking the data at both ends.  While this is a slight concern, the extensibility and pliability offered by this framework allow researchers to quickly design and perform custom spatial queries.  Furthermore, by making the primary integrator a query language, custom queries become much easier to write and tweak. 
    88 
    9 II. Methods 
     9=== II. Methods === 
    1010 
    11 A. Transformation Service 
     11==== A. Transformation Service ==== 
    1212The transformation service provides a central and interoperable way to warp coordinates and volumes from one set of spatial coordinates to another.  It is extensible and can have many different types of transforms, but currently it supports linear and SPM's non-linear warps. 
    1313 
    14 B. Volumetric Atlas Service 
    15 The volumetr 
    16 C. Spatial Query Service 
     14==== B. Volumetric Atlas Service ==== 
     15 
     16==== C. Spatial Query Service ==== 
    1717The spatial query service allows scientists to query 3D and 4D volumetric imaging data.  The system exposes the following methods for querying the data: 
    1818        a.      files(url) 
     
    3131Fig C1. Example syntax for specifying a simple region. 
    3232 
    33 The final and most powerful query method is query-pnuts, which can process a script written in P-nuts.  P-nuts is a simple and concise scripting language for the Java Virtual Machine.  It has the advantage of integrating cleanly with the underlying system and yet providing a simpler syntax than Java.  The system then provides easy access to the data in the filter region and global statistics.  The results are then automatically formatted as XML and returned. D. Integrator 
     33The final and most powerful query method is query-pnuts, which can process a script written in P-nuts.  P-nuts is a simple and concise scripting language for the Java Virtual Machine.  It has the advantage of integrating cleanly with the underlying system and yet providing a simpler syntax than Java.  The system then provides easy access to the data in the filter region and global statistics.  The results are then automatically formatted as XML and returned.  
     34==== D. Integrator ==== 
    3435 
    3536{{{ 
     
    4344Fig D1. A simple query to return files with activation in the temporal lobe 
    4445 
    45 III. Discussion 
     46=== III. Discussion ===