代码搜索结果
找到约 8,819 项符合
RGB 的代码
menu.cpp
//文字处理模块
//*********************************
//文字显示
void PrintText(LPDIRECTDRAWSURFACE Surf,int x,int y,char *Text,DWORD color=RGB(0,0,0))
{
HDC hdc;
Surf->GetDC(&hdc);
SetBkMode(hdc, TRAN
handwritings.m
function features = HandWritings(f,para)
if ndims(f) == 3
f = rgb2gray(f);
end
[Row,Col] = find(f == 0);
minCol = min(Col);
maxCol = max(Col);
minRow = min(Row);
maxRow = max(Row);
W
gen-color-table.pl
#!/usr/bin/perl -w
if (@ARGV != 1) {
die "Usage: gen-colors.pl rgb.txt > pango-color-table.h\n";
}
open IN, $ARGV[0] || die "Cannot open $ARGV[0]: $!\n";
@colors = ();
while (defined($_ = )
contourenhance_main.m
function contourenhance_main
clc
clear all
in=imread('212.bmp');
im=rgb2gray(in);
figure,imshow(in);title('原始图像');axis on;
im = double(im) / 256;
pfilt='9-7'; % choose LP decom
contourenhance_main.m
function contourenhance_main
clc
clear all
in=imread('212.bmp');
im=rgb2gray(in);
figure,imshow(in);title('原始图像');axis on;
im = double(im) / 256;
pfilt='9-7'; % choose LP decom
lpwenhance_main.m
function lpwenhance_main
clc
clear all
in=imread('212.bmp');
im=rgb2gray(in);
figure,imshow(in);title('原始图像');axis on;
im = double(im) / 256;
pfilt='9-7'; % choose LP decomposi
cawenhance_main.m
function cawenhance_main
clc
clear all
in=imread('212.bmp');
im=rgb2gray(in);
figure,imshow(in);title('原始图像');axis on;
im = double(im) / 256;
pfilt='9-7'; % choose LP decomposi
memdc.h
#ifndef _MEMDC_H
#define _MEMDC_H
class CMemDC : public CDC
{
public:
CMemDC(CDC* pDC,int width,int height,BOOL bInitBack=FALSE,COLORREF rgbBack=RGB(255,255,255));
virtual ~CMemDC();
protec
menu.cpp
//文字处理模块
//*********************************
//文字显示
void PrintText(LPDIRECTDRAWSURFACE Surf,int x,int y,char *Text,DWORD color=RGB(0,0,0))
{
HDC hdc;
Surf->GetDC(&hdc);
SetBkMode(hdc, TRAN