instruction
stringlengths
31
27k
I want to apply BCJR decoder for LDPC encoded information. How can I change the BCJR originally for convolutional codes for this purpose?
I'm trying to receive an ASK signal in the 433 MHz center frequency with a bandwidth of 100KHz. I'm using a CC1101 transceiver connected to a Raspberry Pi GPIO ports. However, there is an intermittent signal in the 433MHz center frequency coming from the sensors of my alarm system, so the RX doesn't get all the samples...
i'm new in this group and i'm studying a sound signal. I have used FFT for extrapolate frequencies and see the harmonics of this sound. I have to compare this sound with another similar sound and find the diffrences. From various research I found that an important element that characterizes a sound, and therefore it's ...
I would like to synchronize my video and voltage data using Python. (I obtain these data using Bonsai and Open Ephys for an open field exploration experiment.) I sent $150\text{ ms}$ long TTL pulses to a computer recording the voltage data, at the same time as to an LED in the field of view of my camera to turn it on. ...
I'm trying to implement a beamforming algorithm in python and I'm stuck with the time-delay computation for a rectangular array. I'm using the following equation to compute the delays based on the desired steering angle : $$d_{i,j} = \frac{1}{c}\sin(\theta)(\cos(\phi)x_{i,j} + \sin(\phi)y_{i,j})$$ Where $d_{i,j}$ is th...
I am trying to compress and reconstruct an image but facing problems with the data type of the compressed image pixel values which are of float64 and therefore, when I am trying to retrieve the pixel values from the compressed image , reconstruction is poor because on reading the pixel values corresponding to compresse...
Im working on plotting the power spectral density of a random time series measured. I know the target spectrum.The idea is check the measurement vis-a-vis the target spectrum. However, I get slightly different plots for segment lengths of 128 & 256, its noisy for higher segment lengths. For 128 its a closer match. For ...
Background Here's the thing: using software for Finite Element Acoustic Simulation I got the dataset of frequency response from a room; software works by solving the wave equation in the interval $`[f_i,f_f]`$ so results come directly in the frequency domain and we save them into a .csv file: For decay time analysis, ...
I don't know why the result of DFT and FFT in MATLAB like below images.. fs=128; t=0:1/fs:1-1/fs; x=cos(2*pi*3.5*t); X=fft(x); N=length(x); n=0:N-1; f=fs*n/N; plot(f,abs(X)/N); If I set the frequency to an integer, the result of above is like this fs=128; t=0:1/fs:1-1/fs; x=cos(2*pi*3*t); X=fft(x); N=length(x); n=0:N...
To remove the Doppler shift, we can use a bank of matched filter. But, to use this method, we need an interval $[-f_{max};f_{max}]$. How can we approximate this interval?
Given the following equations for the achievable rate of the Minimum Mean-Squared Error Receiver [1]: $$\mu = \frac{1}{K-1} \sum_{i=1, i \neq k}^{K}{\frac{1}{Mpd_{i}\left(1 - \frac{K-1}{M}+ \frac{K-1}{M}\mu \right) + 1}}$$ and $$\kappa \left(1 + \sum_{i=1, i \neq k}^{K}{\frac{pd_{i}}{ \left( Mpd_{i}\left(1 - \frac{K-1...
So I'm trying to design a band pass filter in MATLAB (with a center frequency of 10kHz and a sampling frequency of 44kHz). I have calculated the transfer function but I'm not sure how to enter this transfer function into MATLAB to generate a plot of the frequency and phase responses of the filter, and the poles and zer...
I'm currently creating a project in Matlab where I'm simulating a communication, based on the SSB modulation, between a transmitter and a receiver. I've added a Barker sequence in the trasmitted message in order to Synchronize the receiver. The receiver starts to demodulate the message from the istant when the cross-co...
I have a question, how can I make the sampling in Matlab for the received the signal by half of time duration of symbol (Ts), and have two copies of signal (that's the process of fractional sampling FS). . that's the question briefly. let me explain what's the process of that, A block diagram of an OFDM system with FS...
So I have a small NooElec Software Defined Radio and I've got it working well with my Raspberry Pi using GQRX as a controller and to visualize the SDR output. My goal though is to use a python script to listen for pulses (10ms long every 1s) from small VHF beacons on animals that we've tagged. These tags give out a pin...
If i said the explanation of $|R_{XX}(\tau)| \le R_{XX}(0)$ is that in the time domain,any signal wave are the same as itself when it doesn't shift.Then what is the explanation of $|R_{XY}(\tau)| \le \sqrt{R_{XX}(0)R_{YY}(0)}$ ?Does anyone know about it?
I tried to apply opencv OTSU binarization on the following image, but it generate a black image. Here is the following python code: import cv2 image = cv2.imread('test_otsu.png', 0) ret, thresh = cv2.threshold(image, 0,250,cv2.THRESH_BINARY+cv2.THRESH_OTSU) cv2.imwrite('temp.png', thresh) Did I miss anything in my ...
So far I could estimate signal volume from FFT using amplitude information, then adding all amplitudes together and divide this number by the number of frequencies. But I think this method does not apply for estimation of subjective perceptual volume.
I'm looking to extract the trend of a signal. i've tried two methods for now, polynomial regression, and wavelet denoising both methods don't respect the computation of the last values (meaning the last values computed will not be the same if we compute a longer buffer containing new values). is there a way, excluding ...
I want to estimate the THD of a voltage signal (output from a frequency inverter). At the begining, I need to estimate the power of the signal at frequency domain. To doing so, I should use a periodogram or a FFT. Matlab uses periodogram in his THD function. I know that are differences between FFT and periodogram, as s...
I have a confusion about what does a two pass FIR (bandpass) filter with order 40 means?? Passband frequencies are [8 13]. Type 2 FIR is same as two pass?? I have check some previous literature which shows Linear-phase FIR filter can be divided into four basic types. TYPE I symmetric length is odd TYPE II symme...
I'm studying what I believe to be a system that produces a (noisy) quantal response (i.e. there should be a minimum increment of response). To do this, I've plotted a histogram of some ~6000 amplitude values from the system into small bins, and performed an FFT on the histogram, expecting that a common quantal value sh...
This algorithm produces a sequence $y$ having a magnitude spectrum that resembles a normal distribution, peaking at frequency $\omega$: $$b[n]=(1-\sigma)b[n-1]+\frac{\sigma}{\omega} C$$ $$p[n]=p[n-1]+\omega(1+b[n])$$ $$y[n]=cos(p)$$ where $b[n]$ is a leaky integrator having feedback $1-\sigma$ and taking white noise $C...
I have a signal affected by Doppler effect. In general, the Doppler effect changes the scale of the time and frequency domains. So, to undo this phenomenon, I am using a sampling rate converter. Two possible implementations using polyphase structures are shown in Figures 1 and 2. They both work fine as expected. The re...
In the context of a gaussian pyramid, why is the image downsampled separately although the numbers of pixels are decreased through smoothing already? In my understanding, the number of pixels will decrease due to the smoothing process already, if a gaussian filter is used within the image boundaries. An image with 8 x ...
I'm trying to simulate the dispersion effect of a stiff string in a digital waveguide system, by using second-order all-pass filters. I use a second order all-pass filter with this transfer function: H(z) = a2 + a1 * z^-1 + z^-2 -------------------------- 1 + a1 * z^-1 + a2 * z^-2 Let's suppose th...
This is the FFT I'm using. But two peaks (did not expect the one in the beginning) are occurring and the amplitude is not as specified (expecting a value of 2). Any help is much appreciated! Amp = 2; freqHz = 10000; fsHz = freqHz*2+1; dt = 1/fsHz; sine = Amp*sin(2*pi*freqHz*(0:dt:1-dt)); transform = fft(sine,fsHz)/fs...
I'm given poles at ${1+i}$ and ${1-i}$, and zero at $0$. I have to find the difference equation and find out whether the system is stable. Now I found in a similar question, which structure I tried to follow ( How to find system function, H(z) in the z-domain, given zero-pole plot of the system? ), that we can express ...
Background We live in a multi-unit building where each unit's HVAC system/closet is located directly across a party-wall from the neighboring unit's bedroom, and adjacent to a shared external curtain wall. This is a bad recipe that leads to significant low-frequency structure-borne noise transmission through the curtai...
I am working on a project for recognizing and identifying the sounds in real time(like baby crying, birds, door knocking...)by java, so I made a model by using audio files for 9 categories of sound by using the mel coefficient function from Matlab documentation website https://www.mathworks.com/matlabcentral/fileexchan...
The first figure on the left (in this paper) provides the channel NMSE performance and the the second figure from left provides detector's BER performance. I am curious, when the channel MSE overlapped in the first figure, why there is a difference between the BER performance. I think, that there should be no differe...
I am new in the signal processing. I hope I can get help. I want to ask a question regarding IQ modulation work . Why can’t I simply multiply a complex base-band signal with a cosine to modulate it?
I have a sequence of fixed length $N$ input arrays ($x_0$, $x_1$, ..., $x_{n-1}$), and my goal is to compute output arrays as such: $$d_{00}[l] = \sum_{i = 0}^{N - l} x_0[i]x_0[i + l]$$ $$d_{01}[l] = \sum_{i = 0}^{N - l} x_0[i]x_1[i + l]$$ $$d_{02}[l] = \sum_{i = 0}^{N - l} x_0[i]x_2[i + l]$$ $$...$$ $$d_{10}[l] = \sum...
My question is about the use of many filters on a sound signal. I found the following transfer functions for the high cut, the low cut and the pass band filter : H = K / (1 - x^2 + j.x/Q) H = K / (1 - x^2 + j.x/Q) * x^2 * (-1) H = K / (1 - x^2 + j.x/Q) * j.x/Q with K = gain, Q = quality factor (set to 1.0 for the ban...
I'm working a project which tries to determine Blood Pressure from PPG signals.I'm trying to extract the features as shown below... I'm having problem in finding the troughs and dicrotic notch for each cycle and also the cycle start and end duration. Are there any manual method methods which can be applied ( I'm a new...
If you have 2 Lorentzian peaks that partially overlap and you have some frequency resolution df (your points in frequency space are separated by df) and both Lorentzian peaks have FWHM $\Gamma$ is there a critereon that says how large a frequency separation you need between the centres of the 2 Lorentzian peaks to dist...
Kindly help me to design a FIR filter for eliminating the 750 Hz sinusoidal beep from audio. I shall be thankful to you
I'm in the process of simulating the performance of a GFSK modem in GNU Radio. I have managed to get a curve similar to the curves I see in a number of literature sources. However, I need an accurate baseline that can show how accurate (or far of) the performance is. This might be trivial but I have spent quite a numbe...
Does anyone have an idea how one would perform BPSK symbol synchronization if symbol length is allowed to vary? As dumb as that sounds, this is not a theretical question.The "Proximity" Type B NFC protocol defined in ISO/IEC 14443 has such a scheme. Brief Background of ISO 14443 Type B For communication from a Proximit...
I am trying to correct the orientation of a 360 degree camera frame using roll, pitch and yaw estimates coming from my C++ Extended Kalman Filter (EKF) code. I am interested in using libraries and packages such as OpenCV, Nvidia Visionworks or OpenVR. I am working on Ubuntu 16.04. Due to the requirements of the project...
I have calculated the transfer function of an FIR filter $$ y[n] = x[n] + α · x[n − R] $$ This is what I have $$ H(z) = 1 + αz^{-R} $$ Now I should plot the square of the amplitude response. So I calculated the frequency response by inserting e^jωTs for z. I should choose α = 1/2 and R = 3. So I get $$ H(e^{jωTs}) = 1 ...
Suppose, I have 3 kernels: $$ \left[ \begin{array}{cc} a&b&c\\ d&e&f\\ g&h&i \end{array} \right] $$ $$ \left[ \begin{array}{cc} p&q&r\\ s&t&u\\ v&w&x \end{array} \right] $$ $$ \left[ \begin{array}{cc} \alpha&\beta&\gamma\\ \delta&\epsilon&\zeta\\ \eta&\theta&\iota \end{array} \right] $$ How can I cr...
Given that 30GHz to 300GHz is considered mm wave spectrum which can be used for high-speed wireless communication such as 5G. My question is how to calculate the wavelength if we know the frequency? I suppose we have to know the wavespeed as $ \lambda = v / f $ But do you know where to get wavespeed reference in teleco...
Is it true that in the Range Migration Algorithm for synthetic aperture radar, the azimuth extent can be said to span the length of the flight path? This makes sense but also does not make sense. Because what if the scene being imaged is 1 km, then won't the flight have to travel a ridiculously long extent? Illustratio...
I am analyzing vibration data collected by an accelerometer positioned in a stamp press machine. The fundamental frequency is around 10 Hz. The problem here is that when I take the FFT of the data I see harmonics of the fundamental frequency until 5000 Hz every 10 Hz (of course). I would expect some visible harmonics i...
I have a signal that I filtered the 60 Hz harmonics using the following python code: q = fs/2/12 b, a = signal.iirnotch(120/(fs/2), q) data= signal.filtfilt(b, a, data, axis=1) b, a = signal.iirnotch(60/(fs/2), q) data= signal.filtfilt(b, a, data, axis=1) q = fs/2/6 b, a = signal.iirnotch(180/(fs/2), q) data= signal.f...
I will quote an answer of Matt L. from this post (I didn't comment there because I can't) If you have a continuous-time signal $x(t)$, then the two signals you're talking about are $$\begin{align} x_c(t) &=x(t)\cdot\sum_{n=-\infty}^{\infty}\delta(t-nT) \\ &=\sum_{n=-\infty}^{\infty}x(t)\delta(t-nT) \\ &=\sum_{n=-\i...
I'm trying to illustrate the principle of constructing a periodic signal using an elementary pattern. This is the code I use (python 2.7 + numpy + scipy.signal) : import numpy as np import matplotlib.pyplot as plt import scipy.fftpack as sfft import scipy.signal as spsig plt.close('all') npts = 2**14 #number of poin...
I've succeeded to compute complex FFT of a data array of interleaved values using the arm_cfft_f32() API of the CMSIS DSP library for Cortex-M4, and got in the same array the FFT results as frequency domain values with the same interleaving. I chose a result value of the Frequency Domain (let say a point) based on a sp...
I'm a programmer (not and EE) working on a project to simulate coverage and capacity for 5G cellphone signals at 26 GHz. But I've done enough path loss calculations for terrestrial and satcom radio to question what the minimum received signal level for 5G cellphone operations will be. I've found a paper specifying tha...
I have a Rayleigh fading channel matrix H. Let's say the dimension is 2000*128. Is there any way to convert this matrix into a Rician fading channel matrix for example κ = 5, 10, 15, etc.? Is there a formula for that?
i would like to learn how to convert sinusoidal model into state space form which has following equation our model consist of sum of periodic components with additive of white noise, given by following form $y(t) = A_1\sin(\omega_1 t) + A_2\sin(\omega_2 t+) + ... + A_p\sin(\omega_p t) + z(t)$ where $z(t)$ is addit...
Given a filter $X(z)$ I want to find $G(z)$ such that it is stable, causal and minimum-phase, and it accomplishes that $$X(z)=K_0G(z)G^*(1/z^*)$$ where $K_0\in\mathbb{R}$. Of course, $G^*(1/z^*)$ would then be anticausal and maximum-phase. The filter $x[n]$ has complex coefficients. I'm trying to achieve this in MATLAB...
Be $x[n]$ and $y[n]$ two generic discrete-time signals. Given $s[n] = x[n] + y[n]$ I want to evaluate its autocorrelation $R_s[l]$. By definition (https://en.wikipedia.org/wiki/Cross-correlation): $$R_s[l] = \sum^{+\infty}_{m = -\infty}s^*[m]s[m+l]$$ Which expands to: $$\dots = \sum^{+\infty}_{m = -\infty}(x[m]+y[m])^*...
Could some review some methods to apply Gaussian Filter (Blur) on an image besides the direct one using Truncated FIR (classic convolution with Truncated Kernel) approximation?
Suppose you have a circuit which has the input signal $x(t)=2\sin (ω_ot + \pi/6)$. The switch in the circuit is controlled with a digital signal of the form: $s(t)=\sum_{k=-\infty}^{+\infty} (u(t+ε-kT_s) - u(t-ε-kT_s))$, $\frac{2\pi}{T_s}=800\pi$, $ε\to 0$, so that when the signal equals 1 the switch is closed and the...
So, we had a very brief introduction to the Nyquist-Shannon sampling theorem (the discrete time version). While discussing this, we have seen that multiplying a discrete time signal $x[n]$ by an impulse train $p[n]$, we get a sampled signal $x_p[n]$, and if certain conditions are fulfilled, then it is possible to recov...
Maybe this a stupid question, but I came along with this point and I would like to confirm that I am not wrong. I found some similar posts in StackExchange, like: Expectation and Auto-correlation of an Output from a Matched Filter. In one of the answer, it is stated "as S(t) is determistic[...]" and then the determinis...
I'm trying to understand the following formula in this paper: Sadly, the paper does not define most of the symbols it is using, so my guesses so far are: $T_{tr}$ refers to the sampling interval i.e. $\frac{1}{44100} s$ $\phi$ refers to phase specifically: $\phi(k_{tr}, (n-1)h)$ refers to the angle of the complex ...
I want to detect circles in the image below but this approach, of using cv2.approxPolyDP on contours and counting the sides of the polygon, doesn't work here since some of the circle is missing. Is there a faster way of detecting shapes in this case than using the Hough Transform?
Consider these two signals: a = [1 1 0 0 0 0 0 0] b = [1 0 1 0 0 0 0 0] their convolution is c = a * b = [1 1 1 1 0 0 0 0] I am trying to obtain b by using complex division to divide the discrete Fourier transform of c by the discrete Fourier transform of a. I am aware that in general, there may not be a solution whe...
I don't understand how to make frequency shift in fft2 or higher dimensions. Could anyone explain it, please? import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D %matplotlib inline numb_steps = 100 x = np.linspace(-10, 10, numb_steps) y = np.linspace(-10, 10, numb_steps) X,Y...
if i have some random signals (sampling rate = 10Hz, 0.1s per data) Using python library i transformed it to power spectral density power spectral density forms = f, psd (using mlab.psd) I'm really curious about f.... If f is 0.01, is it really means 0.01Hz or 0.1Hz(10Hz * 0.01Hz) in signal?? I confused about this conc...
I have a complex input signal of 300 ms at baseband. I have already performed acquisition on this signal and acquired four GPS satellites and have the code phase and Doppler frequency of each of them. Now for tracking I am following Kai Borre's MATLAB code for a GPS software receiver. But, this code is written for a r...
I am given a z-transform function for a signal $h[n]$. It's $H(z)=\frac{2z^2-0.75z}{(z-0.25)(z-0.5)}$. I am supposed to find $h[n]$ and check the stability of the system for these cases: a)ROC: $|z|>0.5$ a)ROC: $|z|<0.25$ a)ROC: $0.25<|z|<0.5$ I found $h[n]$ for the general case to be: $H(z)=0.5z^{-1}\frac{z}{z-0.5}+...
I would like to extract the x coordinates of the marked points with Matlab. The data is already normalized and smoothed (matlab fcn smoothdata(y, 'sgolay', 'Degree', 2, 'SamplePoints', x)). The datasamples are nonuniform. I thought about finding the starting point of the first rising edge, and connecting a straight l...
With zeros padding the FFT radix2 has different input size than output. How to deal with that? I see two solutions but not sure which one is better/appropriate. Maybe you know some other and better solutions? Let me explain: let’s sey I have signal buffer size 400, and I want to perform radix2 fft with zeros padding. S...
I have a beginners question. I just installed Audiovero Acourate. This software create FIR filters for room correction of my loud speakers. The filters are .wav files which then should be used by a convolution engine, like jconvolver or brutefir on Linux. Now, I decided to try to setup a convolution engine on Windows i...
For my application I am looking for a free, fast and scale-invariant template matching algorithm. The templates can only be scaled within the scene (no skew or rotation) and the scale is unknown. Scale can go up from 400% to 25%. All pictures are noise-free. I have considered the following: SIFT: Highest accuracy so f...
I am trying to design a matched filter at the receiver side to a half sine pulse shaping function sent by the transmitter of an OQPSK transceiver. I am not sure I understand the effect of varying the over sampling factor of the ADC right before the matched filter (the minimum is twice the symbol rate). I think it may h...
In the below pic, I can not understand what U vector is? It says flow field but I can not imagie what really is the flow field?
What are the pros and cons of commonly used modulation techniques? Why is one preferred over another in a given situation? Why do so many exist? Are some better at resisting noise, travelling long distances, packing more data? Analog Amplitude modulation Frequency modulation Phase modulation Digital Phase shift keyi...
I was reading this article to understand the fft - JACK SCHAEDLER - A WALKTHROUGH OF THE DFT - STEP BY STEP. I understand that: the fft takes a block (256 or 512) of the signal, creates a sinusoidal and cosineidal wave of frequency "f" and multiplies each sample for each sample of the signal to decompose, add the valu...
Consider the following Constant Coefficient Difference Equation (CCDE) given below $$y[n] - \frac{1}{2}y[n-1] = 2x[n] - 5x[n-1] - x[n-2]$$ Let $H(e^{j\omega})$ denote the transfer function of this system. What is $H(e^{j\pi})$?
If $\mathbf{x} = [x_0, x_1, \ldots, x_{N-1}]^T$ is the time sampled input signal and $\mathbf{Y} = [Y_0, Y_1, \ldots, Y_{N-1}]^T$ is the Fourier transform of the input signal, then a linear relationship between the input and output can be established with the help of a discrete Fourier transform (DFT) matrix and is giv...
Consider the signal $ x \left[ n \right] $ and its DTFT transform $ X \left( {e}^{j \omega} \right) $. Assume $ X \left( {e}^{j \omega} \right) $ is differentiable. What is the Inverse DTFT of: $$ j \frac{d}{d \omega} X \left( {e}^{j \omega} \right) $$ Express the result in terms of $ x \left[ n \right] $.
Given a signal $ x \left[ n \right] $ and its DTFT $ X \left( {e}^{j \omega} \right) $. Which property of the DTFT allows you to easily compute the inverse DTFT of $ \frac{4 X \left( {e}^{j \omega} \right)}{\pi} - 2 $?
I am still new to MATLAB, so apologies if I sound lazy to you. I am attempting to model a transformation as a set of matrix operations. I start with a vector, up-sample it by $U$ (up-sampling rate), take its Fourier transform, apply a Low-pass filter, take Inverse Fourier transform and finally down-sample at a rate $D$...
find period of DTFTs where vertical lines represent Dirac deltas
A filter is defined as $ h \left[ n \right] = \delta \left[ n \right] - \delta \left[ n - 1 \right] $. Given a signal $ h \left[ n \right] $ defined as: $$ x \left [ n \right ] = \begin{cases} 1 & \text{ if } x \geq 0 \\ 0 & \text{ if } x < 0 \end{cases} $$ Let $ y \left[ n \right] = \left( x \ast h \right) \left[ n ...
I want to detect the moving object(human) from moving camera. Which is the best suited method for this? Do we have to perform detection in each frame or tracking the detected object is better? Will optical flow work for this? Do we have to perform background stabilization? Please guide
Currently I am working on a computer vision project where we want to gather data from a composite material production environment. I have an example picture here: What I learned so far that my lighting is not good. It's coming from a fluorescent lamp from that's right above the camera. Apparently I would have to diffu...
Background: When a wide-sense stationary (WSS) random process $x(t)$ is passed through a linear, time-invariant (LTI) filter with impulse response $h(t)$ to produce $y(t)$, the following relationship holds: $$ S_y(f) = |H(f)|^2 S_x(f) = H^*(f) H(f) S_x(f), $$ where $S_x, S_y$ are the power spectral densitities (PSD) of...
I'm very new to digital signal processing, so please let me know if my question doesn't make sense. I calculated the amplitudes (using the formula : $10 \log_{10}(i^2 + q^2)$) for some IQ data that I recorded using GNU radio. I compare the highest calculated amplitude to the highest amplitude shown when processing ...
QR Codes are far and away the most popular 2D barcodes for mobile applications these days. However, there are several other widely-used 2D barcode symbologies as well, including Aztec (used in the IATA standard for mobile airline boarding passes) and Data Matrix and PDF417. Is there any research on which 2D barcode sym...
I'm reading the paper at the link below and I was following it for about 2 pages until I hit a road block on the bottom of page 648 where the author says: putting together 9-11, we obtain and gives equation 12. I understand equations 9, 10 and 11 but don't see how 12 comes about from them. Also, if anyone knows ...
I am attempting to design a low-pass filter for a subwoofer, as the audio amplifier that is connected to it does not filter any of the sound coming in, and it is getting pumped full of high frequency sound. I have settled on a Butterworth LC filter, and want a crossover frequency of around 200Hz. I have determined that...
For simplicity, assume a fixed bandwidth (5MB/s) and that each second an image with 12MP is generated. The quality of the image should be as high as possible (in terms of PSNR). Which compression rate is necessary and how would the task differ or become simplified when using JPEG 2000 instead? Thoughts When the image i...
For instance, a high-resolution image (25MP) and a low-resolution image (4MP) of the same scene. When compressing them both with JPEG-LS lossless, which of them achieves a higher compression rate and why? How would the file size ratio approximately look like? Thoughts Probably achieves the image with the higher resolut...
Dropbox have make a blog post about there automatic enhancement method for scanned document image - Fast Document Rectification and Enhancement. I followed the post and they mention a formula to make the enhancement: J(x,y) = gain(x,y)*I(x,y) + offset(x,y) Where $ J $ is the output image and I is the Input image, the ...
I have this optimization problem: $$ \arg \min_{ X \left( i, j \right) } \sum_{i, j} \left\| X \left( i, j \right) - 255 \right\|_{2}^{2} + \lambda \sum_{i, j} \left\| \nabla X \left( i, j \right) - \nabla Y \left( i, j \right) \right\|_{2}^{2} $$ Where $ X $ is the output image and $ Y $ is the input image. Let's say ...
the question might seem dumb but since I tried it out and got values well above 2000 (watts?) it got me thinking... Check this out: winLen = 10*1e-3; fftOverlap = 0.5; [x, Fs] = audioread('speech_5.wav'); x = x(:,1); hopSize = winLen * Fs; nfft = hopSize / fftOverlap; overlap = nfft - hopSize; w = hann(nfft); [S, f...
I've been watching these video lectures by Variational Methods for Computer Vision - Lecture 1 (Prof. Daniel Cremers) about variational methods in computer vision. In one of such video lectures a it is explained for example that the Gaussian filtering is a solution of the diffuse equation (so Gaussian filtering is a sp...
sorry if it's stupid question but it’s third day that I try to figure it out how to do that. And just can’t find the solution. Let’s say I have array $A$ size 4, and $B$ size 8. And I need to put/spread evenly all 8 values from $B$ to 4 places in $A$. In that case it’s quite easy to imagine the solution, but let’s say ...
Does a digital binary number have any bandwidth? I explain suppose T want to express the number 10 in binary digits: 1 0 1 0 would that digital number have any BW in frequency domain? I would say the question has no meaning as frequency is the dual in time and a number 5 whether expressed in decimal or analog is not...
I obtained actual data from a researcher, consisting of a matrix composed of several received signals from an up-ramp fm-cw radar. Wouldn't be reasonable to plot the spectrogram of a ramp up and obtain a chirp like this ? (This is from MATLAB spectrogram examples) Instead what I get is this (I know the plots are rotat...
I found these files on Internet: 1.wav 2.wav 3.wav 4.wav How to generate such sounds? Geno Chen wrote "Acoustic Grand Piano (Instrument #0)" What to do next?
Analogue radio stations often have a range of frequencies that they can use. Different transmission towers will transmit on different carrier frequencies in this range, because the signal takes time to propagate through air and if they used the same carrier then the received signal would be... Well, it wouldn't be well...
i am working on a project related to audio events recognition in real time like a door bell, baby crying, footstep, I have 9 categories of sound events so the first step i did was getting many wav files for the categories i want to recognize (the length of each audio file is 2-3 seconds),then i ran the MFCC function fo...
I am designing a fractional delay filter, I found this code for lagrange FIR fractional delay filter, The fractional delay filter acts as a low pass filter, it passes low frequencies from 0 to 0.25*fs. But I want a Bandpass fractional delay filter which passes higher frequencies from 0.25*fs to 0.5*fs. I also want the ...