sumed to be the end slopes of the cubic spline The function depicted Shows and

Sumed to be the end slopes of the cubic spline the

This preview shows page 112 - 114 out of 302 pages.

sumed to be the end slopes of the cubic spline. The function depicted % Shows and returns the mapped % image g . = ice('imagei, f , 'wait', 'off '); % Shows g and returns % the handle. = ice( 'image', f , 'space', ' hsi' ) ; % Maps RGB image f i n HSI space. editing) function does precisely this. Its syntax is that when a color space other than RGB is specified, the input image ther monochrome or RGB) is transformed to the specified space before ice g = ice('Property Name', 'Property Value', . . .) r-------- The developmentof where ' Property Name ' and ' Property Value ' must appear in pairs, firnction ice, given the dots indicate repetitions of the pattern consisting of corresponding in in Appendix B, is a pairs. Table 6.4 lists the valid pairs for use in function ice. Some examples comprehensive illus- tration of how to de- sign a graphical user interface (GUz) in M A TLA B. result is image g. When ' off ' is selected, g is the handlet of the proce image, and control is returned immediately to the command window; ther fore, new commands can be typed with the ice function still active. To obta the properties of an image with handle g we use the get function ,-- , ,&:, .,..I>, a ' h = get(g) - :3:L;r,*?:,, .( . , . TABLE 6.4 Valid inputs for function ice. An RGB or monochrome input image, f, to be transformed b interactively specified mappings. The color space of the components to be modified. Possible valuesare 'rgb', 'cmy', 'hsi', 'hsv', 'ntsc' (or 'yiql),an 'ycbcrl.The default is 'rgb'. directly.
Image of page 112
220 Chapter 6 TABLE 6.5 Manipulating control points with the mouse. EXAMPLE 6.3: Inverse mapping monochrome negatives and color complements. TABLE 6.6 Function of the checkboxes and pushbuttons in the ice GUI. Color Image Processing 6.4 pl Color Tran the transformation curve is a straight line with a control point at each Control points are manipulated with the mouse, as summarized in Table Table 6.6 lists the function of the other GUI components.The following ex ples show typical applications of function ice. e or negative mapping functions also are useful in color processing. e seen in Figs. 6.14(a) and (b), the result of the mapping is reminiscent entional color film negatives. For instance, the red stick of chalk in the row of Fig. 6.14(a) is transformed to cyan in Fig. 6.14(b)-the color Display probability density function(s) [i.e., histogram(s)] oft image components affected by the mapping function. Show CDF Display cumulative distribution function(s) instead of PDFs. (Note: PDFs and CDFs cannot be displayed simultaneously.) otherwise the unmapped bars (a gray wedge and hue wedge, respectively) are displayed. Initialize the currently displayed mapping function and unchec all curve parameters. Initialize all mapping functions. InputIOutput Shows the coordinates of a selected control point on the transformation curve. Input refers to the horizontal axis, and sformations 221 FIGURE 6.1 3 (a) A negative mapping function, and (b) its effect on the monochrome image of Fig. 6.12.
Image of page 113
Image of page 114

You've reached the end of your free preview.

Want to read all 302 pages?

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes