Questions tagged [image-processing]
In general, image processing is any form of signal processing for which the input is an image, such as a photograph or video frame.
3,168
questions
1
vote
2
answers
80
views
Why in 2D Fourier Transform phase seems to be more "useful" than magnitude?
In 1D signals f(t) (e.g. a sound signal - independent variable t-->time) when we want to use informations from the Fourier transform F(ω) in order to reconstruct the signal, using the magnitude |F(...
1
vote
1
answer
49
views
How am I supposed to acquire/measure vertical and horizontal effective resolution from my images?
I apologize first for some questions that might be dumb. Unfortunately, I am only a bachelor student (writing my bachelor thesis in physics) and have almost zero image processing experience. And I ...
1
vote
0
answers
19
views
Combining Two Grayscale Images Without Overlapping Using OpenCV and Matplotlib in Python
I am working on a project where I have two grayscale images of different sizes, named part1 and part2. Each image has some ...
1
vote
0
answers
41
views
Generating new random phases for DFT of 2d uniform distributed noise image changes image distribution
My goal is to produce a new random noise image from two already existing noise images. For that I take the absolute values of one image and the angles (phases) from another image in Fourier Space and ...
0
votes
0
answers
24
views
Combining Three Images into One Output Image Python
I have to combine three images that are inside one single image into one output image in Python. This has to be done using Gamma corrections, Histogram
equalization, filters convolutions (gradient, ...
0
votes
0
answers
29
views
Removing dense grid lines & convert into clear image - opencv - python
I want to extract the text from this image. I'm a newbie in opencv. I've tried various opencv codes across various questions, but none is working for me.
How can I extract text from this? Or maybe ...
0
votes
1
answer
21
views
Distance Transform & Chamfer Matching -- find actual edges
I have had good success using the Distance Transform and Chamfer Matching to locate a template in an edge image. Is there a recommended technique to then find the actual edges that match the template?
...
2
votes
0
answers
44
views
Decoding images from sounds in Voyager golden records
I'm interested in a side learning project in decoding the images recorded as sounds in Voyager's golden discs (https://voyager.jpl.nasa.gov/golden-record/). The instructions to be able to decode these ...
0
votes
0
answers
19
views
real time streaming image encoding options
I'm interested in streaming video real time. There is an issue of deciding how to properly encoder the images and the format they should be.
Since the data will be streamed over UDP, it needs to be ...
0
votes
0
answers
23
views
I need help finding the PSF and characterizations of the following
My professor explained this to me in a super convoluted way, so hopefully someone can explain this to me better.
I'm trying to find the PSF of the following signals. I also need to check if it's FIR ...
2
votes
0
answers
57
views
How did law enforcement recover fingerprints from the "blue cheese encrochat picture"
I hope that my question suits well within the topics discussed in this SE website. It was reported some time ago how a man
was identified after he shared the photo on the encrypted messaging service ...
0
votes
0
answers
23
views
Issue with cudafft library and fftshift on odd image dimensions
I'm facing with a code I'm implementing for an exam using the GPU. Specifically, the code I'm writing is in C++, and I'm using the CUFFT library to perform the Fast Fourier Transform (FFT). The ...
2
votes
3
answers
91
views
How to find PSNR from two images with different size in python
I have 2 images, one original and other is reconstructed from the original via some processing. I want to find the PSNR for the reconstructed image The original has a size of ...
0
votes
0
answers
15
views
Geometric mapping of plane/map to enlarge certain part
Backstory: I am trying to modify map such as the one ,
so that European peninsula is signifigantly enlarged with respect to russia or africa (purpose is board game map). What i am trying to achieve ...
1
vote
1
answer
45
views
Trying to understand significant loss caused by OpenCV's inverse DFT
I'm quite a novice on computing Discrete Fourier Transforms with OpenCV, and I've been attempting to compute the DFT, and computing the inverse of the DFT using the latter as the input.
Judging from ...
-2
votes
2
answers
135
views
What is the event that repeats itself in sinusoidal signals
I am studying medical imaging and it has been stated that it is sufficient for Nyquist Theorem to hold for the signal to be Bandlimited. I am trying to understand what is the wave in a signal.
What is ...
-3
votes
1
answer
174
views
Assumptions of Nyquist sampling theorem [closed]
Hoping I can save the question and it doesn't get migrated to philosophy stackexchange as Hilmar said in any case I don't think it is a different question the question was always meant to be ...
1
vote
1
answer
35
views
2D Fourier downsampling to even number of points gives incorrect modes in the last column
I would like to downsample an image in the frequency domain to an even shape, similar to what is described in this post. I have been able to do this successfully with a 1D signal to both an odd and ...
1
vote
0
answers
11
views
Aligning Ir images and RGB images
I was wondering if given a picture from a Raspberry Pi NoIr camera and a Raspberry Pi RGB camera, how can the two images be aligned. From what I understand the NoIR camera when used with the blue ...
1
vote
0
answers
51
views
Statistical technique for distinguishing between artefacts and no artefacts [closed]
I would like to know how to create an algorithm from the table below in order to distinguish between data that has artefacts and data that does not.
I'm trying to leverage video attributes like ...
0
votes
0
answers
38
views
Correct low pass filter after applying discrete cosine transform
I am working on the compression of a bmp image using discrete cosine transform.
First, I split the image into 4x4 blocks and then apply a DCT to each block.
I know that low frequency coefficents (the ...
1
vote
0
answers
63
views
Does ORB-Slam3 perform better than ORB-Slam2?
I was trying to compare ORB-Slam2 performace with ORB-Slam3 performance. Consider following comparison from ORB-Slam3 paper (columns with numbers correspond to different sequences from EuRoC dataset):
...
1
vote
1
answer
37
views
How can I estimate the number of rows and columns in a chess pattern?
I am working on some code for estimating the position and orientation of a camera.
From an image taken by the camera I require that the user select lower left interior corner: green, the lower right ...
0
votes
0
answers
36
views
How to avoid the edge effects that may occur when applying the Hilbert transform (by mirroring)?
How to avoid the edge effects that may occur when applying the Hilbert transform (by mirroring) for image or image series signal?
Code is appreciated (in python) please.
1
vote
2
answers
82
views
Related to Additive white Gaussian noise (AWGN)
In my research work regarding wireless communication, I came across many research papers wherein AWGN is assumed to be modelled as "complex Gaussian with zero mean and unit variance".
I ...
3
votes
0
answers
20
views
HSI formula inconsistency in Gonzalez & Woods
I'm confused about how the book Digital Image Processing by Gonzalez & Woods explains HSI model. It includes a double cone-shaped space for the model (like the figure below) and says every color ...
6
votes
2
answers
133
views
Discrete Fourier Transform of the Gaussian
Cross-posted from here
I encountered the following question in a Digital Image Processing examination:
Find the 2D DFT of $\frac{1}{2 \pi \sigma^2} e^{-\frac{(x - x_0)^2 + (y - y_0)^2}{2 \sigma^2}}$ ...
2
votes
2
answers
112
views
Use DFT (`fft()`) to Replicate 2D Convolution (`conv()`)
In MATLAB, I tried to convert the fft2-based multiplication using conv2.
...
0
votes
0
answers
10
views
problem with GSAFT (backprojection) algorithm for nearfield millimeter-wave image reconstruction on my simple planar array
I have a planar array containing 16 transmitters and 88 receivers located on the same plane with dimension 30cm-by-30cm. I have an object of size 6cm-by-6cm. Object and antenna array plane are in ...
0
votes
0
answers
20
views
How to know which type of sensing matrix would do the job?
Compressed sensing refers to the recovery of a high-dimensional but sparse vector $x\in\mathbb{R}^n$ from its linear measurement $y = Ax+\eta$, where $A\in\mathbb{R}^{m\times n}$ $(m<<n)$ is a ...
0
votes
0
answers
22
views
Python - CV, contour and measurements
I have small problem with cv in Python and rhombus. I can read frame from the camera and create contours...
...
0
votes
0
answers
13
views
Face Detection real-time with Local Binary Pattern
I'm writing for code to detect human face by Local Binary Pattern algorithm in webcam, but with my limited knowledge in optimization code, I having to struggle in detect in each frame , I want to say ...
1
vote
0
answers
44
views
Local Binary Pattern rotation
How does LBP work? To learn that, I decided to calculate by hand for the matrix but the problem is about the rotation pixel over the image based on the radius and neighbor of LBP. I do it clockwise ...
1
vote
0
answers
35
views
is there a relation between video and audio
"I would like to extract 'n' frames and obtain the corresponding spectrogram for those frames. I'm unsure if there is a specific duration, such as 20 frames equating to 15 milliseconds or ...
2
votes
0
answers
28
views
Why DCT-III is not used as forward transform for image compression applications?
DCT-II is the most widely used type for image compression. This is due to its "Energy Compaction" property. According to this property, a good enough reconstruction of a natural image can be ...
1
vote
1
answer
54
views
byte order of P6 ppm image in C [closed]
this is the main function
...
0
votes
0
answers
23
views
Identify variation patterns in image time series
I am working on time series of 12 remote sensing images obtained at irregular intervals. The pixels of all images are of exact same region. Pixels of some areas in these images vary in time with ...
1
vote
1
answer
67
views
Properties of DFT of Circularly Symmetric 2-D Matrices
I'm very new in image processing and trying to get a grasp in the basic concepts in 2-D DFT.
As far as I understood, DFT of a circulant matrix should also be a circulant matrix. But when I define a ...
1
vote
0
answers
29
views
Algorithms for handling misaligned resolution values of images/videos
I know many algorithms to improve image quality. But now I am thinking about an apparently much simpler problem: how to display image when the pixels are not properly aligned with the screen's ...
2
votes
0
answers
19
views
Defining the PSNR for images in CIE-LUV or CIE-XYZ or CIE-HCL spaces
In image compression applications, we know that for an 8-bit 0 to 255 level grayscale image the PSNR (peak signal to noise ratio) can be defined through the MSE as:
$$MSE=\frac{1}{mn}{\displaystyle \...
1
vote
1
answer
31
views
Quantifying stitching effects
I have many images like this with high stitching, medium stitching, low stitching, and no stitching effects (the adjectives high, medium, low and no are purely subjective). How to quantify the amount ...
0
votes
1
answer
123
views
Comparision of phash and Facebook PDQ
The phash algorithm is as follows:
Convert the image to greyscale and scale to 32x32.
Compute the discrete cosine transform of this scaled image. Discard
all components of the DCT except the upper-...
1
vote
2
answers
364
views
Inverse fft does not give back the same image
I tried to Fourier decompose my image using FFT and reconstruct it back using IFFT. While I did this, I noticed something peculiar:
The first image is the regular one, and the second is the image I ...
0
votes
1
answer
69
views
How would the correlation coefficient between 2 images change if we rotated 1 image?
Suppose we have a image which is represented by a matrix
$
\begin{bmatrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{bmatrix}
$
and we want to find its correlation with ...
1
vote
2
answers
211
views
Image resolution vs. dimensions
Doing a machine learning computer vision project, and I am a bit unsure of the difference between image resolution and dimensions is, and how I should refer to them in writing. The images in my ...
0
votes
0
answers
11
views
How to reconstruct MMW image using electrical field in each direction at Receiver points using Back projection algorithm
I have used a structure including 109 Receivers and 4 transmitters in order to do MMW imaging(multistatic imaging). Imaging was done in 3 different frequencies. So, now I have electrical field in each ...
0
votes
1
answer
40
views
Applying DCT two times in perceptual hashing
The phash algorithm is as follows:
Convert the image to greyscale and scale to 32x32.
Compute the discrete cosine transform of this scaled image. Discard all
components of the DCT except the upper-...
0
votes
1
answer
90
views
How to use DCT to compare images?
I want to compare 2 images X and Y, and I have the DCT results dct(X), ...
2
votes
1
answer
91
views
Converting cutoff_frequency_ratio to Cycles/Pixel in Butterworth Filtering with skimage
I am working on my thesis where I'm employing Butterworth filtering on images using the function butterworth from scikit-image's skimage.filters module. The code/formula I'm referring to is available ...
1
vote
0
answers
33
views
modulation transfer function and ground resolved distance
I am trying to understand something in remote sensing but lack a background in science and technology so it is difficult. Hopefully this is a reasonable question to ask.
In sensing there are different ...