Questions tagged [distance-metrics]
The distance-metrics tag has no summary.
45 questions
0 votes
0 answers
34 views
On the Utility of Fractional Discrete Fourier Transform (FrDFT)-Invariant Signals and Their Closed-Form Representations
What are the theoretical and practical utilities of signals that are invariant under the Fractional Discrete Fourier Transform (FrDFT), including approximate invariance in real-world scenarios? How ...
0 votes
1 answer
46 views
Where do single-bit shift errors commonly occur in real-world systems?
I'm interested in understanding the prevalence of single-bit shift errors—situations where a bit moves to an adjacent position without any insertion or deletion of bits—in practical systems. For ...
0 votes
1 answer
62 views
Is this distance formula $d\left(M,E_{b}\right)=\sqrt{\frac{6\log_{2}\left(M\right)E_{b}}{M-1}}$ still valid for lattice or asymmetric constellations?
In one answer on DSP Stack Exchange, the following expression was used to derive the minimum distance between symbols for quadratic constellations (i.e., when the number of bits per symbol $k$ is even)...
1 vote
0 answers
118 views
raw values or distributions as input to wasserstein_distance - python
I asked a question in SO regarding what kind data I should pass to the wasserstein_distance function from the scipy module. The documentation says that the input data are "Values observed in the (...
1 vote
0 answers
44 views
Minimum distance question
I´m reading a paper on Miller codes and I´m having trouble calculating the minimum distance out of a state diagram. The paper states in Fig. 3. that "it is easy to verify that dmin for these ...
1 vote
0 answers
41 views
Evaluate two lossy compression algorithms
I am trying to evaluate several methods to compress some 2D data points. The algorithm itself is not relevant, but from the output, I can compute the MSE and the number of points (which can be used to ...
3 votes
1 answer
964 views
What is the condition under which the length of shortest 4-path equal to $D_4$ distance?
The following is a problem of "Digital image processing" book. Consider two points $p$ and $q$. State the condition(s) under which the $D_4$ distance between $p$ and $q$ is equal to the ...
0 votes
1 answer
185 views
Find which signal was transferred in 32QAM
I've been assigned to solve a problem for 32QAM signals. The thing is, there are little to none sources in my native language to get any decent information on the topic. The problem is (in its ...
3 votes
1 answer
1k views
Semantic Distance Measure Between Images
I would like to compare 2 generic images, with same sizes and normalized values. Which metric would be better than the baseline Eucledian distance?
3 votes
1 answer
538 views
Is `xcov()` More Accurate Than `xcorr()` to Compute the Cross Correlation of Signals with Non Zero Mean Values?
I have to compute the cross-correlation between two transient signals, which could be decomposed into a trend (with non-zero mean value) + noise. In particular I am interested in the max of the cross-...
0 votes
0 answers
152 views
Mahalanobis Distance For Pairwise Distance
First post here so please be easy on me. I have an application where I have one data point in high dimensions, represented by an $m \times n$ matrix. Call it $X_1$. And I have to compare this data ...
3 votes
2 answers
701 views
Is maximizing hamming distance the same as minimizing correlation?
For the design of an error correcting code, I might wish to maximize the distance between the codewords $\sum a_i \oplus b_i$. For spreading sequences I'd like to minimize the cross-correlation at $t=...
1 vote
0 answers
931 views
PSNR calculation with float arrays
The PSNR definition provided by wikipedia is often quoted in discussions regarding PSNR and other similarity metrics. Essentially the PSNR calculation has two components: the mean squared error and ...
-1 votes
3 answers
208 views
Can the colors of an image be interpreted as "virtual" Doppler effect? [closed]
In astronomy, the Doppler effect is used to estimate approximate distances to stars and other celestial bodies. Using the same principle, lets say we divide an image (photograph) in pixels and that ...
1 vote
1 answer
215 views
Range Estimation Based on Distance Differences
It is a range estimation problem, as shown in the figure. The blue circles are the anchor node' positions, which are produced by one moving anchor (the moving direction is shown with black arrow). ...