How to quantize the output?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jyothi Alugolu
am 21 Apr. 2017
Kommentiert: Jyothi Alugolu
am 24 Apr. 2017
Hello, in gaborconvolve.m code,the output EO consists of real and imaginary components(where real part is the result of convolving with the even symmetric filter, the imaginary part is the result from convolution with the odd symmetric filter). Now, the function must be phase quantized to get output in the form of 0-1 binary matrix...How do i change the code to phase quantize the EO output....
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 21 Apr. 2017
Supposing you have a routine QUANTIZE, then
output = complex( QUANTIZE(real(E0)), QUANTIZE(imag(E0)) )
13 Kommentare
Walter Roberson
am 24 Apr. 2017
Result = cellfun( @(M) angle(M) >= 0, EO, 'uniform', 0)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Cast and Quantize Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!