Location:
Search - matlab colormap
Search list
Description: 一个新设计的OTSU算法,使用方法如下:% load clown
% subplot(221)
% imshow(X/max(X(:)))
% title( Original , FontWeight , bold )
% for n = 2:4
% Iseg = otsu(X,n)
% subplot(2,2,n), colormap(gray)
% imshow(Iseg)
% title([ n = int2str(n)], FontWeight , bold )
% end-OTSU design a new algorithm, using the method as follows: load clown subplot (221) imshow (X/max (X (:))) title (Original, FontWeight, bold) for n = 2:4 Iseg = otsu (X, n) subplot (2,2, n), colormap (gray) imshow (Iseg) title ([n = int2str (n)], FontWeight, bold) end
Platform: |
Size: 2048 |
Author: yemaoqiu |
Hits:
Description: %radon transform
clear all
%
N=800
n=1:N
fs=200
t=n/fs
x1=exp(j*2*pi*(5*t+0.5*5*t.^2))
x2=exp(j*2*pi*(5*t+0.5*15*t.^2))
x=x1+x2
%N=length(x)
% ambifunb(x )
%*****************************************RAT
naf=ambifunb(x)
htl(abs(naf))
% [wh,rho,theta]=htl(abs(naf))
colormap([0,0,0])
% xlabel( 极半径 )
% ylabel( 角度 )
%**************************************%找出峰值点的坐标,计算初始频率和调频斜率(正确)
%找出峰值点的坐标
b=max(max(wh))
[u,a]=find(wh>=0.8*b)
- Radon transformclear all N = 800 n = 1: N fs = 200 t = n/fs x1 = exp (j* 2* pi* (5* t+ 0.5* 5* t. ^ 2)) x2 = exp ( j* 2* pi* (5* t+ 0.5* 15* t. ^ 2)) x = x1+ x2 N = length (x) ambifunb (x)***************************************** RATnaf = ambifunb (x) htl (abs (naf)) [wh, rho, theta ] = htl (abs (naf)) colormap ([0,0,0]) xlabel (polar radius) ylabel (angle)************************************** to find the coordinates of the peak point, calculating the initial slope of the frequency and FM (right) find the peak point of the coordinates b = max (max ( wh)) [u, a] = find (wh
Platform: |
Size: 1024 |
Author: abcde |
Hits:
Description: awimg=rgb2gray(im1)
tic
[accum, circen, cirrad] = CircularHough_Grd(rawimg, [20 30],5,50)
circen
toc
figure(1) imagesc(accum) axis image
title( Accumulation Array from Circular Hough Transform )
figure(2) imagesc(rawimg) colormap( gray ) axis image
hold on
plot(circen(:,1), circen(:,2), r+ )
for k = 1 : size(circen, 1),
DrawCircle(circen(k,1), circen(k,2), cirrad(k), 32, b- )
end
hold off
title([ Raw Image with Circles Detected , ...
(center positions and radii marked) ])
figure(3) surf(accum, EdgeColor , none ) a
Platform: |
Size: 14336 |
Author: money |
Hits:
Description: 可以将图的颜色在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
Platform: |
Size: 2048 |
Author: 黄晓冬 |
Hits:
Description: matlab图像处理:单色Colormap-matlab image processing: monochrome Colormap
Platform: |
Size: 1024 |
Author: 小伟 |
Hits:
Description: matlab图像处理:基于colormap的2D等高线绘图算法-matlab image processing: colormap based on the 2D contour line drawing algorithm
Platform: |
Size: 1024 |
Author: 小伟 |
Hits:
Description: matlab图像处理:基于colormap的3D等高线绘图算法-matlab image processing: colormap based on the 3D contour mapping algorithm
Platform: |
Size: 1024 |
Author: 小伟 |
Hits:
Description: colormap in matlab using histogram for colors
Platform: |
Size: 14336 |
Author: amaidiebadi3 |
Hits:
Description: 实现彩色作图,可实现不同frame累计,并进行插值-Color mapping can be accumulated to achieve a different frame, and interpolation
Platform: |
Size: 17408 |
Author: 赵鑫 |
Hits:
Description: 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
Platform: |
Size: 4096 |
Author: 孙强 |
Hits:
Description: 灰度图像转换伪彩色图像,MATLAB
一个简单的程序来转换灰度图像伪彩色图像。通过改变的条件和程序中使用的值,你可以创建一个更完美的伪彩色图像。-A simple program to convert gray level image to pseudo color images. By altering the conditions and values used in the program, you can create a more perfect pseudo color image.
Platform: |
Size: 74752 |
Author: da liu |
Hits:
Description: 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 group of points that map to the same color. The upper and lower limits of the color range (and the z axis) can be defined with crange. This is useful for creating a series of plots with the same
coloring. The colormap (but not the colorbar) is flipped upside down if
crange is given as [max min] instead of [min max]. The figure handle is
returned if an output argument is given.-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 group of points that map to the same color. The upper and lower limits of the color range (and the z axis) can be defined with crange. This is useful for creating a series of plots with the same
coloring. The colormap (but not the colorbar) is flipped upside down if
crange is given as [max min] instead of [min max]. The figure handle is
returned if an output argument is given.
Platform: |
Size: 4096 |
Author: Jeff |
Hits:
Description: Convert grayscale images to RGB using specified colormap.
Platform: |
Size: 262144 |
Author: Jeff |
Hits:
Description: 用MATLAB实现将灰度图像转换为伪彩色图像。-Convert grayscale images to RGB using specified colormap.
Platform: |
Size: 1024 |
Author: LWH |
Hits:
Description: 强大的Matlab图片展示,可以显示多种colormap-Matlab powerful image display, can display a variety of colormap
Platform: |
Size: 11264 |
Author: amanda |
Hits:
Description: Symmetricdivergingbipolar cold-neutral-hot colormapة
Platform: |
Size: 2048 |
Author: samor |
Hits:
Description: 程序为matlab能画出红白蓝三色的colormap调用程序。-This program can draw a matlab colormap in red, white and blue.
Platform: |
Size: 2048 |
Author: 邱婷 |
Hits:
Description: Matlab在一个图形上添加多个colormap(Matlab adds multiple colormap on a graph)
Platform: |
Size: 148480 |
Author: LvXindi
|
Hits:
Description: 当值为0的时候,把colorbar的颜色设为白色(When the value is 0, the color of colorbar is set to white)
Platform: |
Size: 1024 |
Author: yidou
|
Hits:
Description: 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(a));
pcolor(0.5:size(a,2)+0.5,0.5:size(a,1)+0.5,b); % 赋予栅格颜色
set(gca,'XTick',1:size(a,1),'YTick',1:size(a,2)); % 设置坐标
axis image xy; % 沿每个坐标轴使用相同的数据单位,保持一致(Drawing raster map with MATLAB)
Platform: |
Size: 1024 |
Author: ZGRMJFJ |
Hits: