代码搜索结果

找到约 5,749 项符合 RGB 的代码

rgb2hsv_r.m

function hsv=rgb2hsv_r(rgb) r1=rgb(:,:,1); g1=rgb(:,:,2); b1=rgb(:,:,3); if isa(r1, 'uint8'), r1 = double(r1) / 255; elseif isa(r1, 'uint16') r1 = double(r1) / 65535;

texttool.h

#ifndef __TEXTTOOL #define __TEXTTOOL #define TEXT_BOTTOM_RIGHT 0 #define TEXT_BOTTOM_CENTER 1 #define TEXT_CENTER 2 #define TEXT_USER 3 #define TC_BLACK RGB(0,0,0) #define TC_BLUE RGB(0,0,

imread01.m

RGB = imread('simulinkteam.jpg'); image(RGB)

-

简单说明: 1、文件: bilinear.m matlab源程序 FreeBSD.jpg 插值之前的<mark>RGB</mark>图像,大小为200x211 FreeBSD2.jpg 插值之后的<mark>RGB</mark>图像,大小为400x422(即放大2倍) 2、程序运行说明 我初步将允许放大的比例设置为1-9之间,当然也可以修改程序使之可以放大到更大比例,但是这样计算量将会很大,慎用。程序启动后将会询问 ...

color me less_pre.cpp

#include #include #include #include using namespace std; struct RGB { int red; int green; int blue; }; int get_lowest_distance_index(int *distance,

color me less.cpp

#include #include #include #include using namespace std; struct RGB { int red; int green; int blue; }; #ifdef DEBUG int compare_red(const void

vs.css

/* Visual Studio-like style based on original C# coloring by Jason Diamond */ .comment, .annotation, .template_comment, .diff .header, .chunk { color: rgb(0, 128, 0); } .ke

change_color_mode.m

function [M,ColorP] = change_color_mode(M,dir,options) % change_color_mode - change of color representation % % M = change_color_mode(M,dir,options); % % switch between RGB and another color mode

color.h

// Color.h // Colorref's to use with your Programs #define RED RGB(127, 0, 0) #define GREEN RGB( 0,127, 0) #define BLUE RGB( 0, 0,127) #define LIGHTRED RGB(255, 0, 0

color me less_pre.cpp

#include #include #include #include using namespace std; struct RGB { int red; int green; int blue; }; int get_lowest_distance_index(int *distance,