CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - imshow colormap
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - imshow colormap - List
[
Special Effects
]
newnethodotsu
DL : 0
一个新设计的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
Update
: 2008-10-13
Size
: 2.11kb
Publisher
:
yemaoqiu
[
Special Effects
]
newnethodotsu
DL : 0
一个新设计的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
Update
: 2025-02-19
Size
: 2kb
Publisher
:
yemaoqiu
[
matlab
]
chap04
DL : 0
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
Update
: 2025-02-19
Size
: 4kb
Publisher
:
孙强
[
Special Effects
]
Low-complexity-background-subtraction-using-frame
DL : 0
Tracking w/ blob detection, morphological operation (Togeather) frames = {avi.cdata} uses the cdata from the video file fg = extractForeground(frames) do foreground extraction cmap = colormap(gray) for i = 1:length(fg) temp0{i} = edge(fg{i}, canny , 0.99) + fg{i} temp2 = temp0{i} temp2 = cat(3,temp2,temp2,temp2) fgs = rgb2gray(temp2) sedisk = strel( square ,10) fgs = imclose(fgs, sedisk) fgs = imfill(fgs, holes ) RLL = bwlabel(fgs) stats = regionprops(RLL, basic , Centroid ) fig = figure(1),imshow(RLL) hold on for n = 1:length(stats) if(stats(n).Area > 100) plot(stats(n).Centroid(1), stats(n).Centroid(2), r* ) end end hold o-Tracking w/ blob detection, morphological operation (Togeather) frames = {avi.cdata} uses the cdata from the video file fg = extractForeground(frames) do foreground extraction cmap = colormap(gray) for i = 1:length(fg) temp0{i} = edge(fg{i}, canny , 0.99) + fg{i} temp2 = temp0{i} temp2 = cat(3,temp2,temp2,temp2) fgs = rgb2gray(temp2) sedisk = strel( square ,10) fgs = imclose(fgs, sedisk) fgs = imfill(fgs, holes ) RLL = bwlabel(fgs) stats = regionprops(RLL, basic , Centroid ) fig = figure(1),imshow(RLL) hold on for n = 1:length(stats) if(stats(n).Area > 100) plot(stats(n).Centroid(1), stats(n).Centroid(2), r* ) end end hold off
Update
: 2025-02-19
Size
: 17kb
Publisher
:
sivasankar
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.