# US 2015/0104062 A1 · Probabilistic neural network based moving object detection method and an apparatus using the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0104062 A1
- Document ID: US20150104062A1
- Status: Published application
- Kind: A1
- Application number: 14/052,782
- Filed: 2013-10-14
- Published: 2015-04-16
- Earliest claimed: 2013-10-14
- Assignees: National Taipei University of Technology
- Applicants: National Taipei University of Technology
- Inventors: Shih-Chia Huang; Bo-Hao Chen
- Web page: https://patentgrep.com/patent/US20150104062A1

## CPC

- G06T 7/11: Region-based segmentation
- G06T 7/143: involving probabilistic approaches, e.g. Markov random field [MRF] modelling
- G06T 7/194: involving foreground-background segmentation
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30236: Traffic on road, railway or crossing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present disclosure proposes a method of moving object detection in variable bit-rate video steams based on probabilistic neural networks, and the method features a background generation module and a moving object detection module. The background generation module produces a model of background images which express properties of variable bit-rate video streams. The moving object detection module distinguishes a moving object in both low and high bit-rate video steams in an efficient manner. The detection result is generated by calculating the output value of the probabilistic neural networks.

## Claims

### Claim 1

A moving object detection method based on a Probabilistic Neural Network (PNN) model to distinguish a moving object pixel from a background object pixel in a video image delivered over a bandwidth limited network, and the method comprising:
receiving a sequence of images of a fixed location;
generating from the sequence of images a background model based on the PNN model having four layers comprising an input units layer, a pattern units layer, a summation units layer, and an output units layer;
defining the nodes of the four layers of the PNN model, the weight coefficient for each of the nodes, and the relationships among the nodes;
receiving a current frame of the sequence of images and dividing the frames into N by N blocks where N is a positive integer greater than 1;
determining pixel blocks by eliminating from the N by N blocks the blocks which are statistically determined to contain only background pixels; and
determining whether a pixel of the pixel blocks of the sequence of images is a moving object pixel or a background object pixel by comparing the maximum coefficient of the output units layer against an output threshold.

### Claim 2 (depends on 1)

The method of claim 1, wherein after all pixels of the pixel blocks of the current frame has been evaluated, claim 1 further comprising:
updating nodes of the pattern units layer for the next frame of the current frame according to W(x,y)i′=(1−α)W(x,y)i+αpt(x,y), where W(x,y)i′ is an updated coefficient of i-th node at position (x,y) of the next frame t+1, W(x,y)i is coefficient of i-th node of the current frame t, pt(x,y) is pixel intensity of a pixel at the position (x,y) of the current frame t, and α is a predetermined empirical parameter.

### Claim 3 (depends on 1)

The method of claim 1, wherein defining the nodes of the four layers of the PNN model, the weight coefficient for each of the nodes, and the relationships among the nodes comprising:
defining nodes of the pattern units layer by:
receiving pixel intensity pt(x,y) for each pixel of each t-th frame of the sequence of images, wherein the pixel intensity pt(x,y) for each pixel has L possible levels;
generating a histogram distribution for each t-th frame of pixel intensity pt(x,y) of all pixels, and the distribution is represented by D(pt(x,y)k)={n0, n1, . . . , nk, . . . , nL-1}, wherein nk is the number of pixels whose level is pt(x,y) for each intensity level from 0 to k, and D(pt(x,y)k) is the distribution; and
defining i-th node and assigning weight coefficients, Ct(x,y)i, for the i-th node according to
P
t

(
x
,
y
)
k

{
∈
C
t

(
x
,
y
)
i
,
if


D

(
p
t

(
x
,
y
)
k
)
≥
ɛ
∉
C
t

(
x
,
y
)
t
,
if


D

(
p
t

(
x
,
y
)
k
)
<
ɛ
where k=0 to L−1, and ε is a predetermined threshold.

### Claim 4 (depends on 3)

The method of claim 3 further comprising:
determining whether to add new nodes by comparing the similarity of the coefficients between two nodes Ct(x,y)i and Ct(x,y)i+1 according to
U

(
x
,
y
)
m

{
∈
C
t

(
x
,
y
)
i
,
if



C
t

(
x
,
y
)
i
-
C
t

(
x
,
y
)
i
+
1

≤
Δ
∉
C
t

(
x
,
y
)
i
,
if



C
t

(
x
,
y
)
i
-
C
t

(
x
,
y
)
i
+
1

>
Δ
so that if the similarity between Ct(x,y)i and Ct(x,y)i+1 exceeds the threshold Δ then a new node U(x,y)m+1 between Ct(x,y)i and Ct(x,y)i+1 is generated.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining pixel blocks by eliminating from the N by N blocks the blocks which are statistically determined to contain only background pixels comprising:
dividing the current frame into N by N blocks;
for a first block of the N by N blocks, estimating a similarity score Z(pt,Wi)m between the pt(x,y) and the i-th node Wi in the pattern units layer according to
Z

(
p
t
,
W
i
)

m
=
exp
(
-

p
rt

(
x
;
y
)
-
W
i

2
2

σ
2
)
,
where σ is an empirical tolerance, and m=1 to E, where E represents the total number of nodes in the summation units layer;
determining whether the first block contains only background pixels by using the similarity score.

### Claim 6 (depends on 5)

The method of claim 5 wherein determining whether the first block contains only background pixels by using the similarity score comprising:
obtaining the similarity score in each category of the summation units layer of the first block of the current frame;
selecting the maximum value from the similarity score in each category of the summation units layer;
summing the similarity score within each of the N by N blocks of each node of the summation units layer; and
the first block is determined to contain only background pixels when summing the similarity score generates a value which exceeds an experiential threshold.

### Claim 7 (depends on 6)

The method of claim 6, wherein obtaining the similarity score in each category of the summation units layer of the first block of the current frame is according to S(m)=Σi−1HZ(pt,Wi)m where H is the total number of nodes in the pattern units layer of the m-th summation units layer node and selecting the maximum value from the similarity score in each category of the summation units layer is according to Smax=maxm=1˜ES(m).

### Claim 8 (depends on 7)

The method of claim 7, wherein summing the similarity score within each of the N by N blocks of each node of the summation units layer is according to
ϕ
=
∑
p
t
∈
μ

S
ma


x
,
where pt is each pixel value of the first block μ; and the first block is determined to contain only background pixels when summing the similarity score generates a value which exceeds an experiential threshold according to
A
s

(
i
,
j
)
=
{
0
,
if


ϕ
≥
τ
1
,
otherwise
such that when the block As(i,j) of the current frame exceeds the experiential threshold τ, the block As(i,j) is determined to contain only background pixels.

### Claim 9 (depends on 5)

The method of claim 5, wherein determining whether the pixel of the pixel blocks of the sequence of images is the moving object pixel or the background object pixel by comparing the maximum coefficient of the output units layer against the output threshold comprising:
calculating values of all nodes of the output units layer and obtaining Y, the maximum value of all nodes of the output units layer, according to
Y
=
max
m
=
1
~
E

∑
i
=
1
H

Z
i
m
,
where Zim is the value of the i-th pattern units layer node in the m-th summation layer, and H is the total number of pattern layer nodes in the m-th summation layer, and
the pixel is determined to be a moving object pixel when Y exceeds the output threshold.

### Claim 10 (depends on 1)

The method of claim 1, wherein the input units layer receives the pt(x,y) value in YCbCr color space where Y is luminance, Cb is blue-difference chroma, and Cr is red-difference chroma.

### Claim 11

A moving object detection apparatus comprising a transceiver for transmitting and receiving data and a processor coupled to the transceiver and is configured for:
receiving from the transceiver a sequence of images of a fixed location;
generating from the sequence of images a background model based on the PNN model having four layers comprising an input units layer, a pattern units layer, a summation units layer, and an output units layer;
defining the nodes of the four layers of the PNN model, the weight coefficient for each of the nodes, and the relationships among the nodes;
receiving a current frame of the sequence of images and dividing the frames into N by N blocks where N is a positive integer greater than 1;
determining pixel blocks by eliminating from the N by N blocks the blocks which are statistically determined to contain only background pixels; and
determining whether a pixel of the pixel blocks of the sequence of images is a moving object pixel or a background object pixel by comparing the maximum coefficient of the output units layer with an output threshold.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein after all pixels of the pixel blocks of the current frame has been evaluated by the processor, the processor of claim 11 is further configured for:
updating nodes of the pattern units layer for the next frame of the current frame according to W(x,y)i′=(1−α)W(x,y)i+αpt(x,y), where W(x,y)i′ is an updated coefficient of i-th node at position (x,y) of the next frame t+1, W(x,y)i is coefficient of i-th node of the current frame t, pt(x,y) is pixel intensity of a pixel at the position (x,y) of the current frame t, and α is a predetermined empirical parameter.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the processor is configured for defining the nodes of the four layers of the PNN model, the weight coefficient for each of the nodes, and the relationships among the nodes comprising:
defining nodes of the pattern units layer by:
receiving pixel intensity pt(x,y) for each pixel of each t-th frame of the sequence of images, wherein the pixel intensity pt(x,y) for each pixel has L possible levels;
generating a histogram distribution for each t-th frame of pixel intensity pt(x,y) of all pixels, and the distribution is represented by D(pt(x,y)k)={n0, n1, . . . , nk, . . . , nL-1}, wherein nk is the number of pixels whose level is pt(x,y) for each intensity level from 0 to k, and D(pt(x,y)k) is the distribution; and
defining i-th node and assigning weight coefficients, Ct(x,y)i, for the i-th node according to
P
t

(
x
,
y
)
k

{
∈
C
t

(
x
,
y
)
i
,
if


D

(
p
t

(
x
,
y
)
k
)
≥
ɛ
∉
C
t

(
x
,
y
)
t
,
if


D

(
p
t

(
x
,
y
)
k
)
<
ɛ
where k=0 to L−1, and ε is a predetermined threshold.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the processor is further configured for:
determining whether to add new nodes by comparing the similarity of the coefficients between two nodes Ct(x,y)i and Ct(x,y)i+1 according to
U

(
x
,
y
)
m

{
∈
C
t

(
x
,
y
)
i
,
if



C
t

(
x
,
y
)
i
-
C
t

(
x
,
y
)
i
+
1

≤
Δ
∉
C
t

(
x
,
y
)
i
,
if



C
t

(
x
,
y
)
i
-
C
t

(
x
,
y
)
i
+
1

>
Δ
so that if the similarity between Ct(x,y)i and Ct(x,y)i+1 exceeds the threshold Δ then a new node U(x,y)m+1 between Ct(x,y)i and Ct(x,y)i+1 is generated.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the processor is configured for determining pixel blocks by eliminating from the N by N blocks the blocks which are statistically determined to contain only background pixels comprising:
dividing the current frame into N by N blocks;
for a first block of the N by N blocks, estimating a similarity score Z(pt,Wi)m between the pt(x,y) and the i-th node Wi in the pattern units layer according to
Z

(
p
t
,
W
i
)

m
=
exp
(
-

p
rt

(
x
;
y
)
-
W
i

2
2

σ
2
)
,
where σ is an empirical tolerance, and m=1 to E, where E represents the total number of nodes in the summation units layer;
determining whether the first block contains only background pixels by using the similarity score.

### Claim 16 (depends on 15)

The apparatus of claim 15 wherein the processor is configured for determining whether the first block contains only background pixels by using the similarity score comprising:
obtaining the similarity score in each category of the summation units layer of the first block of the current frame;
selecting the maximum value from the similarity score in each category of the summation units layer;
summing the similarity score within each of the N by N blocks of each node of the summation units layer; and
the first block is determined to contain only background pixels when summing the similarity score generates a value which exceeds an experiential threshold.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the processor is configured for obtaining the similarity score in each category of the summation units layer of the first block of the current frame is according to S(m)=Σi−1H(pt,Wi)m where H is the total number of nodes in the pattern units layer of the m-th summation units layer node, and the processor is configured for selecting the maximum value from the similarity score in each category of the summation units layer is according to Smax=maxm=1˜ES(m).

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the processor is configured for summing the similarity score within each of the N by N blocks of each node of the summation units layer is according to
ϕ
=
∑
p
t
∈
μ

S
ma


x
,
where pt is each pixel value of the first block μ; and the first block is determined by processor to contain only background pixels when summing the similarity score generates a value which exceeds an experiential threshold according to
A
s

(
i
,
j
)
=
{
0
,
if


ϕ
≥
τ
1
,
otherwise
such that when the block As(i,j) of the current frame exceeds the experiential threshold τ, the block As(i,j) is determined to contain only background pixels.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the processor is configured for determining whether a pixel of the pixel blocks of the sequence of images is a moving object pixel or a background object pixel by comparing the maximum coefficient of the output units layer with an output threshold comprising:
calculating values of all nodes of the output units layer and obtaining Y, the maximum value of all nodes of the output units layer, according to
Y
=
max
m
=
1
~
E

∑
i
=
1
H

Z
i
m
,
where Zim is the value of the i-th pattern units layer node in the m-th summation layer, and H is the total number of pattern layer nodes in the m-th summation layer, and
the pixel is determined to be a moving object pixel when Y exceeds an experiential threshold value.

### Claim 20 (depends on 11)

The apparatus of claim 11, wherein the processor is configured for:
the input units layer receiving through the transceiver the pt(x,y) value in YCbCr color space where Y is luminance, Cb is blue-difference chroma, and Cr is red-difference chroma.
