Difference between revisions of "Filling Out the Array 2D Image Data Structure"

From The SBN Wiki
Jump to navigation Jump to search
(Creation)
 
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The '''''<Array_2D_Image>''''' is a specialization of the ''Array_2D'' class.  Use it for data that is primarily intended for visual display, or for analysis by image processing tool.
+
The '''''<Array_2D_Image>''''' is a specialization of the ''Array_2D'' class.  Use it for data that is primarily intended for visual display, or for analysis by image processing tools.
  
 
For an ''Array_2D_Image'', follow the instructions for [[Filling Out the Array_2D Data Structure]], with the following additional constraints/requirements:
 
For an ''Array_2D_Image'', follow the instructions for [[Filling Out the Array_2D Data Structure]], with the following additional constraints/requirements:
 
 
* Use '''<Array_2D_Image>''' and '''</Array_2D_Image>''' rather than '''<Array_2D>''' and '''</Array_2D>'''
 
* Use '''<Array_2D_Image>''' and '''</Array_2D_Image>''' rather than '''<Array_2D>''' and '''</Array_2D>'''
* After all the applicable ''Array_2D'' classes, you ''must'' include a ''Display_Class'', below.
+
* In the '''<Axis_Array>''' classes, one ''must'' have an '''<axis_name>''' of ''Line'', and the other ''must'' have an '''<axis_name>''' of ''Sample''
 
+
* You absolutely '''''must''''' include a ''<Display_Settings>'' class for this object in the ''<Discipline_Area>'' of the label.  The ''<Display Settings>'' class comes from the ''Display Discipline Dictionary''.  See [[Filling Out the Display Dictionary Classes]] for more information.
== <Display_2D_Image> ==
 
 
 
''REQUIRED''
 
 
 
This class indicates how the stored data should be drawn on a display device once it has been read into program memory.
 
 
 
=== <line_display_direction> ===
 
 
 
''REQUIRED''
 
 
 
This attribute must have one of the values '''Up''' or '''Down''', indicating that line should be drawn bottom-to-top or top-to-bottom, respectively.
 
 
 
=== <sample_display_direction> ===
 
 
 
''REQUIRED''
 
 
 
This attribute must have the value '''Right''', indicating that each individual image line must be drawn from left to right.
 

Latest revision as of 17:53, 22 April 2015

The <Array_2D_Image> is a specialization of the Array_2D class. Use it for data that is primarily intended for visual display, or for analysis by image processing tools.

For an Array_2D_Image, follow the instructions for Filling Out the Array_2D Data Structure, with the following additional constraints/requirements:

  • Use <Array_2D_Image> and </Array_2D_Image> rather than <Array_2D> and </Array_2D>
  • In the <Axis_Array> classes, one must have an <axis_name> of Line, and the other must have an <axis_name> of Sample
  • You absolutely must include a <Display_Settings> class for this object in the <Discipline_Area> of the label. The <Display Settings> class comes from the Display Discipline Dictionary. See Filling Out the Display Dictionary Classes for more information.