代码搜索结果
找到约 5,749 项符合
RGB 的代码
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
新建 文本文档.txt
<mark>RGB</mark>与YUV----摘自《DirectShow实务精选》 作者:陆其明
计算机彩色显示器显示色彩的原理与彩色电视机一样,都是采用R(Red)、G(Green)、B(Blue)相加混色的原理:通过发射出三种不同强度的电子束,使屏幕内侧覆盖的红、绿、蓝磷光材料发光而产生色彩。这种色彩的表示方法称为<mark>RGB</mark>色彩空间表示(它也是多媒体计算机技术中用得最多的一种色彩空间表示方法)。
根据三基色原理, ...
新建 文本文档2.txt
<mark>RGB</mark>与YUV----摘自《DirectShow实务精选》 作者:陆其明
计算机彩色显示器显示色彩的原理与彩色电视机一样,都是采用R(Red)、G(Green)、B(Blue)相加混色的原理:通过发射出三种不同强度的电子束,使屏幕内侧覆盖的红、绿、蓝磷光材料发光而产生色彩。这种色彩的表示方法称为<mark>RGB</mark>色彩空间表示(它也是多媒体计算机技术中用得最多的一种色彩空间表示方法)。
根据三基色原理, ...
hardware.h
#ifndef _HARDWARE_HEAD
#define _HARDWARE_HEAD
#include
#include
#include
#include
#include
#define RGB char
#define BLACK_COL
rgb2hsi.m
function hsi = rgb2hsi(rgb)
%RGB2HSI Converts an RGB image to HSI.
% HSI = RGB2HSI(RGB) converts an RGB image to HSI. The input image
% is assumed to be of size M-by-N-by-3, where the third dim
hsi2rgb.m
function rgb = hsi2rgb(hsi)
%HSI2RGB Converts an HSI image to RGB.
% RGB = HSI2RGB(HSI) converts an HSI image to RGB, where HSI is
% assumed to be of class double with:
% hsi(:, :, 1) =
11.2 rgb颜色在线转换.htm
标题页
function showRGB(f)
{
//获取用户输入的RGB值
red = f.red.value;
green = f.green.value;
blue =
findenergy.m
function Emean=findEnergy(x)
% FINDENERGY creates an gradient img from a given RGB or grayscale image.
% The vertical and horizontal gradients are found using a Sobel operator
% and the gradient ma
color.txt
淡绿色:rgb(192,220,192)
cream:rgb(255,251,240)
淡兰色:rgb(166,202,240)
深兰色:rgb(0,0,128)
血红色:rgb(128,0,0)
derterd.m
RGB = imread('tape.png'); %读取图片,数据存在RGB变量中;
I = rgb2gray(RGB); %将RGB转换为灰度图像数据;
threshold = graythresh(I); %获取灰度图像转换时的阈值;
BW = im2bw(I,threshold);