type_gpanelpos.html
来自「一个由Mike Gashler完成的机器学习方面的includes neural」· HTML 代码 · 共 11 行
HTML
11 行
<html><head><title>Generated Documentation</title></head><body> <image src="headerimage.png"> <br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GPanelPos</b></big></big></big><br><br></td><td> Returns the height of the image in pixels Blit an image into this image. The source rect must be within the source image. The dest area can be out of the dest image. The alpha channel is ignored. Blit an image into this image. The source rect must be within the source image. The dest area can be out of the dest image. Also performs alpha blending. Analysis Tools Munges the image. nStyle should be 0, 1, 2, or 3. Each value munges a different way. fExtent should be between 0 and 1, where 0 doesn't change much and 1 totally munges it. You're responsible to delete the munged image this returns dRadians ranges from 0 to 2PI fAmount ranges from 0 to about 4, but small values (like .1) seem to look best This uses a Gaussian to interpolate between the original image and a translated image. The result appears as though the start point were stretched to the end point. Make a string of text that would be difficult for non-humans to read Generates a discrete kernel to approximate a Gaussian. nWidth is both the width and height of the kernel. (Usually an odd number is desireable so there is a bright center pixel.) fDepth is the value of the center of the kernel. 1 <= fDepth <= 255. The values are computed such that the center of each edge has a value of 1. Values for dExtent range from 0 to 1. In most cases, a small value (like .1) is desireable Computes the grascale histogram of the image, regresses two gaussians to fit the histogram, and returns the intersection point in grayscale values. Thresholds the image (to black and white) at the specified grayscale value. (0 <= nGrayscaleValue < 65281). (65281 = 255 * 256 + 1) Sets every pixel to the grayscale median of the neighborhood that fits within the specified radius. (A radius of 1 will include only 4 neighbors. A radius of 1.5 will include 8 neighbors.) a basic morphological operator A basic morphological operator if nPixels > 0, opens the image by the specified number of pixels if nPixels < 0, closes the image by the specified number of pixels This finds the biggest "nBlobs" connected component regions, and makes a mask that enumerates each of the connected component, and reports the number of pixels in each blob. nTolerance is in grayscale values, so it ranges from 0 to 65280. pBlobSizes can be NULL if the area is not needed. Returns the number of connected components found. Any pixels with a value of cBackground will be marked as part of region 0. todo: remove bHack This clusters pixels with all neighbors that have a similar grayscale value (within "nTolerance") to form regions. The biggest region is assumed to be the background and is made black. The next biggest "nRegions" regions are made white. If bLabel is true, it will colorize the regions, put cross-hairs on the center of mass, draw an arrow to indicate orientation, and display the number of pixels in the region. Sets the alpha channel value for all pixels in the image Determines whether the point (x, y) is inside the triangle specified by (x0, y0), (x1, y1), (x2, y2). On any edge is considered to be within the triangle Given the three vertices of a triangle, this computes the weights for each vertex that linearly interpolates to the point (x, y) Given three weights and three points, interpolate the point, and interpolate the color at that point This represents the position and size of a game object Defines a trapezoid with paralell vertical sides. (x,y) is the top corner of the left-most side. "w" is the width, "h" is the height of the left side, "dy" is the change in y value per unit change in x, and "dh" is the change in height per unit change in x.</td></tr></table><br><br></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?