Questions tagged [image-processing]
The image-processing tag has no summary.
34 questions
1
vote
1
answer
161
views
Processing an image of land and water into a stylized map
First please excuse my English, it's not my first language!
I'm trying to process an existing image to create a game map, to be clear, this is not a procedurally-generated image. However, I would like ...
0
votes
0
answers
78
views
What causes this ugly blending between certain colors, and how do I fix it?
I'm working on a game and while using some debug colors with high contrast, I noticed that the edges blend together in a way that I find unattractive :
At first I thought it was the shader I wrote to ...
0
votes
2
answers
456
views
How do you determine if a texture is primarily dark or light?
Particularly, how do you implement Color.GetBrightness (?)
...
2
votes
1
answer
354
views
How to generate a correct RGB + Luminance histogram?
I am trying to create a debug tool that would help me visualize an image RGB and luminance histogram.
I have created a compute shader where I gather the histogram data
...
1
vote
1
answer
215
views
Bind render result to texture id
I want to save the result screen of the rendering and then apply another shader on that result, the typical way is to read the screen using glReadPixels and then buffer that image to gpu and then ...
1
vote
1
answer
148
views
Function to draw an image inside a rectangle
How can I draw an image inside a rectangle?
I am introducing myself in the manipulation of images for games, I have a window and inside there is a rectangle that deforms. I would like to fill the ...
0
votes
1
answer
1k
views
Unity: White outline around seams in my character, make it stop!
so once upon a time I made a really cool character for my game project and he looked great. Then at some unspecific point in time, my character's UV seams got these awful white outlines around them:
I ...
0
votes
1
answer
77
views
How to create a 32 bit red texture byte buffer
I want to make a red texture image buffer. Would anyone help me to make it in right way. I have tried following:
...
0
votes
2
answers
307
views
Alpha Blending older Images
I am working on re-writing an old game, and have faced some issues with the older images that were used, the first thing we done was convert all the old images and set the alpha channel on black ...
1
vote
0
answers
1k
views
Passing an UAV to a Pixel Shader in DirectX11
I have a compute shader which task is to take an input image and then blur it using a Gaussian filter approach. The input and output for the compute shader looks like this:
...
1
vote
1
answer
67
views
Any resources for how to read image files [closed]
I'm learning opengl and I'm the kinda guy who likes to write things from scratch and I was searching for how I can read image files data to create my own image importing library to use for textures ...
0
votes
2
answers
2k
views
Gamemaker: images appear blurred in application
I'm making a practice game (generic space invaders clone) in Gamemaker Studio. However, there appears to be a problem with the images. While they look acceptable in Gamemaker Studio (not amazing, due ...
1
vote
0
answers
54
views
Pick a color and then Chop image with that color into 7 easy pieces
I have an image with 8 colors - (ROYGBIV and white) - I want to create 7 images - each has only one of the colors in the resulting image. I can do that fairly easily in GIMP.
Next I need to chop each ...
1
vote
1
answer
358
views
C++ : Library for creating 3d view picture [closed]
I've got a numerical simulation, where I have as an output 3d matrix of billion elements - the visualisation of data is 2d flat image:
When I was starting I was just outputting 2d data to gnuplot, now ...
3
votes
1
answer
2k
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 ...
1
vote
1
answer
827
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;
...
5
votes
1
answer
3k
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 ...