Location:
Search - RGB2GRAY
Search list
Description: 本程序可将输入的RGB图像转化为灰度图像!在Matlab环境下编程实现。-this procedure can be imported RGB images into gray image! Matlab programming environment.
Platform: |
Size: 1432 |
Author: 宋军 |
Hits:
Description: This file include some image process program:
void ImResize(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg, int nFixSize)
bool CalMoments(float Moments[7], IMAGEDATA *pSrImg)
void RGB2Gray(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg)
void Im2Bw(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg)
float Graythresh(IMAGEDATA *pImgData)
void MomentInvar(double Moments[7], IMAGEDATA *ret)
bool CalGabor(float Gabor[32], IMAGEDATA *pSrImg)
void TexGabor(float Gabor1[MM*NN],float Gabor2[MM*NN],IMAGEDATA *przImg)
int FloatSearch(MATRIX *pData, int *nLabels, int d, int delta, int r, TSubset *bset)
Platform: |
Size: 12434 |
Author: wan_xianglin |
Hits:
Description: This software makes,
image conversions(rgb2gray, rgb2binary....)
image filtering(average, wiener, contrast streching...)
continuous filtering. Filters the image continuously. If you \"hold\" the image
then you can continue the operation with the last image holded.
Platform: |
Size: 13442 |
Author: 夜妖 |
Hits:
Description: This zip file contains source code and windows executables for carrying out face detection on a gray scale image. The code implements Viola-Jones adaboosted algorithm for face detection by providing a mex implementation of OpenCV s face detector. Instructions for use and for compiling can be found in the Readme file.
Usage:
FaceDetect (<Haar Cascase XML file>, <Gray scale Image>)
The function returns Nx4 matrix. In case no faces were detected, N=1 and all four entries are -1. Otherwise, N=number of faces in the image and the vector contains the x, y, width and height information of the face.
Example,
A = imread ( lena.jpg , JPG )
Img = double (rgb2gray(A))
Face = FaceDetect( haarcascade_frontalface_alt2.xml ,Img)
Platform: |
Size: 1295516 |
Author: ruan |
Hits:
Description: 将RGB图像转换为灰度图像,本程序详细说明了转换原理和过程,还有腐蚀膨胀详细原理和程序
Platform: |
Size: 1623 |
Author: zhangzhehui |
Hits:
Description: 用于灰度图像上色
Platform: |
Size: 63379 |
Author: dddddx |
Hits:
Description: Change gray image to rgb image-Change gray image to image rgb
Platform: |
Size: 63488 |
Author: ying |
Hits:
Description: 本程序可将输入的RGB图像转化为灰度图像!在Matlab环境下编程实现。-this procedure can be imported RGB images into gray image! Matlab programming environment.
Platform: |
Size: 1024 |
Author: 宋军 |
Hits:
Description: This file include some image process program:
void ImResize(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg, int nFixSize)
bool CalMoments(float Moments[7], IMAGEDATA *pSrImg)
void RGB2Gray(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg)
void Im2Bw(IMAGEDATA *pRtImg, IMAGEDATA *pSrImg)
float Graythresh(IMAGEDATA *pImgData)
void MomentInvar(double Moments[7], IMAGEDATA *ret)
bool CalGabor(float Gabor[32], IMAGEDATA *pSrImg)
void TexGabor(float Gabor1[MM*NN],float Gabor2[MM*NN],IMAGEDATA *przImg)
int FloatSearch(MATRIX *pData, int *nLabels, int d, int delta, int r, TSubset *bset)
-This file include some image process program:
void ImResize(IMAGEDATA*pRtImg, IMAGEDATA*pSrImg, int nFixSize)
bool CalMoments(float Moments[7], IMAGEDATA*pSrImg)
void RGB2Gray(IMAGEDATA*pRtImg, IMAGEDATA*pSrImg)
void Im2Bw(IMAGEDATA*pRtImg, IMAGEDATA*pSrImg)
float Graythresh(IMAGEDATA*pImgData)
void MomentInvar(double Moments[7], IMAGEDATA*ret)
bool CalGabor(float Gabor[32], IMAGEDATA*pSrImg)
void TexGabor(float Gabor1[MM*NN],float Gabor2[MM*NN],IMAGEDATA*przImg)
int FloatSearch(MATRIX*pData, int*nLabels, int d, int delta, int r, TSubset*bset)
Platform: |
Size: 12288 |
Author: wan_xianglin |
Hits:
Description: 将RGB图像转换为灰度图像,本程序详细说明了转换原理和过程,还有腐蚀膨胀详细原理和程序-RGB images will be converted to grayscale images, the procedure described in detail the principles and the process of conversion, as well as the expansion of corrosion principles and procedures in detail
Platform: |
Size: 1024 |
Author: zhangzhehui |
Hits:
Description: Convert Image RGB to graylevel
Platform: |
Size: 1473536 |
Author: husnul |
Hits:
Description: matlab提供了rgb2gray的函数,但是如果gray想要换成rgb,就要自己写了。-matlab function rgb2gray provided, but if you want gray into rgb, should write their own.
Platform: |
Size: 1024 |
Author: 竹笑 |
Hits:
Description: matlab 中用来将rgb数据转换成灰度图像的源代码-matlab used to the rgb data into gray-scale image of the source code for
Platform: |
Size: 1024 |
Author: discovery |
Hits:
Description: 可将输入的RGB图像转化为灰度图像!在Matlab环境下编程实现。-RGB images can be input into a gray-scale image! In the Matlab programming environment.
Platform: |
Size: 2048 |
Author: JASON |
Hits:
Description: 最基本的由彩色图像转换为灰度图像的代码。在matlab中运行图像处理时用到的最基本源码,但是很多matlab中并不含有这个函数。-The most basic color images by gray-scale image is converted to code. In the matlab image processing used to run the most basic source code, but many do not contain this function in matlab.
Platform: |
Size: 1024 |
Author: 赵晓霞 |
Hits:
Description: 实现相位编组的算法I=imread( bbb.jpg )
x=rgb2gray(I)
x=double(x)
gradephase(x)-I=imread( bbb.jpg )
x=rgb2gray(I)
x=double(x)
gradephase(x)
Platform: |
Size: 1024 |
Author: xuan |
Hits:
Description: Igray = rgb2gray(I)
Ibw = im2bw(Igray,graythresh(Igray))
Iedge = edge(uint8(Ibw))
se = strel( square ,3)
Iedge2 = imdilate(Iedge, se)
Ifill= imfill(Iedge2, holes )
[Ilabel num] = bwlabel(Ifill)
Iprops = regionprops(Ilabel)
Ibox = [Iprops.BoundingBox]
Ibox = reshape(Ibox,[4 50])
Ic = [Iprops.Centroid]
Ic = reshape(Ic,[2 50])
Ic = Ic
Ic(:,3) = (mean(Ic.^2,2)).^(1/2)
Ic(:,4) = 1:50
Extra lines compare to example2 to extract all the components into an
cell array
Ic2 = sortrows(Ic,2)
for cnt = 1:5
Ic2((cnt-1)*10+1:cnt*10,:) = sortrows(Ic2((cnt-1)*10+1:cnt*10,:),4)
end
Ic3 = Ic2(:,1:2)
ind = Ic2(:,4)
for cnt = 1:50
img{cnt} = imcrop(Ibw,Ibox(:,ind(cnt)))
end
-Igray = rgb2gray(I)
Ibw = im2bw(Igray,graythresh(Igray))
Iedge = edge(uint8(Ibw))
se = strel( square ,3)
Iedge2 = imdilate(Iedge, se)
Ifill= imfill(Iedge2, holes )
[Ilabel num] = bwlabel(Ifill)
Iprops = regionprops(Ilabel)
Ibox = [Iprops.BoundingBox]
Ibox = reshape(Ibox,[4 50])
Ic = [Iprops.Centroid]
Ic = reshape(Ic,[2 50])
Ic = Ic
Ic(:,3) = (mean(Ic.^2,2)).^(1/2)
Ic(:,4) = 1:50
Extra lines compare to example2 to extract all the components into an
cell array
Ic2 = sortrows(Ic,2)
for cnt = 1:5
Ic2((cnt-1)*10+1:cnt*10,:) = sortrows(Ic2((cnt-1)*10+1:cnt*10,:),4)
end
Ic3 = Ic2(:,1:2)
ind = Ic2(:,4)
for cnt = 1:50
img{cnt} = imcrop(Ibw,Ibox(:,ind(cnt)))
end
Platform: |
Size: 291840 |
Author: honey |
Hits:
Description: matlab下将彩色图像装换为灰度图像的一个小程序-a small programm for convert the colour image to gray image using maltlab platform
Platform: |
Size: 1024 |
Author: gaohua |
Hits:
Description: 在Visual C++环境下实现真彩色图像转换为灰度图像的源代码,还有所用的图片-In Visual C++ environment to achieve true color image is converted to grayscale the source code, there are pictures used
Platform: |
Size: 138240 |
Author: 张国鹏 |
Hits:
Description: 此文件为 在matlab中rgb2gray的方式-way of rgb2gray in matlab
Platform: |
Size: 1024 |
Author: 123o |
Hits: