Questions tagged [image-processing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
49 views

Downscaling texture via mipmap in 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 ...
0
votes
0answers
40 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
54 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 ...
3
votes
1answer
72 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
14 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
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 ...
0
votes
0answers
19 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 ...
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 ...
0
votes
0answers
68 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 ...
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 ...
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
82 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 ...
1
vote
1answer
219 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 ...
4
votes
1answer
69 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,...
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
193 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 ...
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 ...
0
votes
1answer
82 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
1answer
80 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 ...
2
votes
2answers
97 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
2answers
221 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 ...
4
votes
1answer
279 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....
1
vote
0answers
69 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
136 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 ...
2
votes
2answers
858 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: ...
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
109 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, ...
2
votes
1answer
201 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
41 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
0answers
66 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
0answers
148 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 ...
8
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 ...
1
vote
1answer
67 views

How to plot an input signal in image?

Given an input signal(ex. sine) how can one go about plotting an image like below ones(the stripped black and white image)? The images are from these slides on image processing. Or this one:
1
vote
1answer
80 views

Matlab scatter hotmap [closed]

I have two columns of data, x(angle) and y(distance), they are my experiment results(figure 1). How can I use these results to make a ‘hotmap diagram’ by matlab? The z axis is the density value of xy ...
1
vote
0answers
37 views

3D reconstruction using 2D matched points

I have 2 images, called left and right images. I have some matched points $[c_l,r_l]$ and $[c_r,r_r]$ in both of them (these points are in pixel coordinates). For a 3D point in the real world, they ...
4
votes
1answer
157 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 ...
1
vote
2answers
100 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 ...
1
vote
1answer
64 views

Extracting the green-screen region borders

Given a png image with an unknown number of green colored (rgba=0, 65535, 0, 65535) regions 1- How can I find and put the border points of only the separate green boxes to an array like: ...
3
votes
1answer
294 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
90 views

How would I convert a picture of a slanted surface into a straight one? [duplicate]

Suppose I took a picture of a whiteboard at an angle. If I could detect where the corners of the whiteboard are, what algorithms and linear projections could I use to convert this slanted view into a "...
2
votes
1answer
453 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 ...
3
votes
2answers
387 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) ...