Welcome![Sign In][Sign Up]
Location:
Search - imshow colormap

Search list

[Special Effectsnewnethodotsu

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
Platform: | Size: 2156 | Author: yemaoqiu | Hits:

[Special Effectsnewnethodotsu

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:

[matlabchap04

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:

[Special EffectsLow-complexity-background-subtraction-using-frame

Description: 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
Platform: | Size: 17408 | Author: sivasankar | Hits:

CodeBus www.codebus.net