搜索资源列表
grs2rgb
- Convert grayscale images to RGB using specified colormap.
matlab_colormap
- 可以将图的颜色在0位置表现为白色,使用方法为multimap函数,注意将范围设为对称,这样就可以将0设为白色-Can map the location of the performance of the color 0 is white, the use of methods for Multimap function, set the scope of attention to symmetry, this can be 0 is set to white
matlab-colormap
- 实现彩色作图,可实现不同frame累计,并进行插值-Color mapping can be accumulated to achieve a different frame, and interpolation
chap04
- matlab实例clearN=100f=zeros(50,50) f(15:35,23:28)=1 figure(1)imshow(f, notruesize )F=fft2(f,N,N) F2=fftshift(abs(F)) figure(2)x=1:N y=1:N mesh(x,y,F2(x,y)) colormap(gray) colorbar-matlab
plot3k
- Generate a 3D point plot of L=(x,y,z) using the values in the vector c to determine the color of each point. If c is empty, then z (column 3 of L) is used to color the plot. The data points are sorted so that plot3 is only called once for each
Matlabuseofcolour
- Matlab 颜色的使用 colorbar colormap-Matlab use of colour
elementaryCellularAutomsdata
- Symmetricdivergingbipolar cold-neutral-hot colormapة
Video-display-and-read-write
- MATLAB 最常處理的影像格式為索引影像(Indexed Images) 顯示此類型影像的語法如下: image(X) colormap(map) 其中X為影像的資料矩陣,map為色盤矩陣。 色盤矩陣的大小為K×3,每個橫列由三個元素所組成,分別是R(紅) 、G(綠)、B(藍) ,每個元素的範圍為0~1 X的值為1~K,也就是當X(i, j)的值為p,則像素點(i, j) 的顏色為map(p, :)這一列的值所決定。 -MATLAB image forma
cm_and_cb_utilities
- matlab code for COLORMAP and COLORBAR utilities (Jul 2014)
linspecer
- Matlab画的线较多时,线的颜色的选取对图的美观是有很大的影响的。 Jonathan C. Lansey 提供了在不同线上画不同颜色简单易用的函数。-Examples demonstrating the colors. LINE COLORS N 6 X linspace(0,pi*3,1000) Y bsxfun(@(x,n)sin(x+2*n*pi/N), X. , 1:N) C linspecer(N) axes(
darkb4r
- 当值为0的时候,把colorbar的颜色设为白色(When the value is 0, the color of colorbar is set to white)
MATLABB
- MATLAB绘制栅格化地图 %创建具有障碍物的栅格地图 %矩阵中0代表黑色栅格 a = ones(20); a(3,3:7)=0; a(3:10,7)=0; a(10,3:7)=0; a(17,13:17)=0; a(10:17,13)=0; a(10,13:17)=0; a(14,15)=0; b = a; %disp(a(end,end)); b(end+1,end+1) = 0; %disp(b); colormap([0 0 0;1 1 1]); % 创建颜色 %disp(size