Research Article

Research on Intelligent Recognition and Management of Smart City Based on Machine Vision

Table 1

Steps of fast median filtering.

StepImplementation method

First stepEstablish a (2n+2) × (2n +1) filter window and move 2 steps along the image line sequence
Step 2After each move, first sort all elements in the window to get the (2n+2) × (2n +1) element sequence
Step 3Using (2n+1) elements other than ((2n+1) × (2n+1), respectively, move the median pointer by the method described above to obtain the last median pointer;
Step 4Go to the first window element and carry out one, two or three steps for the whole image in order until the end.