Location:
Search - rgb to x
Search list
Description: 相关方法:
PictureBox.point(x,y)得到(x,y)点的RGB值
PictureBox.PSet(x,y) z: 设置(x,y)点的颜色为z颜色
不过这里的picture Load进来后要进行转换,因为不是按照像素值来进行的。
-correlation method : PictureBox.point (x, y) be (x, y) of the RGB values PictureBox.PSet (x, y) z : Setting up the (x, y) of the color of color z But the picture here after coming here to Load for conversion, because it is not in accordance with the pixel value to the.
Platform: |
Size: 2575596 |
Author: 叶叶 |
Hits:
Description: * This element captures your X Display and creates raw RGB video. It uses
* the XDamage extension if available to only capture areas of the screen that
* have changed since the last frame. It uses the XFixes extension if
* available to also capture your mouse pointer. By default it will fixate to
* 25 frames per second.
Platform: |
Size: 24095 |
Author: accessalp |
Hits:
Description: 相关方法:
PictureBox.point(x,y)得到(x,y)点的RGB值
PictureBox.PSet(x,y) z: 设置(x,y)点的颜色为z颜色
不过这里的picture Load进来后要进行转换,因为不是按照像素值来进行的。
-correlation method : PictureBox.point (x, y) be (x, y) of the RGB values PictureBox.PSet (x, y) z : Setting up the (x, y) of the color of color z But the picture here after coming here to Load for conversion, because it is not in accordance with the pixel value to the.
Platform: |
Size: 2575360 |
Author: 叶叶 |
Hits:
Description: 输入x,y坐标,得到该店的RGB值.
输入x,y坐标,得到该店的RGB值.-Input x, y coordinates, the RGB value to be store. Input x, y coordinates, the RGB value to be store.
Platform: |
Size: 212992 |
Author: 张棚 |
Hits:
Description: * This element captures your X Display and creates raw RGB video. It uses
* the XDamage extension if available to only capture areas of the screen that
* have changed since the last frame. It uses the XFixes extension if
* available to also capture your mouse pointer. By default it will fixate to
* 25 frames per second.-* This element captures your X Display and creates raw RGB video. It uses
* the XDamage extension if available to only capture areas of the screen that
* have changed since the last frame. It uses the XFixes extension if
* available to also capture your mouse pointer. By default it will fixate to
* 25 frames per second.
Platform: |
Size: 23552 |
Author: accessalp |
Hits:
Description: 用如求直立主图统计程序。RGB有3个座标,分别是R,G,B,其值从0-255。把0-255分成4段,那么每个座标有4种取值,共可以表示4*4*4=64种颜色。程序中主要是histogram函数,它有两个参数,第1个参数是一个64位数组,每一位表示一种颜色,其值是该颜色出现的次数。另外两个函数numbercolor是对每个像素计算它的颜色值,fenduan是对参数x返回0-255中的某一段。主函数测试一副图片的颜色直方图的统计。-Used as the main map for vertical statistical procedures. RGB has three coordinates, namely R, G, B, its value from 0-255. The 0-255 is divided into 4, then there are four kinds of each coordinates value, can indicate a total of 4* 4* 4 = 64 kinds of colors. Process is mainly histogram function, it has two parameters, the first a parameter is a 64-digit group, each and every one expressed a different color, its value is the number of the color appears. The other two function numbercolor is calculated for each pixel its color value, fenduan of parameters x the return of a certain period of 0-255. The main function to test a picture of the color histogram statistics.
Platform: |
Size: 16384 |
Author: 陈一工 |
Hits:
Description: CRT显示器上又rgb值计算xyz值程序,gog模型是目前最广泛使用的CRT显示器模型-CRT monitors also xyz values rgb value procedures, gog model is the most widely used model of CRT monitors
Platform: |
Size: 1024 |
Author: chengyue |
Hits:
Description: The X, Y and Z matrix arguments can be used exactly as in the surf and mesh functions. But attention to the colors, because DXF fiels do not uses RGB palete. Instead they use a scaled color palete between 0 and 255.
Platform: |
Size: 2048 |
Author: Kriubha |
Hits:
Description: 彩色图像分割,灰常不错。This function implements kmeans clustering on an input RGB (m x n x 3)
image. The user inputs at least two inputs: IMGIN and NCLUSTERS, and this
function will step through an interactive color segmentation using kmeans clustering. It is interactive in that the user will be prompted to click-define the target colors in the segmentation.-This function implements kmeans clustering on an input RGB (m x n x 3)
image. The user inputs at least two inputs: IMGIN and NCLUSTERS, and this
function will step through an interactive color segmentation using kmeans clustering. It is interactive in that the user will be prompted to click-define the target colors in the segmentation.
Platform: |
Size: 9216 |
Author: zhuweina |
Hits:
Description: Rectangle()//设置画图区域
SetTextColor()//设置文字显示颜色
TextOut()//在当前坐标(光标)
输出文本
MoveTo(x,y)//将光标移动到(x,y)
位置
LineTo(x,y)//从当前光标画线到(x,y),
并将光移到(x,y)
SelectObject()//选择画笔对象
PtVisible(x,y)//判断(x,y)是否在
Rectangle()设置的区域中
CPen pen(PS_SOLID,1,RGB(0,255,0)) //定义画笔颜色-Rectangle ()// set the drawing area SetTextColor ()// set the text display color TextOut ()// coordinates in the current (cursor) output text MoveTo (x, y)// Move the cursor to (x, y) position LineTo ( x, y)// draw a line from the current cursor to the (x, y), and light move (x, y) SelectObject ()// Select the Brush object PtVisible (x, y)// determine the (x, y) whether the Rectangle () to set the area CPen pen (PS_SOLID, 1, RGB (0,255,0 )) // custom brush color
Platform: |
Size: 11264 |
Author: vic |
Hits:
Description: 本文介绍了类,代表了全托管代码的位图。
一个位图,基本上是一维数组,使用了一些计算被视为一个二维数组看到。在这种数组中的值可以是颜色索引(当使用调色板)或RGB值直接使用某种类型的编码。托管位图具有PixelArray,这是一个字节数组,GrayscaleBitmap的诠释(System.Int32的),为ArgbBitmap为ColorBitmap颜色和简单的类。他们也知道有一个宽度,计算出的X / Y坐标。高度值,然后计算作为其宽度PixelArray长度划分。他们当然有一些其他方法。它们可以被转换成和相互System.Drawing.Bitmaps,也可以复制一个唯一的“块“到另一个
-A bitmap is basically a one-dimensional array that uses some calculation to be seen as a two-dimensional array. The values in such array could be color indexes (when using color palettes) or the RGB values directly, using some type of encoding. The managed bitmaps are simple classes that have a PixelArray, which is an array of bytes, for GrayscaleBitmap, of int (System.Int32) for ArgbBitmap and of Color for ColorBitmap. They also have a Width to know to calculate a X/Y coordinate. The height value is then calculated as a division of the PixelArray length by its Width. They, of course, have some additional methods. They can be converted to and from each other and System.Drawing.Bitmaps, and also can copy only "blocks" from one to another
Platform: |
Size: 91136 |
Author: 胡九 |
Hits:
Description: 改变图像的亮度,也只需调用RGB(Bmp, X, X, X)改变三原色-Change the brightness of the image, but also simply call the RGB (Bmp, X, X, X) to change the RGB
Platform: |
Size: 7168 |
Author: 齐武献 |
Hits:
Description: findEnergy.m 计算出图像的梯度图
findSeamImg.m 计算出所有可能的竖直缝
findSeam.m找出能量最小的一条竖直缝
removalMap.m将需要删除的N条竖直缝存储起来并按照索引逐条删除
SeamCut.m将选中的缝一条条的删除
SeamPlot.m在图中画出要删除的缝
Testseam.m调用以上函数的主程序-FINDENERGY creates an gradient img from a given RGB or grayscale image.
FINDSEAMIMG finds the seam map from which the optimal (vertical running)
seam can be calculated.
FINDSEAM returns a column vector of coordinates for the pixels to be removed (the seam).
SEAMPLOT takes as input an image and the SeamVector array and produces an image with the seam line superimposed upon the input image, x, for display purposes.
SEAMCUT takes as input a RGB or grayscale image and SeamVector array to find the pixels contained in the seam, and to remove them from the image.
REMOVALMAP takes a given image and finds the ordered set of (vertical) seams that are removed from an image and returns them in an array, where the Nth column in the array corresponds to the Nth seam to be removed.
Platform: |
Size: 4845568 |
Author: 楚守冬 |
Hits:
Description: ImageMagic 圖片色彩平衡調整
Ever wonder how to extract data from a JPEG and manipulate it using only WPF? Or how WPF performs on a moderately sized image (10 MB)? The ImageMagic program provides an answer. The program opens an included 2592 x 3872 JPEG, extracts its data and redisplays it using the RGB, CMYK and HSL colorspace channels. File Open and Save facilities are provided. The user may enjoy his own images or save the current display as a JPEG. It s a good way to become familiar with popular colorspaces. Methods are provided to convert arrays of RGB data to CMYK or HSL as well as the inverse operation.-ImageMagic image color balance
Ever wonder how to extract data from a JPEG and manipulate it using only WPF? Or how WPF performs on a moderately sized image (10 MB)? The ImageMagic program provides an answer. The program opens an included 2592 x 3872 JPEG, extracts its data and redisplays it using the RGB, CMYK and HSL colorspace channels. File Open and Save facilities are provided. The user may enjoy his own images or save the current display as a JPEG. It s a good way to become familiar with popular colorspaces. Methods are provided to convert arrays of RGB data to CMYK or HSL as well as the inverse operation.
Platform: |
Size: 136192 |
Author: tang |
Hits:
Description: Lab2RGB takes L, a, and b double matrices, or an M x N x 3 double
image, and returns an image in the RGB color space. Values for L are in
the range [0,100] while a* and b* are roughly in the range [-110,110].
If 3 outputs are specified, the values will be returned as doubles in the
range [0,1], otherwise the values will be uint8s in the range [0,255].
This transform is based on ITU-R Recommendation BT.709 using the D65
white point reference. The error in transforming RGB -> Lab -> RGB is
approximately 10^-5.
See also RGB2LAB.
By Mark Ruzon from C code by Yossi Rubner, 23 September 1997.
Updated for MATLAB 5 28 January 1998.
Fixed a bug in conversion back to uint8 9 September 1999.
Updated for MATLAB 7 30 March 2009.-Lab2RGB takes L, a, and b double matrices, or an M x N x 3 double
image, and returns an image in the RGB color space. Values for L are in
the range [0,100] while a* and b* are roughly in the range [-110,110].
If 3 outputs are specified, the values will be returned as doubles in the
range [0,1], otherwise the values will be uint8s in the range [0,255].
This transform is based on ITU-R Recommendation BT.709 using the D65
white point reference. The error in transforming RGB -> Lab -> RGB is
approximately 10^-5.
See also RGB2LAB.
By Mark Ruzon from C code by Yossi Rubner, 23 September 1997.
Updated for MATLAB 5 28 January 1998.
Fixed a bug in conversion back to uint8 9 September 1999.
Updated for MATLAB 7 30 March 2009.
Platform: |
Size: 1024 |
Author: tertul |
Hits:
Description: Imaging is native Object Pascal image loading, saving and manipulation library. It is available for several platforms and does not require any third party dynamic libraries or other compiled binaries.
Main development language is Object Pascal (Delphi and Free Pascal compilers are supported) and there are interfaces to the library (compiled into dll/so) for other languages like C/C++ and Delphi.NET. Currently supported operating systems are Windows, Linux, FreeBSD (and some other Unixes), and Mac OS X (on Intel). Supported CPU architectures are x86 and AMD64.
Currently supported image file formats are: (loading and saving) BMP, JPEG, PNG/APNG, GIF, TGA, DDS, MNG, JNG, JPEG2000, PSD, TIFF, PGM, PPM, PAM, PFM, XPM, (loading only) PCX, and PBM. Many internal image data formats are supported: 8/16/24/32/48/64 bit RGB and ARGB formats, indexed formats, grayscale formats, half/single precision floating point formats, and compressed formats DXT1/3/5, 3Dc, and BTC.
Platform: |
Size: 13658112 |
Author: 刘炳元 |
Hits:
Description: 基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行
控件内柱子所在位置 大小 可根据控件大小自适应调整大小及位置
每根柱子高度为相邻柱子之间间隙 设控件总宽度为W 柱子个数为N 那么间隙宽度 X W 3 N + 1 柱子高度为 Y 2 X 2 W 3 N + 1
使用步骤:
1 申明对象 CMyBarChart m conBarChart
2 创建控件 m conBarChart Create CRect 10 10 400 400 this 1000 " Barchart Test"
3 添加 删除数据 m conBarChart AddData 1 234 “AAA” RGB 0 0 0 true m conBarChart DelLastData
4 刷新柱状图 m conBarChart Refresh ">基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行 -Histogram Histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project to run
Location within the control column size can be adjusted according to the size and location of the adaptive control size
The height of each pillar was a gap is provided between adjacent pillars controls overall width W is N then the column number of the gap width XW 3 N+ 1 pillar height of Y 2 X 2 W 3 N+ 1
Use these steps:
A declaration object CMyBarChart m conBarChart
2 Create controls m conBarChart Create CRect 10 10 400 400 this 1000 "Barchart Test"
3 add and delete data m conBarChart AddData 1 234 "AAA" RGB 0 0 0 true m conBarChart DelLastData
4 Refresh histogram m conBarChart Refresh "> histogram histogram-based MFC project category (CMyBarChart) the two files (MyBarChart cpp MyBarChart h) does not depend on a specific project to add files to your project
Platform: |
Size: 136192 |
Author: 胡明峄 |
Hits:
Description: 用Vb写的简单屏幕保护,不过看上去很不错,很多星星从屏幕中央爆炸开来,像天女像散花一样,一波接一波的爆开,晃动鼠标的话立即消失。所以在测试的时候不要碰到鼠标。部分代码说明:星星与边缘的距离 = ((屏幕最长半径) - (星星(残片ID).距离)) * (1.47)
颜色 = RGB((星星与边缘的距离), (星星与边缘的距离), (星星与边缘的距离))
Call 设置文字颜色((Me.hdc), (颜色))
Call 打印文本((Me.hdc), (坐标.X), (坐标.Y), (Chr((-24081) - (星星(残片ID).星星类型))), LenB(Chr((-24081) - (星星(残片ID).星星类型))))。-Vb write with a simple screen saver, but it looks very good, a lot of stars to explode from the center of the screen, the same as the day women like scatter flowers, wave after wave burst open, shake the mouse, then immediately disappear. So when the test do not touch the mouse. Part of the code description: Stars and edge distance = (. (Screen longest radius)- (star (fragments ID) distance))* (1.47)
Color = RGB ((distance from the edge of the stars), (distance from the edge of the stars), (from the stars and the edge of the))
Call set the text color ((Me.hdc), (color))
Call printed text ((Me.hdc), (coordinates X), (coordinate Y), (Chr ((-24081)-... (Star (fragments ID) star type))), LenB (Chr ((-24081 )-. (star (fragments ID) star type)))).
Platform: |
Size: 5120 |
Author: ipudn48 |
Hits:
Description: 1. 在实验四 2.a与2.b所定义的P类(点的抽象)和颜色类Color类的基础上,定义像素类。
a. 声明P类表示一个点的x轴和y轴坐标,声明构造方法和拷贝构造方法,
声明若干get()和set()方法获得或设置坐标,声明move()方法将当前坐标
移动若干位置。
b. 声明颜色类Color
一种颜色由(红,绿,蓝)三元色值组成,称为RGB值。 一个int整数(四个
字节)可表示一种颜色,结构为:最高字节全1,其后3字节分别存储“红、
绿、蓝”单色值,单色值范围是0 ~ 255。例如,0xff00ff00表示绿色,RGB值
为(0,255,0)。声明构造方法和拷贝构造方法,声明多个get()和set()方法获得
或设置该颜色的RGB值。
c. 声明像素类Pixel继承Point类,像素是一个带颜色的坐标点。
-1. On the basis of experiments with four 2.a 2.b defined P class (point of abstraction) and color class Color class, the definition of a pixel class.
a. Statement P class represents a point of x-axis and y-axis coordinates, declare constructor and copy constructor,
Statement number of get () and set () method to get or set the coordinates, declare move () method of the current coordinates
Moving several locations.
b. declare color category Color
A color the (red, green, blue) values of three primary colors, known as the RGB value. An int integer (four
Platform: |
Size: 13312 |
Author: 李雪歌 |
Hits:
Description: SLIC算法是simple linear iterative cluster的简称,该算法用来生成超像素(superpixel)
算法步骤:
已知一副图像大小M*N,可以从RGB空间转换为LAB空间,LAB颜色空间表现的颜色更全面
假如预定义参数K,K为预生成的超像素数量,即预计将M*N大小的图像(像素数目即为M*N)分隔为K个超像素块,每个超像素块范围大小包含[(M*N)/K]个像素
假设每个超像素区域长和宽都均匀分布的话,那么每个超像素块的长和宽均可定义为S,S=sqrt(M*N/K)
遍历操作,将每个像素块的中心点的坐标(x,y)及其lab的值保存起来,加入到事先定义好的集合中(Algorithmic steps:
Given the size of an image M*N, it can be converted from RGB space to LAB space, and the color space of LAB is more comprehensive.
If the predefined parameter K, K is the number of pre-generated super-pixels, i.e., the image of M*N size (the number of pixels is M*N) is expected to be divided into K super-pixel blocks, each of which contains [(M*N)/K] pixels.
Assuming that the length and width of each super-pixel region are evenly distributed, the length and width of each super-pixel block can be defined as S, S = sqrt (M*N/K).
The traversal operation saves the coordinates (x, y) and lab values of the central points of each pixel block and adds them to a pre-defined set.)
Platform: |
Size: 1024 |
Author: 大侠就是我 |
Hits: