Changes between Version 18 and Version 19 of Tutorial/ImageDisplay


Ignore:
Timestamp:
Aug 28, 2013, 9:51:53 AM (11 years ago)
Author:
sommeria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/ImageDisplay

    v18 v19  
    1111The file name is displayed in the upper frame '''[Input]''', split in path '.../UVMAT_DEMO_FILES/EX01_pair' (in '''[!RootPath]'''), subfolder '/images' (in '''[!SubDir]'''), root file name '/frame' (in '''[!RootFile]'''), index string '_1' (in '''[Index]''') and file extension '.png' (in '''[Ext]''').  The file index is also displayed in the left frame '''[i1]'''. You can move to the next image 'frame_2' by pressing the red arrow '''+>'''.
    1212
    13 The box '''[!NomType]''' indicates the convention for indexing, here using a separator '_'. It shows the first term in the series, which is '_1', while '''[!FileIndex]''' is incremented when we move to frame_2 or beyond.  If a text box content exceeds its frame (for instance !RootPath), it is possible to display its content by right hand mouse button selection in the box.  
     13The box '''[!NomType]''' indicates the convention for indexing, here using a separator '_'. It shows the first term in the series, which is '_1', while '''[!FileIndex]''' is incremented when we move to frame_2 or beyond.   
    1414
    1515= Brightness and contrast =
     
    2323Selecting the check box '''fix limits'''  maintains the bounds fixed when different images of fields are opened (useful for comparisons), while the opposite option allows the bounds to adjust to the extremal coordinates of the field. Finally the x/y scaling  can be set equal by selecting the box ''''fix x/y'''' (tag name '''[!CheckFixAspectRatio]'''). Otherwise the image is deformed to fit in the plot window.
    2424
     25Edit boxes in the GUI can be also zoomed by right hand mouse button selection: a new window appears with the tag name and content. This is convenient when a text box content exceeds its frame limits (for instance !RootPath).
     26
    2527= Extracting data =
    2628The current mouse coordinates in the image, as well as the local image intensity ('A'), are displayed in the upper right text window. The local image matrix  indices 'i' and 'j' are also displayed. By default the coordinates are expressed in pixel units, with origin (0,0) at the lower left of the image (the lower left pixel centre is at (0.5,0.5)). The x coordinate is equal to i-0.5 while the y coordinate is npy-(j-0.5), since the  image index j runs from top to bottom unlike the coordinate y. In case of low screen resolution, it is possible to duplicate this display in a bigger window, by right mouse button selection (after zoom has been desactivated). When the mouse is over an edit box or press button, its tag is displayed with a short explanation (tooltip). The tag and box string can be also displayed by selection with the right hand mouse button.