Changes between Version 15 and Version 16 of Tutorial/ProjectionObjects
- Timestamp:
- May 4, 2014, 9:00:12 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/ProjectionObjects
v15 v16 14 14 15 15 == Getting the image histogram in a sub-region == 16 This is obtained by creating a contour object, a polygon, a rectangle or an ellipse, using '''Projection object/polygon''', '''Projection object/rectangle''' or '''Projection object/ellipse'''. Draw the contour with the mouse to plot the histogram of the image inside the contour. To get the histogram of the region outside the contour, select thecheck box '''[edit'''] in the frame '''Objects''' of '''uvmat'''. Then in the GUI '''set_object''', select 'outside' in the menu '''[!ProjMode'''] and press the button '''[REFRESH'''].16 This is obtained by creating a contour object, a polygon, a rectangle or an ellipse, using '''Projection object/polygon''', '''Projection object/rectangle''' or '''Projection object/ellipse'''. Draw the contour with the mouse to plot the histogram of the image inside the contour. To get the histogram of the region outside the contour, select thecheck box '''[edit'''] in the frame '''Objects''' of '''uvmat'''. Then in the GUI '''set_object''', select 'outside' in the menu '''[!ProjMode'''] and press the button '''[REFRESH''']. 17 17 18 18 == Resampling the image == 19 The image can be resampled by linear interpolation of image luminosity on a grid, by selecting '''Projection object/plane'''. Then on the GUI '''set_object''', select 'interp_lin' in the menu '''[!ProjMode]'''. Set the mesh in x and y by the edit boxes ''' num_DX''' and '''num_DY''', for instance with values 10, and press '''REFRESH'''. The image interpolated on this coarse grid is then displayed. It is also possible to reduce the range of x and y by the edit boxes ['''num_RangeX_1'''] and '''_2''' and '''[num_RangeY_1]''' and '''_2'''. Finally it is also possible to rotate the projection grid by setting the angle (in degrees) in the edit box '''[num_Angle_3'''].19 The image can be resampled by linear interpolation of image luminosity on a grid, by selecting '''Projection object/plane'''. Then on the GUI '''set_object''', select 'interp_lin' in the menu '''[!ProjMode]'''. Set the mesh in x and y by the edit boxes '''[num_DX]''' and ['''num_DY'''], for instance with values 10, and press '''REFRESH'''. The image interpolated on this coarse grid is then displayed. It is also possible to reduce the range of x and y by the edit boxes ['''num_RangeX_1'''] and '''_2''' and '''[num_RangeY_1]''' and '''_2'''. Finally it is also possible to rotate the projection grid by setting the angle (in degrees) in the edit box '''[num_Angle_3'''].
