代码搜索结果
找到约 5,749 项符合
RGB 的代码
effects.js
String.prototype.parseColor=function(){var A="#";if(this.slice(0,4)=="rgb("){var _=this.slice(4,this.length-1).split(","),$=0;do A+=parseInt(_[$]).toColorPart();while(++$
imageswingexample.java
//===========================================================================
//= This example serves as a testbed for basic RGB image manipulation, =
//= dependent of Java's Swing, but not depen
imageofflineexample.java
//===========================================================================
//= This example serves as a testbed for basic RGB image manipulation =
//=-----------------------------------------
bottom.js
document.write('
top.js
document.write('
src3_3.txt
CMFCRibbonPanel* pPanel3 = pCategory->AddPanel(_T("Small with Indicator"));
CMFCRibbonColorButton* pBtn7 = new CMFCRibbonColorButton(ID_RIBBON_CBTN_7, _T("Simple"), 6);
pBtn7->SetColor(RGB(255, 0,
colordialog1.java
package cn.com.chengang.jface.dialog;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.widgets.ColorDialog;
import org.eclipse.swt.widgets.Displ
sumarize11_5_2a.m
%调入与显示RGB图像
RGB = imread('peppers.png');
isrgb(RGB);
figure(1);
imshow(RGB);
%RGB图转换为灰度图像
I = rgb2gray(RGB);
figure(2);
imshow(I);
colorbar('horiz');
isgray(I);
%边缘检测
ED = edge(I,'sobel',0
sumarize11_5_4b.m
%载入图像
RGB = imread('saturn.png');
%RGB转换为灰度图
I = rgb2gray(RGB);
%加入高斯白噪声
J = imnoise(I,'gaussian',0,0.005);
%采用自适应滤波
K = wiener2(J,[5 5]);
%显示原始图像、加入噪声的图像以及滤波后的噪声
imshow(I)
figure,imshow(J)