Changes between Version 8 and Version 9 of Tutorial/ImageDisplay


Ignore:
Timestamp:
Aug 26, 2013, 5:39:35 PM (7 years ago)
Author:
sommeria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/ImageDisplay

    v8 v9  
    11
    22= Opening an image =
    3 Type 'uvmat' in the Matlab command window, the GUI (Graphic User Interface) opens with the date of last modification. Select an image file from the menu bar command '''[!Open/Browse...]''' at the upper left, for instance frame_1.png.  The image should appear and the file name displayed in the upper frame '''[Input]''', split in path ('''[!RootPath]'''), file, root file name ('''[!RootFile]'''), index string ('''[Index]''') and file extension ('''[Ext]''').  The file index is also displayed in the left frame '''[!FileIndices]'''. See figure [[Image(uvmat_image.jpg)]]. 
     3First download and unzip the folder UVMAT_DEMO_FILES containing the demo files.
     4
     5Then type 'uvmat' in the Matlab command window, the GUI (Graphic User Interface) opens with the date of last modification.
     6
     7Activate the menu bar command '''[!Open/Browse...]''' at the upper left which displays a file browser. Move within 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'.
     8
     9The image should appear as in figure
     10[[Image(uvmat_image.jpg)]].
     11
     12The 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]'''. If a text box content exceeds its frame (for instance RootPath), it is possible to display its content by right hand mouse button selection on the box.   
    413
    514= Brightness and contrast =
    6 The frame '''[Scalar]''' on the right hand side indicates the number of pixels ([npx], [npy') along the x and y directions, as welll as the min and max brightness of the image. It is possible to change the brightness and contrast of the image display by setting values for these extrema. Pixels with brightness larger than the maximum will be white while pixels with brightness lower than the minimum will be black. The image histogram (number of pixels with each brigthness value A), is given in the lower left graph.
     15The frame '''[Scalar]''' on the right hand side indicates the number of pixels (1008, 301) ('''[npx, y]''') along the x and y directions, as well as the min and max brightness of the image (0 and 255). It is possible to change the brightness and contrast of the image display by setting values for these extrema. Pixels with brightness larger than the maximum will appear in white while pixels with brightness lower than the minimum will appear in black. The image histogram (number of pixels for each brigthness value A), is given in the lower left graph.
    716
    817= Zooming =