摘要: cl;img1=imread('gaosi.jpg');[m,n]=size(img1);w=fspecial('gaussian',[3 3]);img2=imresize(imfilter(img1,w),[m/2 n/2]);img3=imresize(imfilter(img2,w),[m/4 n/4]);img4=imresize(imfilter(img3,w),[m/8 n/8]);img5=imresize(imfilter(img4,w),[m/16 n/16]);imshow(img1);figure,imshow(img2);figure, 阅读全文
posted @ 2012-03-05 21:14 Dsp Tian 阅读(8464) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdlib.h>using namespace std;typedef struct tree{ int data; struct tree *left; struct tree *right; struct tree *prior;}node;void preorder_tree(node *head){ if (head==NULL) return; cout<<head->data<<""; preorder_tree(head->left); pr 阅读全文
posted @ 2012-03-05 20:15 Dsp Tian 阅读(567) 评论(0) 推荐(0) 编辑