Changes between Version 36 and Version 37 of Tutorial/ImageDisplay


Ignore:
Timestamp:
Jan 29, 2015, 10:04:17 AM (10 years ago)
Author:
vaillant1p
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/ImageDisplay

    v36 v37  
    1313[[Image(browser.jpg)]]
    1414
    15 Move through your computer folders (use '+/..' to move upward in the tree) to select  the image file of the tutorial 'UVMAT_DEMO_FILES/EX01_pair/images/frame_1.png'. The image should appear as in figure.
     15Move through your computer folders (use '+/..' to move upward in the tree) to select  the image file of the tutorial 'UVMAT_DEMO01_pair/images/frame_1.png'. The image should appear as in figure.
    1616
    1717[[Image(uvmat_image.jpg)]].
    1818
    19 The 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 '''[+>]'''.
     19The file name is displayed in the upper frame '''[Input]''', split in path '.../UVMAT_DEMO01_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 '''[+>]'''.
    2020
    2121The 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.   
     
    2828== True color image ==
    2929
    30 Let us choose now a color image as input, for instance UVMAT_DEMO02_color/images/frame1.jpg' (the folder 'UVMAT_DEMO02_color' is accessible on  http://servforge.legi.grenoble-inp.fr/pub/soft-uvmat/). We notice in this example that the frame index '1' directly follows the '''[!RootFile]''' 'frame' (without separator '_'), so '''[!NomType]''' is '1'. By moving the mouse over the image, we notice that the luminosity A has three color components rgb (red, green, blue). Similarly the histogram has three curves.
     30Let us choose now a color image as input, for instance UVMAT_DEMO02_color/images/frame1.jpg' (the folder 'UVMAT_DEMO02_color' is accessible on  http://servforge.legi.grenoble-inp.fr/pub/soft-uvmat/). We notice in this example that the frame index '1' directly follows the '''[!RootFile]''' 'frame' (without separator '_'), so '''[!NomType]''' is '1'. By moving the mouse over the image, we notice that the luminosity A has three color components rgb (red, green, blue), shown in the upper right text window. Similarly the histogram has three curves.
    3131
    3232== Zooming ==
    3333
    34 When '''zoom on''' is selected (tag='''[!CheckZoom]'''), zoom in by pressing the left side button of the mouse on the image and zoom out by pressing the right button. Use the key board directional arrows to adjust the field of view. It is also possible to manually write the coordinate limits by editing the boxes '''[MinX][MaxX]''' and '''[MinY][MaxY]''' in the frame '''[Coordinates]'''. To come back to the whole image, unselect the check box fix ('''[!CheckFixLimits]''').
     34When '''zoom on''' is selected (tag='''[!CheckZoom]'''), zoom in by pressing the left side button of the mouse on the image and zoom out by pressing the right button. Use the key board directional arrows to adjust the field of view. It is also possible to manually write the coordinate limits by editing the boxes '''[MinX]''','''[MaxX]''' and '''[MinY]''','''[MaxY]''' in the frame '''[Axes]'''. To come back to the whole image, unselect the check box '''fix''' ('''[!CheckFixLimits]''').
    3535
    3636A zoomed region can be also extracted as a separate figure by selecting '''zoom fig''' (tag '''[!CheckZoomFig]''') and drawing the contour with the mouse (keeping the left hand mouse button pressed). The zoomed region can be moved with the keyboard arrows.
    3737
    38 Selecting 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.
     38Selecting the check box '''fix'''  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.
    3939
    4040Edit 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).