Class ZBAtlasUtils

java.lang.Object
sc.fiji.snt.annotation.ZBAtlasUtils

public class ZBAtlasUtils extends Object
Utility methods for accessing the Max Plank Zebrafish Brain Atlas (ZBA) at fishatlas.neuro.mpg.de.
Author:
Tiago Ferreira
  • Method Details

    • isDatabaseAvailable

      public static boolean isDatabaseAvailable()
      Checks whether a connection to the FishAtlas database can be established.
      Returns:
      true, if an HHTP connection could be established
    • brainBarycentre

      public static SNTPoint brainBarycentre()
      Returns the spatial centroid of the template brain.
      Returns:
      the SNT point defining the (X,Y,Z) center of the brain outline.
    • getRefBrain

      public static OBJMesh getRefBrain() throws IllegalArgumentException
      Retrieves the surface mesh (outline) of the zebrafish template brain.
      Returns:
      the outline mesh.
      Throws:
      IllegalArgumentException - if mesh could not be retrieved.
    • getXYZLabels

      public static String[] getXYZLabels()
      Returns:
      the anatomical descriptions associated with the Cartesian X,Y,Z axes