pixel
setting DirectX9 surface pixels
I\'m trying to set the individual pixels in a D3DSURFACE9 but they\'re going all over the place. I think I\'ve done this before but can\'t seem to get it right this time.[详细]
2023-02-28 02:48 分类:问答signed int to unsigned byte and vice versa
I have a signed value e.g. -7368817 when I cast it to byte it will be something like: -113 I convert it to unsigned byte bye & 0xff and it will be something like 143[详细]
2023-02-27 00:36 分类:问答Edit pixel values
How to edit pixel values of an image in Java. I开发者_JAVA百科s there any method to change pixel values?For example:[详细]
2023-02-26 21:25 分类:问答'imagecolorat' and transparency
How it\'s possible to get the transparency value of a pixel on an image? \'imagecolorat\' picks only the index of the color of the pixel at the specified location in the image. With that index I can[详细]
2023-02-26 04:20 分类:问答How to erase an area delimited by a line segment and a block of colors?
Given the picture below: The positi开发者_如何转开发on of A and B is known, the rest of the picture is just raw pixel data (only red and white pixels). What algorithm can I use to erase the part to[详细]
2023-02-25 10:52 分类:问答Algorithm to find the coordinates of a corner in a simple image
I have a bitmap where two large blocks of colors intersect, and I would like to find the intersection of these two blocks.[详细]
2023-02-24 03:52 分类:问答How to get pixel coordinates of a pixel inside an html5 canvas
I 开发者_运维百科know that you can get the value of each pixel inside the html5 Canvas using getImageData() and .data() but is there a way to get their coordinates and not just their values?var w = ct[详细]
2023-02-23 00:52 分类:问答How can I simply load a greyscale tiff in libtiff and get an array of pixel intensities?
I am trying to understand images some more, and I\'m having a great deal of trouble.From using matlab, I have experience in using imread(\'test.tif\'), and getting a beautiful matrix of rows vs. colum[详细]
2023-02-20 11:00 分类:问答Java, pixels in a given letter of a particular Font
How can I determine how many pixels are in a specific letter of a specific Font i开发者_StackOverflown Java?If you have the font loaded as a Font object, you can create a new FontMetrics object (or on[详细]
2023-02-20 04:01 分类:问答ActionScript - getPixel() Coords on BitmapData with Transformation Matrix?
i\'ve filled a circle shape with the bitmap data of a bitmap asset. i need to rotate the circle from the center, so i added the bitmap to the center of the circle and used a matrix transformation to[详细]
2023-02-20 03:33 分类:问答