Questions tagged [image-processing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
92 views

Downscaling texture via mipmap [DirectX 11]

I am implementing a post-processing effect in my DirectX 11 pet renderer. The post-processing pass is implemented by rendering a full-screen quad covered with texture containing original rendered ...
3
votes
0answers
70 views

How to separate, modulate, and reassemble spatial frequencies?

Background I am trying to create a node in Blender that would allow me to do what you would do with an audio equalizer but on the spatial frequencies of an image: A sort of panel with eight ...
4
votes
2answers
340 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 ...
5
votes
2answers
261 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 ...
0
votes
0answers
44 views

Which method does the painting software use to deform the image so fast?

I tried to make my own painting software. I used OpenCV in my job so I use openCV here. I want to make a image deformation function like the following : use mouse click on GUI to deform the image. I ...
3
votes
1answer
76 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 ...
0
votes
0answers
16 views

How can you use a rectangular object in an image and use its edges as a new coordinate system?

As a quality inspection vision application, we have images of printed circuit boards. The PCBs are rectangular in shape and the distance from the camera to the PCB is fixed. The relative location of ...
0
votes
1answer
32 views

How to make the lines of a (binary) image dotted or dashed?

Let's say I had a binary image (i.e. only contains black and white pixels). For example, this one: How would I make all the lines in this image dotted or dashed? In other words, the eyes would be ...
0
votes
0answers
19 views

Export images in sketchup models

I built a model on Sketchup and imported png images in it to fill some faces. At first time, I tried to fill with a texture pointing to the desired image but it wasn't centered. Then when I export my ...
2
votes
0answers
48 views

How to project an image on spherical surface with least possible distortion

I did not know where to ask, I will try it here. I work in a local planetarium and I wonder if it is possible to edit an image in such way, that when projected on spherical cupola (diameter 8 m), it ...
0
votes
0answers
40 views

How do I represent the grid patterns of the image in the included figure with a DITHER MATRIX?

The problem statement is: "Represent the grid patterns in [the the figure linked below] with a dither matrix." The figure is: https://www.docdroid.net/d90WXko/figure.pdf Apparently, according to the ...
1
vote
1answer
45 views

How to translate the center of an equirectangular projection?

I'm trying to perfectly align two or more equirectangular photos of the same place taken from slightly different positions. Using an example provided by openMVG I managed to get the relative position ...
1
vote
0answers
30 views

Are there some methods of preventing tools like FotoForensics from detecting manipulations?

I am asking this question purely our of curiosity. I do not look for step-by-step tutorial on how to manipulate a photo and making sure that it will be hard to detect it. I was wondering, because ...
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 ...
0
votes
0answers
20 views

Open source tools for extracting hi-res images from video

I found recently an article in which they describe a technique to extract high resolution images from a standard quality videos. The technique exploits the fact that in a typical video the camera ...
0
votes
0answers
96 views

Lanczos filter implementation issue

I tried to follow Nathan Reed post Antialiasing: To Splat Or Not to implement splat method. The image I am getting thorugh the Lanczos filter is very different than Nathan. I do not understand where ...
1
vote
1answer
244 views

Convert RGB image to YUV420 using a hlsl shader

I am new to shaders and I need to convert efficiently an RGB image to YUV420. I can convert the RGB image to YUV420 with a simple c++ program that uses the ...
3
votes
1answer
79 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 ...
2
votes
2answers
932 views

Passing parameters in Metal Compute Kernel using Swift 4

On the CPU side, I have a structure I want to pass to the compute kernel: ...
1
vote
0answers
58 views

Why don't discretization errors occur with compute-shaded kernel filters?

An efficient compute-shaded image filter would be emitted with (screenX / [kernel width], screenY / [kernel height], 1) groups and one kernel in each group, allowing texels to pass into groupshared ...
0
votes
1answer
29 views

Can you generate your own HDRI maps without using photos?

For example, preparing a scene in Maya using standard lights and rendering out a panorama? Could they also be made from scratch in photoshop using 32bit color? Is there a reason why people don’t ...
3
votes
1answer
83 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 ...
4
votes
1answer
70 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,...
2
votes
2answers
232 views

How to generate the stereographic projection of a 3D model

Given a 3D model, is there a way to stereographically project it to a 2D image? In particular, I would only need a little more than half the model (the lower half) to be mapped to the plane (mapping ...
0
votes
1answer
46 views

Resolution issue of generating a PNG icon for macOS menu bar

Wonder if anyone has experienced this. When generating png image icons for macos. its recommended at 19x19 pixels. However, based on that, the icon (shield) that is generated is pixellated compared ...
1
vote
1answer
37 views

How to blend a segment of an image with another image

I want to put a segment of an image to another image. But to make it realistic I applied poisson blending. But the output is not good at all. Output without poisson blending. The kid was cropped ...
2
votes
2answers
257 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 ...
2
votes
1answer
143 views

What is a common approach to smooth structures in textures?

I have a screen-aligned texture resulting from multiple rendering passes. It looks about this: I want the edges to appear smoother than they do now (but still keep their characteristic shape). When ...
0
votes
0answers
47 views

How to ensure that the raytrcing coordinate system is teh same as the projection one?

I have 2 shading models right now, one is using voxels the other one is the standard projection absed renderization method. Putting them side by side I have noticed that no matter what I do one is ...
2
votes
1answer
461 views

How can I combine two filter kernels for image processing to create a single kernel?

Is it possible to create a single kernel which can help us to perform an 2 step image processing? For example, I want to first perform a median filter on my image to remove salt and pepper noise and ...
0
votes
1answer
95 views

Difference between Cropping, Scaling, Resizing & Changing Aspect Ration of an Image?

I've got a new task related to image processing in a website. I am too confused in understanding different terms used with sizing of an image. What is the difference between: Cropping an image ...
1
vote
2answers
103 views

How do I do batch conversion (preferably in MATLAB) from .gif images to .off or .stl mesh files? [closed]

I'd like to do a batch converison of 1400 .gif images into .off or .stl format files that'll be meshed images. Two sample .gif images are attached. How can I do this conversion possibly by a free ...
2
votes
0answers
74 views

Bilinear Transformation not working

I implemented this algorithm to fit given image to specified quadrilateral but the output is blank. I implemented it in C# as follows ...
1
vote
2answers
143 views

How to count aspect ratio of an image when you have dimensions?

What formula is for counting aspect ratio of the image as in this site: Aspect ratio calculator (ARC) | NinjaUnits For example: ...
1
vote
1answer
84 views

Quick 2-color quantization for small images

So I have a small (8x8 pixel) image in 24-bit color. I want to be able to (quickly) generate a color-quantized version of the image that only has two colors. One naive approach is to cluster a luma ...
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 ...
4
votes
1answer
298 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....
2
votes
2answers
100 views

What blend mode is this?

I asked this on Graphic Design but was unable to get any relevant help from them. I'm trying to reverse engineer a blending mode I've seen on a picture: This image was created by someone else ...
1
vote
0answers
47 views

Tanget plane of an image

My problem is about tangent plane. I have an image (m by n). I obtain surface normal vector using machine learning methods. Then i would like to obtain tangent plane for this surface normal. To ...
2
votes
1answer
210 views

Histogram of image intensities

I want to create a histogram of intensities 0.1, 0.2, .... 0.9, 1, from an image rendered using OpenGL and C++. How can I do this? Can I access the pixel intensities in the framebuffer somehow? Also, ...
3
votes
0answers
151 views

Sinc interpolation and Ideal reconstruction example

I am trying to apply sinc interpolation on this data set. The patches in the left image is a snapshot of AutoCAD 3d faces. Lux values are calculated for centre of each patch that are in 0.3m x 0.3m ...
1
vote
0answers
71 views

Image Processing: Photogrammetry [closed]

I am new to image processing but I am currently exploring myself in 3D reconstruction during my leisure time. I have decided to use openCV (eg. edge detection, possible?) in C++., maybe with a little ...
1
vote
0answers
77 views

Ray Tracer Shadowing

So I'm working on an assignment where we have to design a simple ray tracer. The program has two objects that it can use, sphere and cube. It can render the cube and spheres, it also does shading on ...
-2
votes
1answer
142 views

why not use hash function image instead of jpeg?

Why don't we just use an hash function to reduce the size of an bitmap,rgb raw image?isn't it more efficient of storage data and it produces lossless image after being decoded?The decoder is also very ...
0
votes
1answer
51 views

How does image resolution change(process involved in calculation), when a screen on phone is rotated?

What is the process involved in calculating the resolution of image to be displayed when the screen of my phone(android) is rotated? My screen resolution is 1920x1080. It displays some videos only in ...
1
vote
2answers
110 views

Can I get numeric data from a color map?

In my class I often need to work with color map images. I would show the image and try to make inferences/observations about different subjects. Often times I need to actually quantify some aspects, ...
3
votes
0answers
43 views

Sub-pixel image registration using phase

Currently I'm trying to reproduce the result by the academic papers Sub-pixel Shift Estimation of Image based on the Least Squares Approximation in Phase Region by Fujimoto, Fujisawa and Ikehara (...
1
vote
1answer
109 views

How to generate a 2d histogram?

I'm playing around with volume rendering and looking into multi dimensional transfer functions. I keep seeing images like this for 2d transfer functions: I've read numerous papers and articles but ...
1
vote
0answers
70 views

How to make Convolved Diffuse and Specular image in C#

I am trying to take either a HDR panoramic or HDR cubeMap and from that create a Lambert Irradiance environment map and a Cook-Torrence Specular environment map. I am stuck at the proper ...
3
votes
1answer
301 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 ...