代码搜索结果
找到约 5,749 项符合
RGB 的代码
example4_8.m
RGB=imread('flowers.tif');
[x,y,z]=sphere; %定义球面
warp(x,y,z,RGB)
example4_12.m
RGB=imread('hr.jpg');
YCbCr=rgb2ycbcr(RGB);
subplot(1,2,1);
subimage(RGB);
title('原图像');
subplot(1,2,2);
subplot(1,2,2);
subimage(YCbCr);
title('变换后的图像');
example4_10.m
RGB=imread('hr.jpg');
HSV=rgb2hsv(RGB);
subplot(1,2,1);
subimage(RGB);
title('原图像');
subplot(1,2,2);
subimage(HSV);
title('变换后的图像');
example4_11.m
RGB=imread('hr.jpg');
YIQ=rgb2ntsc(RGB);
I=YIQ(:,:,1);
subplot(1,2,1);
subimage(RGB);
title('原图像');
subplot(1,2,2);
subimage(I);
title('变换后的图像');
program_01_03.m
%原始索引图像
load trees
%转换为灰度图像
I = ind2gray(X,map);
figure(1)
subplot(2,2,1);imshow(X,map);title('索引图像');
subplot(2,2,2);imshow(I);title('转换后的灰度图像');
%原始真彩图像
RGB = imread('peppers.png');
%转换为索引图
top.ucf
NET "clk" LOC = "ab12";
NET "rst" LOC = "ab4";
NET "rxd" LOC = "aa10";
NET "hs" LOC = "v3";
NET "vs" LOC = "u4";
NET "rgb" LOC = "p3";
NET "rgb" LOC = "n4";
NET "rgb" LOC = "n3";
NET
top.pcf
SCHEMATIC START ;
// created by map version G.28 on Fri Jun 23 11:35:24 2006
COMP "clk" LOCATE = SITE "AB12" LEVEL 1;
COMP "rgb" LOCATE = SITE "P3" LEVEL 1;
COMP "rgb" LOCATE = SITE "N
play_yuv.m
function play_yuv(Y,U,V)
[R,G,B]=YUV2RGB(Y,U,V);
RGB(:,:,:,1)=R(:,:,:);
RGB(:,:,:,2)=G(:,:,:);
RGB(:,:,:,3)=B(:,:,:);
RGB=permute(RGB,[1 2 4 3]);
mov = immovie(RGB);
movie(mov);
comp_assign2.m
% EE569 Computer Assignment 2: Color format conversion and video output
% Objective: get familiar with the conversion between YUV
% and RGB format
% Background information
% The YUV video data
program_01_03.m
%原始索引图像
load trees
%转换为灰度图像
I = ind2gray(X,map);
figure(1)
subplot(2,2,1);imshow(X,map);title('索引图像');
subplot(2,2,2);imshow(I);title('转换后的灰度图像');
%原始真彩图像
RGB = imread('peppers.png');
%转换为索引图