OOF2: The Manual

4.7.2. The Pixel Info Toolbox

The Pixel Info Toolbox displays information about pixels of the topmost Microstructure and/or Image displayed in the Canvas. Figure 4.7 shows the Toolbox and the Canvas.

Figure 4.7. The Pixel Info Toolbox

The Pixel Info Toolbox

When the mouse is clicked on the Canvas, the pixel under the mouse click is highlighted, as shown in the figure. The coordinates of the pixel are displayed in the Toolbox. A new pixel may be chosen by either clicking again on the Canvas, or by typing new coordinates into the x and y boxes in the Toolbox and clicking the Update button. Either action invokes the OOF.Graphics_n.Toolbox.Pixel_Info.Query command.

The Clear button resets the toolbox and un-highlights the selected pixel by invoking OOF.Graphics_n.Toolbox.Pixel_Info.Clear.

The way in which the selected pixel is highlighted in the Canvas may be changed by using the Layer Editor to alter the PixelInfoDisplay display methods that are assigned to the topmost Microstructure and Image. It will be necessary to enable List All Layers in the Settings menu first.

The data is displayed in the Toolbox in four different sections. Data is displayed only if the Canvas contains a Layer displaying an Image or Microstructure.

  • The top section shows data from the topmost Image in the display, but only if the topmost Image Layer is not obscured by a Microstructure Layer. It displays the name of the Image (actually, its path) and the RGB or HSV representation of the selected pixel's color.

  • The next section shows the name of the Microstructure and the pixel groups that contain the selected pixel.

  • The next section shows the name of the Material assigned to the selected pixel. If no Material

  • The final section shows the orientation of the pixel. If the pixel has a Material and that Material has an Orientation Property, that Property's orientation is displayed, as shown in the top part of Figure 4.8. If the pixel does not have an Orientation Property, but the Microstructure has an orientation map, the orientation from the orientation map is displayed,[9] as shown in the lower part of Figure 4.8.

    At the top of the orientation information pane is a pulldown menu that changes the format in which the orientation is displayed. The orientation can be displayed in any of the formats that OOF2 understands, regardless of the format used by the orientation property or orientation map file. The orientation cannot be changed, despite the presence of sliders and input boxes in Figure 4.8.

    Figure 4.8. Orientation in the Pixel Info Toolbox

    Orientation in the Pixel Info Toolbox



[9] The orientation is displayed whether or not the pixel's Material contains the OrientationMap Property. If the Material does not contain the Property, the OrientationMap will not actually be used.