The image-processing tag has no usage guidance.
1
vote
1answer
106 views
What can I do in Unity3D to optimize the way I'm calculating contrast of a texture2D?
I have this contrast script right now in Unity:
public void ApplyContrast(string contrast)
{
try
{
double contrastD = Convert.ToDouble(contrast);
//Make ...
2
votes
1answer
216 views
How can I use a lookup table for brightness and contrast?
Currently, I implemented a rudimentary brightness and contrast algorithm that changes brightness and contrast pixel by pixel. This was super inefficient performance wise and the algorithm looked a bit ...
0
votes
0answers
22 views
show different color areas of image on touch
How do I show colors filled in on a colorless version of an image on user touch. (for example color mania or guess the colors app). I know one way is to provide the same image 3 times (for 3 colors) ...
2
votes
1answer
300 views
Signed Distance Fields: How are different colour channels used to improve output of sharp corners?
The naive approach to implementing signed distance field font rendering suffers quality issues where sharp corners get softened (either outward- or inward-facing corners, i.e. convex or concave ...
1
vote
1answer
106 views
Getting normal map of an image
I'm trying to achieve the results in this tutorial: Link
So far, I was be able to do that;
with these;
public PixelMap GetNormalMap(double strength)
{
var newMap = new ...
1
vote
1answer
157 views
GLSL Processed Image to OpenGL
I've tried wording and rewording this question in various forms of search and can't seem to find an answer to it. If I'm wording it wrong and/or just not finding the right information, feel free to ...
1
vote
2answers
2k views
How can I rotate a bitmap without D3D or OpenGL?
I've just figured out on my own how to scale a portion of a bitmap using PutPixel. I would like to know the mathematical theory behind rotating a bitmap on my own, using per-pixel operations like ...
5
votes
1answer
500 views
How to vectorize a raster image edges into SVG paths?
I'm having a lot of trouble figuring out how to convert a 2D list of points into an SVG Path representing a political map border. I have completed all parts of a 2D terrain generator, including ...