python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to calculate mm per pixel of an image at a certain distance using camera calibration matrix?
I saw the answers here:
How can I get pixel size in millimetres using camera calibration with checkerboard images in Matlab?
but it wasn't answered.
I have a fixed camera and an object at a certain ...

Sulphur
Votes: 0
Answers: 1
How do I cover a 2D array of colors with the fewest possible colored rectangles?
I'm creating a game that takes an image represented by a 16x16 array of html color codes and creates a 3D object made out of rectangular cuboids. Like taking the Paint program on Windows and extruding...
Oliver Barnum
Votes: 0
Answers: 0
Compressing Texture2D with SetPixel() return weird colors in Unity
As the title said, I'm compressing an image (inputed as a Texture2D) by dividing the image into blocks and taking the average r, g, and b value.
Image:
But the result is mostly gray-ish color with a ...

silverfox
Votes: 0
Answers: 0
what is 0xFF and 0x33 means?
For example when I read pixel color from an image, why I should use
$r = round(round($rgb['red'] / 0x33) * 0x33);
$g = round(round($rgb['green'] / 0x33) * 0x33);
$b = round(round($rgb['blue'] / 0x33) ...
Michael Mulik
Votes: 0
Answers: 0