代码搜索结果
找到约 8,819 项符合
RGB 的代码
torgb.py
# Convert "arbitrary" image files to rgb files (SGI's image format).
# Input may be compressed.
# The uncompressed file type may be PBM, PGM, PPM, GIF, TIFF, or Sun raster.
# An exception is raised if
invertwidget.cpp
#include
#include "invertwidget.h"
InvertWidget::InvertWidget(QWidget *parent)
: QWidget(parent)
{
image = QImage(800, 600, QImage::Format_RGB32);
image.load("plane.jpg");
image
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
som_normcolor.m
function color = som_normcolor(data, clrmap)
%SOM_NORMCOLOR RGB values of indexed colors for a given dataset and colormap
%
% color = som_normcolor(data, [clrmap])
%
% color = som_normcolor(data)
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
pixel_ops.h
static inline unsigned int rgb_to_pixel8(unsigned int r, unsigned int g,
unsigned int b)
{
return ((r >> 5) > 5) > 6);
}
static i
lxdcmimage.hpp.svn-base
#ifndef LXDCMIMAGE_HPPP_
#define LXDCMIMAGE_HPPP_
class CLXDcmFile;
typedef enum
{
LX_RGB=1,
LX_ARGB,
LX_CMYK,
}IMAGETYPE;
class CLXDcmImage
{
public:
CLXDcmImage();
protected
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
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
jnitintimage.cpp
// JNITintImage.cpp tints an array of RGB values by given colors.
// Throws exception if image is larger than 256x256, also returns
// an int array of indexes of pixels that could not be fully tint