代码搜索结果
找到约 8,819 项符合
RGB 的代码
gray2rgb.m
function R=gray2rgb(img1,img2)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%This Program
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) =
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
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) =
yuv2rgb.c
#include "config.h"
#include "tmndec.h"
#include "global.h"
#ifdef DISPLAY
#include
#include
#include
#include
#include
#endif
#ifdef DISP