freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于matlab的球墨鑄鐵金相圖像處理分析-資料下載頁(yè)

2025-06-27 18:10本頁(yè)面
  

【正文】 imshow(x3,[0 10])title(39。傅里葉反變換39。)。(2)DCT變換、反變換X=imread(39。39。)。I=rgb2gray(X)。subplot(1,3,1)。imshow(I)。title(39。原圖39。)。subplot(1,3,2)。J=dct2(I)。imshow(log(abs(J)),[0 20])。title(39。二維離散余弦變換39。)。subplot(1,3,3)。K=idct2(J)/20。imshow(K,[0 20])。title(39。二維離散反余弦變換39。)。(3)利用DCT變換壓縮圖像I=imread(39。39。)。A=rgb2gray(I)。B=DCT2(A)。B(abs(B))=0。C=idct2(B)/255。figure,subplot(1,3,1)。imshow(A)。title(39。原圖39。)。subplot(1,3,2)。imshow(B)。title(39。二維離散余弦變換頻譜圖39。)。subplot(1,3,3)。imshow(C)。 title(39。壓縮后圖像39。)。三、圖像增強(qiáng)(一)灰度圖像增強(qiáng)(1)線性變換法clc。clear all。I=imread(39。39。)。A=rgb2gray(I)。colormap。imshow(A)。%設(shè)置圖像倒數(shù)參數(shù)j=imadjust(A,[0 1],[1 0],)。figure。subimage(j) (2)灰度圖像的非線性變換(之對(duì)數(shù))I=imread(39。39。)。colormapimshow(I)J=double(I)。J=45*log(J+1)。I=uint8(J)。figure,subimage(J) (二)直方圖校正直方圖均衡I=imread(39。39。)。B=rgb2gray(I)。imshow(B,[40 255])。figure,imhist(B) title(39。直方圖39。)J=imadjust(B,[ ],[0 1])。figure,imhist(B,64)title(39。均衡直方圖39。)四、濾波I=imread(39。39。)。figure,B=rgb2gray(I)。C=imnoise(B,39。salt amp。 pepper39。,)。D=imfilter(B,fspecial(39。average39。,3))。E=medfilt2(B)。subplot(1,3,2)imshow(D)title(39。均值濾波39。)subplot(1,3,3)imshow(D)title(39。中值濾波39。)subplot(1,3,1)imshow(C)title(39。加入椒鹽噪聲圖像39。)五、銳化處理I=imread(39。39。)。A=rgb2gray(I)。figure,subplot(2,3,1),imshow(A)。title(39。原圖39。)。hs=fspecial(39。sobel39。)。S=imfilter(A,hs)。hp=fspecial(39。prewitt39。)。P=imfilter(A,hs)。A=double(A)。%雙精度型H=[0 1 0,1 4 1,0 1 0]。%拉普拉斯算子J=conv2(A,H,39。same39。)。K=AJ。subplot(2,3,2),imshow(K)。title(39。拉普拉斯銳化圖像39。)。B=edge(A,39。roberts39。,)。subplot(2,3,3),imshow(B)。title(39。羅伯特銳化圖像39。)。subplot(2,3,4),imshow(S)。title(39。sobel算子銳化圖像39。)。subplot(2,3,5),imshow(P)。title(39。prewitt算子銳化圖像39。)。六、閾值分割A(yù)=imread(39。39。)。figuresubplot(1,4,1),imshow(A)。title(39。原圖像39。)B=im2bw(A,91/255)。subplot(1,4,2),imshow(B)。title(39。閾值91的圖像39。)C=im2bw(A,71/255)。subplot(1,4,3),imshow(C)。title(39。閾值71的圖像39。)D=im2bw(A,140/255)。subplot(1,4,4),imshow(D)。title(39。閾值140的圖像39。)七、邊緣檢測(cè)I=imread(39。39。)。A=rgb2gray(I)。figuresubplot(1,4,1),imshow(A)。title(39。原圖像39。)B=edge(A,39。sobel39。,)。%edge邊緣檢測(cè)函數(shù)subplot(1,4,2),imshow(B)。title(39。sobel算子檢測(cè)39。)C=edge(A,39。roberts39。,)。%subplot(1,4,3),imshow(C)。title(39。roberts算子檢測(cè)39。)D=edge(A,39。prewitt39。,)。subplot(1,4,4),imshow(D)。title(39。prewitt算子檢測(cè)39。)八、放縮A=imread(39。39。)。imshow(A)。title(39。原圖39。)B=imresize(A,2)figure,imshow(B)。title(39。二倍圖39。)C=imresize(A,)figureimshow(C)title(39。二分之一圖39。)九、旋轉(zhuǎn)A=imread(39。39。)。figuresubplot(1,4,1),imshow(A)。title(39。原圖像39。)B=imrotate(A,30,39。nearest39。)。subplot(1,4,2),imshow(uint8(B))。title(39。旋轉(zhuǎn)30度圖像39。)C=imrotate(A,45,39。nearest39。)。subplot(1,4,3),imshow(uint8(C))。title(39。旋轉(zhuǎn)45度圖像39。)D=imrotate(A,60,39。nearest39。)。subplot(1,4,4),imshow(uint8(D))。title(39。旋轉(zhuǎn)60度圖像39。)十、鏡像A1=imread(39。39。)。A1=double(A1)。Figure,subplot(1,4,1),imshow(uint8(A1))。H=size(A1)。title(39。原像39。)A2(1:H(1),1:H(2),1:H(3))=A1(H(1):1:1,1:H(2),1:H(3))。%垂直鏡像subplot(1,4,2),imshow(uint8(A2))。title(39。垂直鏡像39。)A3(1:H(1),1:H(2),1:H(3))=A1(1:H(1),H(2):1:1,1:H(3))。%水平鏡像subplot(1,4,3),imshow(uint8(A3))。title(39。水平鏡像39。)A4(1:H(1),1:H(2),1:H(3))=A1(H(1):1:1,H(2):1:1,1:H(3))。%對(duì)角鏡像subplot(1,4,4),imshow(uint8(A4))。title(39。對(duì)角鏡像39。)十一、剪切A1=imread(39。39。)。A2=imcrop(A1,[75 68 100 110])。figuresubplot(1,2,1),imshow(A1)。title(39。原像39。)subplot(1,2,2),imshow(A2)。title(39。剪切后圖像39。)
點(diǎn)擊復(fù)制文檔內(nèi)容
職業(yè)教育相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1