代码搜索结果
找到约 5,749 项符合
RGB 的代码
sumarize11_2_2cl.m
RGB = imread('saturn.png');
I = rgb2gray(RGB);
h = [1 2 1; 0 0 0; -1 -2 -1];
I2 = filter2(h,I);
imshow(I2,[]), colorbar
sumarize11_6_3.m
%载入图像
load trees
%RGB转换为灰度图
I = ind2gray(X,map);
imshow(I)
%指定特定区域,并进行填充
I2 = roifill;
imshow(I2)
sumarize11_4_2ars.m
%载入图像
RGB = imread('autumn.tif');
figure(1);
imshow(RGB);
%将真彩图转换为灰度图
I = rgb2gray(RGB);
figure(2);
imshow(I);
%进行余弦变换
J = dct2(I);
figure(3);
imshow(log(abs(J)),[]);
colormap(jet(64));
c
color.rst
.. title:: MochiKit.Color - color abstraction with CSS3 support
Name
====
MochiKit.Color - color abstraction with CSS3 support
Synopsis
========
::
// RGB color expressions are supported
tcolor
#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
# tcolor --
# This script implements a simple color editor, where you can
# create colors using either the RGB, HSB, or CYM color s
texload.c
/* texture.c - by David Blythe, SGI */
/* texload is a simplistic routine for reading an SGI .rgb image file. */
#include
#include
#include
#include "texload.h"
t
texture.h
/* texture.h - by David Blythe, SGI */
/* Simple SGI .rgb image file loader routine. */
unsigned *
read_texture(char *name, int *width, int *height, int *components);
extern void imgLoad(char *file
texture.c
/* texture.c - by David Blythe, SGI */
/* read_texture is a simplistic routine for reading an SGI .rgb image file. */
#include
#include
#include
#include
readtex.c
/* readtex.c */
/*
* Read an SGI .rgb image file and generate a mipmap texture set.
* Much of this code was borrowed from SGI's tk OpenGL toolkit.
*/
#include
#include
#inc
gltx.c
/*
* Simple SGI .rgb (IRIS RGB) image file reader ripped off from
* texture.c (written by David Blythe). See the SIGGRAPH '96
* Advanced OpenGL course notes.
*/
/* includes */
#include