1 / 14

Color Visualization in Matlab

Color Visualization in Matlab. Announcement: We do not have class in Wednesday (11/20) . You will work on the project III and bring questions to Friday’s class. In Friday’s class, we will schedule your presentation for choices either Monday (11/25) or Wednesday (11/27). Monday, 11/18/2002.

Télécharger la présentation

Color Visualization in Matlab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Color Visualization in Matlab Announcement: We do not have class in Wednesday (11/20) . You will work on the project III and bring questions to Friday’s class. In Friday’s class, we will schedule your presentation for choices either Monday (11/25) or Wednesday (11/27). Monday, 11/18/2002

  2. Visualization of FEM Results Pixel: The smallest image-forming unit of a video display. Displacement field

  3. Create a Figure Window figure(‘Position’,[left,bottom,width,height])

  4. Example

  5. Additive Color

  6. RGB Color Model [red,green,blue] [0,1,0] [0,1,1] [1,1,1] [1,1,0] [0,0,1] [1,0,1] [1,0,0]

  7. Color Cube

  8. ny=60; nx=20; figure ('Position', [100, 100, ny, nx*3]); colormap([1 0 0; 0 1 0; 0 0 1]) imageMatrix = [ones(nx,ny) ones(nx,ny)*2 ones(nx,ny)*3]; image(imageMatrix) axis equal off Example ny nx

  9. Hue-Saturation-Value colormap HSV is used in conjunction with colormap to specify a colormap which varies the hue component of the hue-saturation-value color model. The colors begin with red, pass through yellow, green, cyan, blue, magenta, and return to red. The map is particularly appropriate for displaying periodic functions.

  10. HSV Color Example figure ('Position', [100, 100, 256, 50]); colormap(hsv(256)); imageMatrix = zeros(50,256); for ix=1:50 for iy=1:256 imageMatrix(ix,iy) = iy; end end image(imageMatrix) axis equal off

  11. Understanding Colormaps

  12. Color Assignment

  13. Mapping Rule

  14. Visualization of FEM Results

More Related