Changes between Version 19 and Version 20 of Tutorial/ProjectionObjects
- Timestamp:
- Jan 29, 2015, 10:17:27 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/ProjectionObjects
v19 v20 5 5 6 6 == Plotting a luminosity profile == 7 Create a line by the menu bar command '''[Projection object/line]'''. A new GUI '''set_object''' appears on the right side, with default settings '''[Type]'''='line', '''[!ProjMode]'''='projection'. Draw a line with the mouse, left hand eside button to mark the beginning and end of the line. The luminosity profile, with the three rgb image components, appears in a new GUI '''view_field'''. The following figure shows the main GUI '''uvmat''', the GUI '''set_object''' which sets the object parameters, and the GUI '''view_field''' where the projected field is plotted:7 Create a line by the menu bar command '''[Projection object/line]'''. A new GUI '''set_object''' appears on the right side, with default settings '''[Type]'''='line', '''[!ProjMode]'''='projection'. Draw a line with the mouse, left hand side button to mark the beginning and end of the line. The luminosity profile, with the three rgb image components, appears in a new GUI '''view_field'''. The following figure shows the main GUI '''uvmat''', the GUI '''set_object''' which sets the object parameters, and the GUI '''view_field''' where the projected field is plotted: 8 8 9 9 [[Image(set_object.jpg)]] 10 10 11 These two GUIs can be made visible or not by selecting '''[!CheckViewObject ''']or '''[!CheckViewField]''' respectively in the frame '''[Objects]''' of '''uvmat'''.11 These two GUIs can be made visible or not by selecting '''[!CheckViewObject]''' or '''[!CheckViewField]''' respectively in the frame '''[Objects]''' of '''uvmat'''. 12 12 13 Once created, the line can be moved with the mouse, or by directly introducing the coordinates of the line in the table '''[ Coord]''' of the GUI '''set_object'''. A line aligned with the x or y axis can be directly created by the menu bar command '''[Projection object/line_x]''' or '''[Projection object/line_y]''' respectively.13 Once created, the line can be moved with the mouse, or by directly introducing the coordinates of the line in the table '''[Position]''' of the GUI '''set_object'''. A line aligned with the x or y axis can be directly created by the menu bar command '''[Projection object/line_x]''' or '''[Projection object/line_y]''' respectively. 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 the check 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 the check 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 ==