代码搜索结果
找到约 8,819 项符合
RGB 的代码
利用ycrcb来探测皮肤区域.txt
dir *.jpg;
strFile=input('Please input the file name:','s');
strFile1=strcat(strFile,'.jpg');
imgrgb=imread(strFile1);
[m,n,c]=size(imgrgb);
% delete strFile,c;
%将RGB色彩空间转换为Ycbcr色彩空间
imgrgb3=rg
pre_process.m
function BW=pre_process(I);
%preprocess image
preG=rgb2gray(I);
figure,imshow(preG);
figure,imshow(preG);
G=medfilt2(preG,[3,3]);
BW=im2bw(G,175/255);
%BW=imresize(Gbw,[]);
imshow(BW);
graph.c
//编译下载程序
//在程序中软件断点处加软件断点
//打开WATCH窗口,加入变量bCapture
//选择view->graph->image...
// [color space]=RGB
// [interleaved data sources]=No
// [start address - r source]=0x80500000
// [start address
tvmode.cpp
void TVMode (uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr,
uint8 *dstPtr, uint32 dstPitch, int width, int height)
{
uint8 *nextLine, *finish;
uint32 colorMask = ~(RGB_LOW_BITS_MASK |
ezmenu.cpp
#include "stdafx.h"
#include "EZMenu.h"
#include "resource.h"
CEZMenu::CEZMenu()
{
m_bLargeIcons=FALSE;
m_szBitmapSize=CSize(20,60);
m_nCount=m_nItems=0;
m_nAveHeight=16;
m_clrExtend=RGB
obj_list.ini
##
## Name of the application to build
##
BinName = color_space_converter
SFX_WIN = .lib
SFX_LNX = .a
OBJS = \
$(ObjDir)\umc_color_space_converter$(OBJSFX) \
$(ObjDir)\umc_color_space_con
clcd.c
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\clcd.h"
#include "..\inc\def.h"
void Lcd_PutPixel(int x,int y,U8 rgb);
void DrawLine(void);
unsigned
clcd.c
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\clcd.h"
#include "..\inc\def.h"
void Lcd_PutPixel(int x,int y,U8 rgb);
void DrawLine(void);
unsigned
make_nii.m
% Make nii structure specified by an N-D matrix. Usually, N is 3 for
% 3D matrix [x y z], or 4 for 4D matrix with time series [x y z t].
% However, NIfTI allows a maximum of 7D matrix. For RGB24
zhongzhilvbo.m
f=imread('tingchechang.jpg')
f=im2double(f);
f=rgb2gray(f);
subplot(221)
imshow(f)
j=imnoise(f,'salt & pepper',0.02)
subplot(222)
imshow(f)
k=medfilt2(j);
subplot(223)
imshow(k)
figure,imsh