.Nonuniform Sampling Approach Data Compression: To To To
.Nonuniform Sampling Approach Data Compression: To To To
1, JANUARY 1981
Abstracr-A nonuniform sampling approach to digital encoding of values of N and f,, however, will inevitably result in a large
analog sources is proposed. The nonuniform sampler is basically a signal distortion, which can be grossly grouped into: 1) slope
level crossing detector (LCD) which produces a sample wheneverthe overload noise and2) granular noise. Slopeoverload occurs
input to theLCD crosses a threshold level.The information aboutthe
source signal is contained in the time intervals between level crossings
when the input signal changes faster than the DPCM coder can
and in the directions of level crossings. By assigning strings of the follow, while granular noise is proportional to the quantizer
2-tuple “00” to represent the time between level crossings and “01” step size d. Thus, for sources which have intermittent occur:
and ‘‘10’’ to denote the directions level
of crossings, theoutput binary rences of fast changing and relatively quiescent intervals,
sequence of the nonuniform sampling encoder (NSE) contains a high slope overload noise and granular noise will occur in distinct
probability of the0 symbol, which makes it suitable for further simple
run-length encoding (RLE) to attain a “good” overall compression
regions. To minimize the effect of slope overload and granular
ratio. lntroduction ,of prediction converts the NSE to a nonuniform noise, it seems reasonable to sample the fast changing regions
sampling,predictive coding (NSPC) scheme, which, depending on the at a higher rate than the ‘slowly changing regions, as well as
source, can potentially improve the compression ratio. Results ob- assigning different quantizer stepsizes. Adaptive delta modula-
tained in the encoding ofa band-limied Gaussian source and a raster- tion (ADM) samples the source at a futed frequency and as-
scanned black and white still image reveal that an NSE/RLE or NSPCI
RLE system exhibits performance superiorthat to of an adaptive delta
signs varying step sizes to attain the best compromise insignal
modulation
system.. ’ ’
distortion. It is apparent, however, that nonuniform sampling
. .
can enhance thesignal following capability of an encoder.
An asynchronous delta modulation scheme [8] sends a
I. INTRODUCTION
pulse whenever the source signal crosses a threshold level: In
IFFERENTIAL pulse codemodulation (DPCM)’is a thisway more pulses are sent during fast changingintervals
D r e l a t i v e l y simple and practical data compression scheme. and fewer pulses during relatively quiescent intervals, i.e., the
Data compression takes place by virtue of the fact that the signal is sampled nonuniformly. If the quiescent intervals are
source signal is sampled at a uniformrate f, and that the long and the number of these long intervals are large, then the
samples are quantized .to a finite’ number of, say N , bits per average numberof pulses transmitted wouldbe relatively
source sampie. For a given value of N , the quantizer step size small. Yet, the transmitted pulses contain sufficient informa-
d is chosen so that the 2-tuple (N, d) yields a. “good” approx- tion to permit a fairly accurate reconstruction of the source
imation to the signal dynamics. The sampling and quantiza- signal.
tion processes incur information loss, the amount of which is While thenonuniform sampling feature of asynchronous
directly related to thevalues of N and f,. delta modulationpointstowardthe possibility of efficient
Since the source samples are separated by a fured time in- encoding, the continuous-valued time intervals between trans-
terval, theinformationabout a source is contained in the mitted.pulses do not offer compatibility withdigital transmis-
quantized levels, whichare determinedbythe’valuesof N sion or. digital information storage.
and d. The value of N determines the rate of data transmis- In.this paper we employthreshold sensing and digital
sion while that of d influences the signal distortion. Max [12] coding of the time intervals between level crossings to mech-
has described optimum’strategies for theselection of N and d. anize a nonuniform sampling approach to source coding.
The ability of a DPCM system to follow a source signal de- The nonuniform sampling encoded signal carries the informa-
pends o n ’ t h e quantizer size N (and hence d) and the sampling tionaboutthe source signal in the intervals between level
frequency:f,. Since the primary reason behind data compres- crossings and in the directions of level crossings. With a suit-
sion is to reduce the. transmission rateand/ordata storage able.symbol assignment, thenonuniform samplingencoder
requirement, one wouldlike ‘to make N and f, as small as (NSE) output symbols assume a ‘highly ,asymmetricproba-
possible, subject to an acceptable distortion tolerence. Small bility distribution. That is, the NSE output sequence is con-
ditioned to possess a specific form of redundancy which can
Paper approved by the Editor for Data Communication Systems of be removed byfurther distortionless encoding (DLE). This
the IEEE Communications Society for publication after presentation
at the 17th Allerton Conference03 Communication, Control, and Com- feature of the NSE is in direct contrast to the equally likely
puting,Urbana,IL,October1979.ManuscriptreceivedFebruary 4, probability distribution of the output symbols of an optimum
1980; revised June 16, 1980. This work was supported by the Natural delta ,modulator.(DM). Thus, while notmuchadditional
Sciences’and‘ Engineering Councilof Canada under Grant A7779 and a
Postgraduate Scholarship. compaction gain may be obtained by fuhherencodingthe
The authors are with the Department of Electrical Engineering, Un- output of a delta modulator, additional distortionless encoding
iversity of Waterloo, Waterloo, Ont., Canada. of the NSE output sequence is necessary in order to attain a
1 A delta modulation (DM) system can be viewed as a special case
of DPCM with N = 1 bit. In this paper reference made‘to DPCM will high overall compaction gain. Therefore,fortheencoding
also include DM as a special case. scheme described in this paper, it is meaningful only to talk
01 - upward crossing
large overall compression ratio. Analytic and simulation
results in the encoding of a band-limited Gaussian source and
a still black and white image source are given in Section V. 10 - downward crossing.
11. NONUNIFORM SAMPLING ENCODING For example, if the signal crosses a level at time ti in the up-
The motivation for the present proposed nonuniform sam- ward direction and ?j = mitq, then (mi - 1) pairs of 0’s are
pling encoding scheme comes from the consideration that, if used t o represent the length ofij and the 2-tuple01 is used to
informationaboutthe source signal is carriedin the times represent the upward crossing. Thebinaryrepresentation is
between level crossings. rather than in the quantized ampli- then
tude as in DPCM systems, the encoder possesses an ability to
follow the signal waveform even on a nonadaptive basis. The
nonuniform sampling problem is depicted in Fig. 1 where the
level crossing detector (LCD), a device consisting of a number
of uniformly spaced levels, is used to monitor the level cros-
It is seen thattwo binary digits are used to represent the
sings. A signal sample is taken whenever a level crossing takes
quantum step t q . Thus, the frequency with which two bits
place. If a pulse is generated and transmitted everytime a level
of information are used t o encode the time intervals is fq =
crossing occurs, the encoding procedureis called asynchronous
l/tq. If is large, the binary sequencegenerated by the non-
delta modulation [8].However, the time b,etween level cros-
uniform sampling encoder (NSE) has a high probability of03,
sings is a continuous variable, which is not suitable for digital
which is particularly suitable for further distortionless, such as
transmission or digitalstorage. Thepresentstudy considers
run-length, encoding.
quantizing the time between level crossings and encoding the
For the purpose of illustrating the signal encoding and re-
quantized time intervals in uniform steps. As a result, while
production, suppose the signal crosses level xi at time ti-
the sampling is nonuniform,theinformation transmission
and level xi+ = xi + d , where d is the amplitude step size of
is synchronous.
Let ti be the time instant at which the source signal crosses
the LCD, at time tj = ti- +
ri, with an upward motion. Then
rii = mjtq. Assuming mi = 4, the binary representation is then
a level and T~ = ti - ti- be the interval between the last level
00 IO0 IO0 101, where the three pairs of binary 0’s’ carry the
crossing at time ti- and the present crossing at time ti. Let
information about the length of i j and the 2-tuple01 indicates
tq be the time quantum so that the quantized time interval
the upward motion. Since ;ii is only an approxhation to rj,
is prescribed by
+
the reproduced sample has value equal xi d , but occurs at
time (ti f tq/2), as illustrated in Fig. 2.
+.I = ( Let f,be the cutoff frequency of the source signal and f, =
k(2fC), k 2 1, be the sampling frequencyunder a uniform
sampling scheme such as DPCM. With an N bit quantizer the
where transmission rate of a DPCM coder is N bitslsource sample,
where the samples are taken at the frequency f,. Let f q =
A
mi = of,, where 0 < 0. The transmission rate of the proposed non-
uniform sampling encoder, referred tothefrequency f,, is
20 bits/source sample.
and the symbol 1.1 denotes the integer smaller than or equal
In order to assign a common measure for both the uniform
to the argument. The error resulting from this time quantiza-
and nonuniform sampling encoding schemes we define a nor-
tion is bounded by &tq/2. The signal distortion due t o time
malized rate F, wherenormalization is with respect to the
quantizationfor aband-limited Gaussian signal is given in
signal cutoff frequency f ,and the subscript x denotes the kind
Section IV.
of encodingscheme. We thus have the definitions
The information about the source signal is contained in ri
and the direction of level crossing, i.e., an upward or a down- FDPCM & Nf,/f, bits/signal bandwidth (bpsb) (3)
26 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. COM-29, NO. 1 , JANUARY 1981
I Jdt I -&I
not so realisticmonochrome
for imagery. To facilitate
a level f, 1 fc
crossing analysis, weband-limited
consider
a Gaussian source 0 20 60 80 100
with spectral density I
-m I I I
40
I I I I I I I
'0
A IflGfc
otherwise.
I- fc -401
(JxJ = Fig. 5 . Time quantization noise characteristics for the encoding of a
band-limited Gaussian source.
= (27rfc)2 0 3 3 . \
D oe2/ux2 = [nfc/(3fq)I
= 0.40 - 20 log1 o(fq/fd) dB
= 6.40 - 20 log1 0 F N S dB (18) Fig. 6 .
-
Geometric illustration of level crossing model at level xo.
d
0.01 < -< 0.50
(JX
The total frequency of
crossings of this level is
the frequency oflevel crossings can be approximated by
1
R =F N S* - bits/signal bandwidth.
2
j= 1
(Xj -Xj*)2 CR
TABLE I
DISTRIBUTION OF THE RUN-LENGTHS OF AN ADM (y = 2)
OUTPUT SEQUENCE IN IMAGE CODING
UJN-LENGTH FREQUENCY OF OCCURRENCE
(+1 and -1)
FDM = 8 bpsb FDM = 16 bpsb
1 0,529 0.531
2 0.187 0.187
3 0.163 0.164
‘ 4 0.070 0.065
5 0.024 0.026
6 0.014 0.010
7 0.004 0.007
8 0.001 0.003
9 0.001 0.002
10 0.001 0.001
12 c 0.001
TABLE I1
CONCATENATED NONUNIFORM SAMPLINGIRUN-LENGTH
ENCODING OF “IMAGE” (PEAK-PEAK SIGNAL HEIGHT
NORMALIZED TO 1.0)
OVERALL RATE (bpsb)
. . 1
i:
SIM CAL
4.1 4.00 4 . 2 4
9.5 6.686.32
5.5 7 . 5 6 7.28
results shown in Table I1 are not necessarily the best. The sig- 32.
nal-to-noise ratio.performance,as a functionofthe overall
transmission rate for the encoding of “IMAGE” is plotted in
Fig. 9. It is noted that the NSE/RLE and NSPC/RLE systems 28.
outperform theADM system.’
Fig. lO(b)-(f) shows thereconstructed “IMAGE” at two 24.
different, rates. To compare performance betyeen the ADM
and NSE/RLE or NSPC/RLE systems,a number of salient
20.
characteristics are of specific interest: 1) for a fwed value of d,
the quantization noise corresponding to a given code rate is
bounded within the quantum interval (-d/2, d / 2 ) ;2) during a
quiescent interval when the signal fluctuates within aninterval
t .
( - d / 2 , d/2), the signal distortionexhibitedbythe NSE or
NSPC would be at its worst condition; and 3) an ADM system 1 I I I I I I I
is capable of adapting itself to yield a very small granular noise 8 16 24 32 40 48 56
RATE (bits/source bondwidth 1, R
Fig. 9. Signal-to-noise ratio performance in the encoding o f “IMAGE.”
2 Huffman encoding the ADM output sequence offersnocom-
paction gain. The rate associated with the ADM curve in Fig. 9 is just
FADM,
MARK
TODD:
AND NONUNIFORM
SAMPLING
APPROACH
TO DATA COMPRESSION 31
than, the NSPC encoder when the source is relatively quies- Jon W. Mark (S’6&M’62-SM’80) received the
cent, as is the case of “IMAGE.” B.A.Sc. degree in electrical engineering fromthe
University of Toronto, Toronto, Ont., Canada, in
REFERENCES 1962andtheM.Eng.andPh.D.degrees in
electrical
engineering
from
McMaster Uni-
1 J.B.O’Neal,Jr.,“Predictivequantizingsystems(differential -versity,Hamilton,Ont.,Canada, in 1968and
pulse-code modulation) for the transmission of television signals,” 1970, respectively.
Bell Syst. Tech. J . , vol. 45, pp. 689-721, May-June 1966. From 1962to1968 he waswithCanadian
N. S . Jayant, “Digital coding of speech waveforms: PCM, DPCM, WestinghouseCompany,Ltd.,Hamilton,Ont.,
andDMquantizers,” Proc.IEEE, vol.62,pp.611-632, May Canada,where he wasengagedinthearea of
1974. underwateracousticcommunicationandsonar
J. E. Abate, “Linear and adaptive delta modulation, Proc. IEEE, signalprocessing. He is continuingasaConsultanttoWestinghouse
vol. 5 5 , pp. 298-308, Mar. 1967. Canada, Ltd. From September 1968 to August 1970he was an NRC PIER
N. S . Jayant, “Adaptive delta modulation with a one-bit memory, Fellow at McMaster University, on leave from Canadian Westinghouse
Bell Syst. Tech. J . , vol. 49, pp. 321-342, Mar. 1970. Company, Ltd., studying toward the Ph.D. degree. In September 1970 he
L.H.ZetterbergandJ.Uddenfeldt,“Adaptivedeltamodulation joined the Department of Electrical Engineering, Universityof Waterloo,
with delayed decision,” IEEE Trans. Commun., vol. COM-22, pp. Waterloo, Ont., Canada, where he is currently a Professor and Associate
1195-1 198, Sept. 1974. ChairmanforGraduateStudies. He wasDirectoroftheComputer
W.
J.Mark,“Adaptivepredictive
run-lengthencoding
for CommunicationsNetworksGroupoftheUniversity of Waterloofrom
analoguesources,” Proc. Inst. E l m .E n g . , vol.123,pp. 1189-’ January 1976 to August 1976. From September 1976 to August 1977, he
1196,Nov.1976. was on sabbatical at the IBM Thomas J. Watson Research Center. He had
T.A.HawkesandP. A. Simonpieri, “Signalcoding using previouslyworked in theareas of radar/sonarsignalprocessingand
asynchronousdeltamodulation,” IEEE Trans. Comrnun., vol. adaptive equalization. His current research interests include data com-
COM-22, pp. 346-348, Mar.1974. pression, image and facsimile coding, and computer communication using
H. h o s e T, . Aoki,and K. Watanabe, “Asynchronous delta satellites and terrestrial store-and-forward networks.
modulation systems,’’ Electron. Commun. Japan, pp. 3 4 4 2 , Mar. Dr. Mark is a member of the IEEE Communications Society Computer
1966. Communication Technical Committee and was Secretary of that Com-
R.Steele, DeltaModulationSystems. Bristol,England:Arrow- mittee from June 1976 to June 1979.
smith,1975
E.N.Protonotario,“Slopeoverloadnoise in differentialpulse
code modulation,” IEEE Trans. Inform. Theory, vol.IT-20,.pp.
58-64,Jan.1974.
*
L.H.Goldsteinand B . Liu,“Quantizationnoise in ADPCM
systems,” IEEE Trans. Common., vol.COM-25,pp. 227-238, Terence D. Todd (S’78) was born in Galt, Ont.,
Feb.1977. Canada. He receivedtheB.A.Sc.andM.A.Sc.
J . Max, “Quantizing for minimum distortion,” IRE Trans. Inform. degrees in electricalengineeringfromtheUni-
Theory, vol. IT-6, pp. 7-12, Mar.1960. versity of Waterloo, Waterloo, Ont., Canada, in
L.
J.Yen,
“Onnonuniformsamplingof
bandwidth-limited 1978 and 1979, respectively.
signals,” IRE Trans. Circuit Theory, pp. 251-257, Dec. 1956. Currently; he isemployed by theComputer
I . F.Blakeand W.C. Lindsey“Level-crossingproblemsfor CommunicationsNetworksGroupatthe Uni-
random processes,” IEEE Trans. Inform. Theory, vol. IT-19, pp. versity of Waterloo where he is working on local
295-3 15. May 1973. areacommunicationnetworks. He is presently
C, McMillan, Jr., Mathematical Programming. New York: studying towards the Ph.D. degree in electrical
Wiley, 1970, ch. 5 . engineering on a part-time basis.