Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For a specified Atlas, find the closest annotated SectionImage and (x,y) location as defined by a seed SectionImage and seed (x,y) location.

Prototype

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_atlas/[SectionImage.id].[xml|json]?x=[#]&y=[#]&z=[#]&atlas_id=[#]

...

For a seed location in SectionImage 68173101, locate the closest image and (x,y) position within the P56 coronal Atlas:

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_atlas/68173101.xml?x=6208&y=2368&atlas_id=1

...

For a list of target SectionDataSets, find the closest SectionImage and (x,y) location as defined by a seed SectionImage and seed (x,y) pixel location.

Prototype

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_image/[SectionImage.id].[xml|json]?x=[#]&y=[#]&section_data_set_ids=[#,#,#...]

...

For seed location in SectionImage 68173101, locate the closest 3-D position in each input SectionDataSet.

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_image/68173101.xml?x=6208&y=2368&section_data_set_ids=67810540,69782969

...

For a list of target SectionImages, find the closest (x,y) location as defined by a seed SectionImage and seed (x,y) location.

Prototype

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_image_2d/[SectionImage.id].[xml|json]?x=[#]&y=[#]&section_image_ids=[#,#,#...]

...

For a seed location in SectionImage 68173101, locate the closest 2-D position in each input SectionImage:

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_image_2d/68173101.xml?x=6208&y=2368&section_image_ids=68173103,68173105,68173107

...

For a list of target SectionDataSets, find the closest SectionImage and (x,y) location as defined by a (x,y,z) location in a specified ReferenceSpace.

Prototype

Code Blocknoformat
http://api.brain-map.org/api/v2/reference_to_image/[ReferenceSpace.id].[xml|json]?x=[#]&y=[#]&z=[#]&section_data_set_ids=[#,#,#...]

...

For a 3-D seed location in the P56 ReferenceSpace, locate the closest image and (x,y) location for each input SectionDataSet.

Code Blocknoformat
http://api.brain-map.org/api/v2/reference_to_image/10.xml?x=6085&y=3670&z=4883&section_data_set_ids=68545324,67810540

...

For a specified SectionImage and (x,y) location, return the (x,y,z) location in the ReferenceSpace of the associated SectionDataSet.

Prototype

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_reference/[SectionImage.id].[xml|json]?x=[#]&y=[#]

...

For a location in SectionImage 68173101, return the (x,y,z) position in the associated ReferenceSpace.

Code Blocknoformat
http://api.brain-map.org/api/v2/image_to_reference/68173101.xml?x=6208&y=2368

RMA query to return the associated ReferenceSpace:

Code Blocknoformat
http://api.brain-map.org/api/v2/data/query.xml?criteria=
    model::SubImage,
    rma::criteria,[id$eq68173101],
    rma::include,data_set,
    rma::options[only$eq'data_sets.id,data_sets.reference_space_id,sub_images.id']

...

For a list of target structures, find the closest SectionImage and (x,y) location as defined by the centroid of each Structure.

Prototype

Code Blocknoformat
http://api.brain-map.org/api/v2/structure_to_image/[SectionDataSet.id].[xml|json]?structure_ids=[#,#,#...]

...

For each Structure in the input list, locate the closest image and (x,y) location in SectionDataSet 68545324:

Code Blocknoformat
http://api.brain-map.org/api/v2/structure_to_image/68545324.xml?structure_ids=315,698,1089,703,477,803,512,549,1097,313,771,354

...