代码搜索结果
找到约 8,819 项符合
RGB 的代码
10-6.m
%对autumn.tif文件计算二维DCT变换
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
%真彩色图像转换成灰度图像
J = dct2(I);
%计算二维DCT变换
imshow(log(abs(J)),[])
%图像大部分能量集中在上左角处
colormap(jet(64)), colorbar
figure;
J(abs(
avutil.h
/*
* copyright (c) 2006 Michael Niedermayer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
7-1.m
%例程7-1 噪声图像维纳滤波
% e.g.7-1.m for example7-1;
%test the function of weina filter.
RGB = imread('saturn.png');
I = rgb2gray(RGB);
J = imnoise(I,'gaussian',0,0.005);
figure, imshow(J);
K = wien
10-6.m
%对autumn.tif文件计算二维DCT变换
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
%真彩色图像转换成灰度图像
J = dct2(I);
%计算二维DCT变换
imshow(log(abs(J)),[])
%图像大部分能量集中在上左角处
colormap(jet(64)), colorbar
figure;
J(abs(
代码16-5.txt
RGB = imread('autumn.tif'); % 读入原始图像
I = rgb2gray(RGB); % 将彩色图像转化为灰度图像,以便进行DCT变换。
J = dct2(I); % DCT变换
imshow(log(abs(J)),[]), % 显示变换结果
colormap(jet(64)),
7-1.m
%例程7-1 噪声图像维纳滤波
% e.g.7-1.m for example7-1;
%test the function of weina filter.
RGB = imread('saturn.png');
I = rgb2gray(RGB);
J = imnoise(I,'gaussian',0,0.005);
figure, imshow(J);
K = wien
avutil.h
/*
* copyright (c) 2006 Michael Niedermayer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
10-6.m
%对autumn.tif文件计算二维DCT变换
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
%真彩色图像转换成灰度图像
J = dct2(I);
%计算二维DCT变换
imshow(log(abs(J)),[])
%图像大部分能量集中在上左角处
colormap(jet(64)), colorbar
figure;
J(abs(
ch4_2_1.m
RGB = imread('autumn.tif');
I = rgb2gray(RGB);
J = dct2(I);
imshow(log(abs(J)),[]), colormap(jet(64)), colorbar
J(abs(J) < 10) = 0;
K = idct2(J);
figure,imshow(I)
figure,imshow(K,[0 255])
hxcolor.cpp
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the