Questions tagged [image-processing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
44
votes
4answers
54k views

How is Gaussian Blur Implemented?

I've read that blur is done in real time graphics by doing it on one axis and then the other. I've done a bit of convolution in 1D in the past but I am not super comfortable with it, nor know what to ...
11
votes
0answers
350 views

Why does increasing simplex noise dimension wash it out?

I just tried using this approach to create a tiling 2d simplex noise function with Gustavson's java implementation. The result tiled, but the texture seemed muddy / washed out. I decided to compare ...
9
votes
3answers
1k views

What's a proper way to clamp dither noise?

When reducing color depth and dithering with a 2 bit noise (with n=]0.5,1.5[ and output=floor(input*(2^bits-1) + n)), the ends of the value range (inputs 0.0 and 1.0) are noisy. It would be desirable ...
9
votes
2answers
3k views

What is bilateral upsampling?

I've worked with various interpolation algorithms including linear, cubic (and bilinear and bicubic), other bezier (and nurbs, etc) based interpolations, lagrange interpolation and some others, but I ...
8
votes
2answers
876 views

Algorithms to Remove High Frequency Noise from Path Tracing

I have been working on my own renderer for a while, and I'm wondering if there's any way to remove the Monte Carlo noise from the rendered image, besides waiting for a long time for it to converge? ...
7
votes
3answers
304 views

Changing image so it would look like through colorful glasses

I am currently working on some simple pixel shader in HLSL. I send to shader texture and I want to make it more colorful (something like in the picture below). In the picture 1 there is original ...
7
votes
1answer
3k views

Detect in-focus regions of an image

Is there any strategy to detect the region of an image that is sharp and in-focus, in order to separate the out-of-focus background? I've tried using edge detection methods but without any success. ...
7
votes
3answers
292 views

How to denoise video?

Video noise is random and not correlated in time. I assume, the best method is using wavelet denoise in this case, right? If yes, how is wavelet denoise implemented for video? Is there something to ...
6
votes
1answer
1k views

Seamless Textures

I understand how an artist would make seamless textures by hand, but how can a computer program automate that process? Software like PixPlant is capable of doing this, but I don't understand how it ...
6
votes
2answers
396 views

Was Evans & Sutherland CT5 really created in 1981?

A few days ago I found a video on Twitter showing the Evans & Sutherland CT5 Flight Simulator system. It was labeled as 1981 footage and looked really amazing. The first time I saw similar 3D ...
6
votes
1answer
444 views

Image rescaling algorithm

Suppose I have to use bilinear interpolation to rescale image. I more or less understand how enlargement works in case of integer scale factor. But what to do with non-integer scale and especially ...
6
votes
2answers
2k views

Rotate image around its center

I'm struggling with a problem with image rotation. I'm using the idea of "Rotation by area mapping" in the following link: http://www.leptonica.com/rotation.html My c# codes are as follows. The idea ...
6
votes
1answer
2k views

Average intensity of an gray image

Suppose i have a 400*300 gray scale image.Now I want to scan each line horizontally and make the average of that line 128,such that the values get scaled as per their difference from mean(128) which ...
6
votes
1answer
177 views

What is the state-of-the-art on using computers to “clean-up” images?

TWO PART QUESTION - We've all seen the movies/TV shows where the police/feds/spies use computer software to take a grainy photo and do a "clean-up" to see a better picture and more details. I assume ...
5
votes
1answer
229 views

Why does an affine transform work only on three of the corners?

I am trying to use a linear transformation to straighten out the camera angle on this image: In other words, I want to transform the image into a head-on view of the whiteboard. I applied an affine ...
5
votes
2answers
1k views

Pixel dispersion (dissolving) algorithms

This YouTube video of a flip-dot display (physical b/w pixels) shows the reverse of an effect that might be called dissolve or dispersion, i.e. a text emerges from noise by pixels moving in to form ...
5
votes
1answer
220 views

Converting raster shape/blob into displacement map

I am a beginner in digital image processing and computer graphics. I would like to program a similar behavior than the Shadermap 3 normal editor (displacement layer more specifically). As shown in ...
5
votes
1answer
687 views

Instagram's fade effect

What is the pixel-level explanation of the fade effect, that was first popularized by Instagram? I want to implement this effect programmatically—that is, I want to understand what this effect is ...
5
votes
1answer
1k views

Tone Mapping & Gamma Correction

I've been looking up this question on the internet for a while, and I haven't been very successful, so I decided I'll ask it here. Should I apply tone mapping before gamma correction, gamma correction ...
5
votes
1answer
2k views

Is it better to blur the input or output of an edge detection shader for noise reduction?

To reduce noise of edge detection the norm seems like it is to apply a blur. However, is it generally better to apply the blur to the input of the edge detection. The input in my case being the depth ...
5
votes
0answers
158 views

CrazyBump Shape Recognition

I've recently been using CrazyBump, and I think I'm starting to understand how it works. But I'm confused about what it calls Shape Recognition. According to this website, that feature attempts to add ...
4
votes
1answer
159 views

Relationship between spatial frequency of an image and Aliasing

I was looking into measuring the amount of aliasing in an image. After reading through many papers and sites, I came to the conclusion that the best method to measure the amount of aliasing in an ...
4
votes
2answers
686 views

reducing image size increases file size?

When I download this image: (source: ucn.edu.ni) then its total size is 341,0 kB. The image has a width of 2880 pixels and height of 1100 pixel and 1 X/Y resolution pixel/in. I opened the image ...
4
votes
1answer
99 views

How to shift color values of a single RGB channel

I’m a weaver and textile maker with no prior coding or programming experience. In researching and reading through posts on this and other message boards, I was able to find a lot of useful information,...
4
votes
1answer
2k views

Image rotation algorithm

I would like to rotate a raster image by an arbitrary angle. I don't really care for speed: the rotation should be of highest quality possible. Could someone please suggest a suitable algorithm? I'm ...
4
votes
1answer
399 views

How to detect a screen in a photo

Is there a way to make a difference between a photo of an actual object and a photo of an object through a computer or smartphone screen. For example: how can I detect that the second image is taken ...
4
votes
1answer
430 views

Creating depth map from a 2-D image?

My question is oriented towards the generation of depth map using any of the state of the art depth sensor. However, each of these method required the presence of an 3-D object in front of the sensor....
4
votes
1answer
123 views

How can I implement a complex sinusoidal function?

The following is the 2d complex sinusoidal function, $u_0$ and $v_0$ represent Fundamental Frequencies in $X$ and $Y$ directions respectively. How can I represent $j$ (imaginary number)? Edit: ...
4
votes
1answer
93 views

DLT algorithm (4+ points) not working, what's missing?

I'm doing a direct implementation of DLT algorithm but I can't figure out why, at the end the matrix H I get doesn't (even remotely) produce x2 = H*x1 The algorithm is not that complicated so I can't ...
4
votes
1answer
109 views

Seamlessly transitioning between nearby environment maps

I'm wondering what is the best way to achieve an effect like here: https://matterport.com/try/ when the camera is traveling between points in space. Apart from simple color crossfade there seems to ...
4
votes
1answer
282 views

SVG opengl implementation - strokes overlap on transparency

I am trying to implement svg rendering by opengl using meshes. In paths with opacity less than 1, the color of overlapping strokes add up. But it should be like this the opengl calls are: ...
4
votes
2answers
147 views

Downscaling by skipping rows and columns – any example images?

I'm about to implement downscaling on a microcontroller. Source resolution is e.g. 720x576 (the 576i PAL resolution, other one possible: 480i, NTSC resolution), destination is 32x16. The goal is to ...
4
votes
1answer
45 views

can half of a picture be processed and viewed?

Lets say i have a picture. I send it to a server. While sending it to the server half way the upload gets canceled. Now the server has half or some of the picture. Now is there a way in which this ...
4
votes
1answer
134 views

Image regeneration with nearest neighbor search

So what I would like to achieve is this: User submits Image 1 - this image is then broken down into X by X sized blocks User submits Image 2 - then the program/algorithm takes all the blocks ...
4
votes
0answers
83 views

Slope Based Texturing

On the main page for Allegorithmic's Bitmap2Material, it mentions that the software uses a Slope Based approach over a Luminance Based approach. What exactly does this mean?
3
votes
2answers
780 views

How to perform an image normalization after for example adding a constant to it?

I had some magical tasks to do on my lessons. I had to write an app which performs some operations: basic (adding, subtracting, multiplying a constant and a second image), geometric, filtering, ...
3
votes
2answers
486 views

Making low discrepancy sequence noise textures, not LDS sample positions

When making sampling locations, there is a lot of information out there on how to do white noise sampling, uniform sampling, uniform+jittered sampling, low discrepancy sequence sampling (eg halton) ...
3
votes
2answers
914 views

How linear interpolation works between mipmaps?

Nearest interpolation between 2 texels mean to take the texel whose center is nearest to a given coordinate to draw or, in other words, the texel the coordinate is matching. Linear interpolation ...
3
votes
2answers
240 views

What does texture resolve mean?

In the context of render targets or textures, what does "resolve" mean? For example: To resolve a color texture. From my understanding, it seems to mean, "copy but process/convert at the same time", ...
3
votes
2answers
688 views

Calculate the average color of an image

I want to calculate the average color+opacity of an image. First I thought about just averaging all ARGB values component-wise, but this got really dark on images with a lot of transparency. I also ...
3
votes
1answer
81 views

What kind of image processing was used in the Facebook “Celebrate Pride” filter?

I am trying to recreate a filter that Facebook released back in 2015 when gay marriage was legalized in the US. Unfortunately, that filter no longer works/exists so people are left with only knockoff ...
3
votes
1answer
230 views

Improved Laplacian smoothing of noisy surface meshes

I have a question regarding Laplacian Smoothing of meshes and in particular the paper "Improved Laplacian smoothing of noisy surface meshes" by J. Vollmer in the early 2000's. What is the reason for ...
3
votes
1answer
188 views

Adding noise to gradient

I found this picture When you zoom in to any part of the image, the background looks a bit noisy/grainy. See pixels around "violent violet" label: I'm trying to understand how to achieve the same ...
3
votes
1answer
86 views

Origin of blurring and colour distortion in monochrome diagrams

I am analysing a large number of PDF files from scientific articles, all of which contain images which (I think) were originally monochrome ( black/white). The images have been extracted with Apache ...
3
votes
1answer
259 views

What graphics techniques can be used to simulate a color nebula effect?

I've been playing around with more advanced graphics these days (beyond the basic 2D UI and image effects that the iOS platform offers), and I'm wanting to implement a visual effect similar to how iOS'...
3
votes
2answers
902 views

How enlarge parts of a video like snapchat lens filter

I writing the this video process app which requires the each video frame to be processed such that parts of the video are enlarged. As a reference, one of the snapchat lens filter enlarges the eyes of ...
3
votes
1answer
114 views

Tiled Image Palettization Algorithm?

In most cases today, image palettization consists of reducing the overall number of colors in an image to some fixed number globally. This is typically solved as a straightforward but computationally ...
3
votes
1answer
552 views

Why is the line from the camera to vanishing point parallel to the other parallel lines?

When trying to find the vanishing point of an image, why is it that the vector from the center of the camera to the vanishing point is parallel to the parallel lines of the image? What's the ...
3
votes
1answer
593 views

ping pong between same framebuffer two color attachments

In order to optimize I'm trying to set up a setup which ping pong between same framebuffer two color attachments to apply some postprocess effects. It seems to work (effects are applied) but ...
3
votes
0answers
77 views

Upscaling screenshots with subpixel rendered text

Upscaling a screenshot with subpixel antialiased text produces unpleasant color fringes, e.g. why does black text have orange and blue pixels This is especially annoying when trying to show an ...