代码搜索结果
找到约 5,749 项符合
RGB 的代码
13-12.m
RGB = imread('flowers.tif');
subplot(221),imshow(RGB)
title('原始真彩色图像')
subplot(222),imshow(RGB(:,:,1))
title('真彩色图像红色分量')
subplot(223),imshow(RGB(:,:,2))
title('真彩色图像绿色分量')
subplot(224),imshow(
8-5.m
[X,map]=imread('canoe.tif');
Image_Type_YN1=isind(X);
%索引图像的读取与判断
I = imread('moon.tif');
Image_Type_YN2=isgray(I);
%灰度图像的读取与判断
RGB=imread('flowers.tif');
Image_Type_YN3=isrgb(RGB);
%真彩色图像的读
8-3.m
RGB=imread('flowers.tif');
image(RGB);
%显示RGB图像
pause;
imshow(RGB);
%显示RGB图像
8-13.m
rgb=imread('lily.tif');
imshow(rgb);
title('原始图像');
[X_no_dither,map]=rgb2ind(rgb,8,'nodither');
[X_dither,map]=rgb2ind(rgb,8,'dither');
figure, imshow(X_no_dither,map);
title('没有抖动的变换图像');
fi
rgb2graykpm.m
function g = rgb2grayKPM(rgb)
% function g = rgb2grayKPM(rgb)
% rgb2grayKPM Like the built-in function, but if r is already gray, does not cause an error
[nr nc ncolors] = size(rgb);
if ncolors
img_format.c
#include "img_format.h"
char *vo_format_name(int format)
{
switch(format)
{
case IMGFMT_RGB1: return("RGB 1-bit");
case IMGFMT_RGB4: return("RGB 4-bit");
case IMGFMT_RG4B: return("RGB 4-bi
link.css
body{ font-size: 75%; font-family: 宋体; }
td{font-size:9pt;}
p{ font-size:9pt;}
li{font-size:9pt;}
BigFont{ font-size:11pt;}
select.smallselsect{font-size:9pt;
color:rgb(0,0,128) ;}
input.sm
cbir_edgehist.m
function edgehist = CBIR_edgehist(rgb)
% EE6850 HW3, Content-Based Image Retrieval
% CBIR_edgehist() -- edge histogram calculation
% input:
% MxNx3 image data, in RGB
% or MxN luminance chann
cbir_edgedirection.m
function edgehist = CBIR_edgedirection(rgb)
% EE6850 HW3, Content-Based Image Retrieval
% CBIR_edgedirection() -- edge direction histogram calculation
% input:
% MxNx3 image data, in RGB
% or
hslutils.pas
//------------------------------------------------------------------------------
//
// HSL - RGB colour model conversions
//
// These four functions can be used to convert between the RGB and HSL