From: Clemens W. <cle...@nx...> - 2008-03-19 16:55:03
|
Dear all, Today, we committed the user interface for the component mapping in PV into the development repository. Next action is to add the functionality to this new user interface ;-) We expect this to be finished somewhere next week. Developers are invited to have a look into this new user interface! Of coarse, update your development environment to do so... Excerpt from the Readme.txt file: - Component mapping is added. Users can now select which components to use for each of the color display methods. With this functionality files with an arbitrary number of components can now be handled well. - A new color display method "RGB" is added. Further, as part of the addition of the component mapping, the names of the color display methods are updated. More extended explanation of component mapping in the Readme.txt file: Component mapping The component mapping dialog (shortcut key 'm') allows the choice of arbitrary components to be used in each of the color display methods. E.g. in RGB color display method, components with names X, Y and Z may be selected for use as R, G and B components. E.g. in Y with scalar display method, component names Y and DEPTH may be selected for use as Y and Scalar components. The following table lists the default selection for each of the color display methods. YUV color method -- select components for Y, U, and V: - if there are less than three components available: use first component as Y and as U and as V - else, if components with names "Y", "U", and "V" are available: use component "Y" as Y use component "U" as U use component "V" as V - else: use first component as Y use second component as U use third component as V RGB color method -- select components for R, G, and B: - if there are less than three components available: use first component as R and as G and as B - else, if components with names "R", "G", and "B" are available: use component "R" as R use component "G" as G use component "B" as B - else: use first component as R use second component as G use third component as B Y grayscale method -- select component for Y: - if a component with name "Y" is available: use component "Y" as Y - else: use first component as Y Y with vector method -- select components for Y, Vx, and Vy: - if there are less than three components available: use first component as Y and as Vx and as Vy - else, if components with names "Y", "MVx", and "MVy" are available: use component "Y" as Y use component "MVx" as Vx use component "MVy" as Vy - else: use first component as Y use second component as Vx use third component as Vy Only vector method -- select components for Vx and Vy: - if there are less than two components available: use first component as Vx and as Vy - else, if components with names "MVx" and "MVy" are available: use component "MVx" as Vx use component "MVy" as Vy - else: use first component as Vx use second component as Vy Y with scalar method -- select components for Y and S: - if there are less than two components available, or if no component with name "Y" is available: use first component as Y and as S - else, if there is a non-standard component X available (i.e., not with name "Y", "U", "V", "R", "G", or "B"), and if the name of X does not end with "Vx" or "Vy": use component "Y" as Y use the first component X as S - else, if there is a non-standard component X available (i.e., not with name "Y", "U", "V", "R", "G", or "B"): use component "Y" as Y use the first component X as S - else: use component "Y" as Y use first component as S Only scalar method -- select components for S: - if there is a non-standard component X available (i.e., not with name "Y", "U", "V", "R", "G", or "B"), and if the name of X does not end with "Vx" or "Vy": use the first component X as S - else, if there is a non-standard component X available (i.e., not with name "Y", "U", "V", "R", "G", or "B"): use the first component X as S - else: use first component as S Matching of component names is not case-sensitive. With kind regards, Clemens Wüst and Bram Riemens -- Clemens Wüst NXP Semiconductors High Tech Campus 32 (office 131) 5656 AE Eindhoven, The Netherlands tel: +31-40-27 25906 e-mail: cle...@nx... |