The present disclosure relates to computer vision and automated surveillance systems.
Visual surveillance of dynamic scenes is an active area of research in robotics and computer vision. The research efforts are primarily directed towards object detection, recognition, and tracking from a video stream. Intelligent visual surveillance has a wide spectrum of promising government and commercially-oriented applications. Some important applications are in the field of security and include access control, crowd control, human detection and recognition, traffic analysis, detection of suspicious behaviors, vehicular tracking, Unmanned Aerial Vehicle (UAV) operation, and detection of military targets. Many other industrial applications in the automation fields also exist, such as faulty products detection, quality assurance, and production line control.
Commercial surveillance systems are intended to report unusual patterns of motion of pedestrians and vehicles in outdoor environments. These semi-automatic systems are further intended to assist, but not replace, the end-user. In addition, electronics companies provide suitable equipment for surveillance. Examples of such equipment include active smart cameras and omnidirectional cameras. All of the above provide evidence of the growing interest in visual surveillance, where, as in many image processing applications, there is a crucial need for high performance real-time systems. A bottleneck of these systems is primarily hardware-related, including capability, scalability, requirements, power consumption, and ability to interface various video formats. In fact, the issue of memory overhead prevents many systems from achieving real-time performance, especially when general purpose processors are used. In these situations, the typical solutions are either to scale down the resolution of the video frames or to inadequately process smaller regions of interests within the frame.
Although Digital Signal Processors (DSPs) provide improvement over general purpose processors due to the availability of optimized DSP libraries, DSPs still suffer from limited execution speeds. Thus, DSPs are insufficient for real-time applications. Field programmable gate array (FPGA) platforms, on the other hand, with their inherently parallel digital signal processing blocks, large numbers of embedded memory and registers, and high speed memory, together with storage interfaces, offer an attractive solution to facilitate hardware realization of many image detection and object recognition algorithms. As a result, computationally expensive algorithms are usually implemented on an FPGA.
State of the art developments in computer vision confirm that processing algorithms will make a substantial contribution to video analysis in the near future. Once commercialized, the processing algorithms may overcome most of the issues associated with the power and memory demanding needs. However, the challenge to devise, implement, and deploy automatic systems using such algorithms to detect, track, and interpret moving objects in real-time remains. The need for real-time applications is strongly felt worldwide, by private companies and governments directed to fight terrorism and crime, and to provide efficient management of public facilities.
Intelligent computer vision systems demand novel system architectures capable of integrating and combining computer vision algorithms into configurable, scalable, and transparent systems. Such systems inherently require high performance devices. However, many uncharted areas remain unaddressed. For example, only a single hardware implementation attempt has been reported for a Maximally Stable Extremal Regions (MSERs) detector and that attempt was met with limited success. This is despite the fact that MSERs detectors were introduced as a research topic more than a decade ago, have been used in numerous software applications, and been discussed in over 3,000 published papers. The major advantages of MSERs are affine invariance. Traditional scale invariant feature transform (SIFT) detectors and speeded up robust features (SURF) detectors are only scale and rotation invariant.
Moreover, classical MSER and SIFT algorithms tend to be far more computationally complicated than a linear-time MSERs algorithm. For example, one of the preprocessing steps for SIFT detection is the construction of the Scale-Space using the Pyramid of Gaussian. In this step, multiple versions of the scaled input frame are stored to be used later for the SIFT detection. This requires additional memory space as compared to storing one single version of the input frame to be processed directly via the linear-time MSERs algorithm. Additionally, each of these scaled versions of the input framed are filtered (convolved) with a smoothing filter, the SIFT inventor, which means extra processing (additions, multiplication, and memory read/write accesses) are required, and hence more power will be consumed. In the case of linear-time MSER, the extra processing steps are not necessary.
What is needed is a hardware architecture for linear-time extraction of MSERs. The architecture can be easily realized with e.g. an FPGA or an application specific integrated circuit (ASIC) or the like.
An architecture for linear-time extraction of maximally stable extremal regions (MSERs) having an image memory, heap memory, a pointer array and processing hardware is disclosed. The processing hardware is configured to, in real-time, analyze image pixels in the image memory using a linear-time MSERs algorithm to identify a plurality of components of the image. The processing hardware is also configured to place the image pixels in the heap memory for each of the plurality of components of the image, generate a pointer that points to a location in the heap memory that is associated with a start of flooding for another component and store the pointer in the array of pointers. The processing hardware is also configured to access the plurality of components using the array of pointers and determine MSER ellipses based on the components and MSER criteria.
Those skilled in the art will appreciate the scope of the disclosure and realize additional aspects thereof after reading the following detailed description in association with the accompanying drawings.
The accompanying drawings incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together with the description serve to explain the principles of the disclosure.
The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the disclosure and illustrate the best mode of practicing the disclosure. Upon reading the following description in light of the accompanying drawings, those skilled in the art will understand the concepts of the disclosure and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.
The MSER linear-time processing hardware 14 includes intensity image process hardware 18 that receives a data stream of an intensity image via the communications interface 12. The intensity image process hardware 18 includes component creation hardware 20 and find new component hardware 22 that creates, finds, and merges components associated with the intensity image, and then passes the components on MSER process hardware 24.
The MSER process hardware 24 includes MSER selector hardware 26 that receives MSER criteria that uses the components to select MSERs. MSERS that are selected have moments calculated by calculate moments hardware 28. The moments are used by elliptical fit approximator hardware 30 to generate ellipse parameters that are stored in an MSER ellipses parameters memory block 32.
A heap memory 20B has columns equal to the number of grey levels. For an unsigned 8-bit image, there are 256 grey levels (0-255). The first column corresponds to level 0 and the last column to level 255. All pixels that are accessed but not yet flooded are stored in this memory. The first element in each column is used as a pointer to the last element in that column. Initially, the pointer points to the second location in a column. The pointer's value is incremented when a new element is added while its value is decremented when an element is popped out. Feature 22A pushes a new component onto the stack and processes the heap while feature 22B merges components.
A stack memory 22C of the same size as an input image is used to store a sequence of pixels that are flooded. The stack memory can be considered a memory block that stores a water path during flooding.
A binary mask 20D has the same dimension as input image wherein each bit of the binary mask 20D is used to determine the state of a corresponding pixel. The state of the corresponding pixel indicates whether or not the corresponding pixel has been accessed by water or not. Initially, all pixel values are set to be true, indicating that these pixels are accessible. In the exemplary embodiments of this disclosure, a true condition is represented by a logic 1 and a false condition is represented by a logic 0.
Returning to
The communication interface 12 passes the MSER criteria to MSER selector hardware 26, which also receives MSERs found via the find new component hardware 22. The MSER selector hardware 26 in turn tests each MSER to ensure that each MSER has an area that fits within the range specified by the minimum MSER area value MinArea and the maximum MSER area value MaxArea.
The maximum variation value MaxVar specifies how stable the detected MSERs must be. The communication interface 12 passes maximum variation value MaxVar to the MSER selector hardware 26, which in turn tests each component found by the find new component hardware 22 to ensure that each component does not exceed the maximum variation value MaxVar.
In one embodiment, the MSER criteria also include a minimum diversity value τ that is provided to mitigate sensitivity to blur and to mitigate discretization effects that plague traditional MSER extraction software and/or hardware. Since nested MSERs have similar center coordinates, any new MSERs with centers within a range associated with the minimum diversity value τ compared to previously detected and stored MSERs are excluded automatically. In particular, all detected MSERs satisfy the following conditions:
x0:∉{(1−0.5τ)xi,(1+0.5τ)xi}, EQ. 1
y0:∉{(1−0.5τ)yi,(1+0.5τ)yi}, EQ. 2
where xi and yi denote all previously stored center values of the detected MSERs. However, comparing centers has a drawback in that unnecessary computations are included while image moments are calculated. In order to predict possible nesting, and hence save unnecessary operations due to comparing centers, an alternative approach is executed by the MSER selector hardware 26 at a relatively far lower computational cost. Specifically, for each region, the MSER selector hardware 26 compares a current growth rate with a previous growth rate, and if an absolute difference is within a range defined by the minimum diversity value τ, then this region at the current intensity threshold is excluded by the MSER selector hardware from further MSER extraction processing.
MSER calculate moments hardware 28 uses a pixel list to calculate region moments using the following relationship for any particular moment mpq.
mpq=Σ(x,y)εRxpyq, EQ. 3
x,yεR(τ) EQ. 4
where x and y denote the pixel coordinate of the region R(τ) at the current intensity threshold. Subsequently, the region can be approximated by a best-fit ellipse equation that is given by:
where (x0, y0), a, b, and α, respectively, are MSER ellipse parameters that represent a center of gravity (center of the MSER ellipse), a major axis length, a minor axis length, and an angle of the major axis with respect to a horizontal axis. In an exemplary embodiment, the MSER ellipse parameters are determinable using region moments m00, m10, m10, m11, m02, and m20 that are calculated by MSER calculate moments hardware 28. Elliptical fit approximator hardware 30 uses the region moments provided by the MSER calculate moments hardware 28 to approximate the MSER ellipse parameters (x0, y0), a b, and α via the following mathematical relationships.
Instead of storing each MSER pixels list, which would require a relatively huge memory, the MSER ellipses parameters memory block 32 is usable to store best-fit ellipses parameters (x0, y0), a, b, and α, which are provided to external hardware (not shown) for display or monitoring. For example, since the best-fit ellipses parameters (x0, y0), a, b, and α are readily available through the communication interface 12, they can be used to compute scale invariant feature transform (SIFT) descriptors and speeded up robust features (SURF) descriptors.
The MSER calculate moments hardware 28 calculates the region moments m00, m10, m10, m11, m02, and m20 that are stored in a 5×1 memory array stored in the cache memory 16 (
Those skilled in the art will recognize improvements and modifications to the embodiments of the present disclosure. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow.
The present application is a continuation-in-part of U.S. patent application Ser. No. 14/482,482, filed Sep. 10, 2014, entitled “HARDWARE ARCHITECTURE FOR REAL-TIME EXTRACTION OF MAXIMALLY STABLE EXTREMAL REGIONS (MSERs).” The present application is related to U.S. patent application Ser. No. 14/686,905, filed Apr. 15, 2015, entitled “ARCHITECTURE FOR REAL-TIME EXTRACTION OF EXTENDED MAXIMALLY STABLE EXTREMAL REGIONS (X-MSERs).” All of the applications listed above are hereby incorporated herein by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
7027054 | Cheiky | Apr 2006 | B1 |
7725484 | Nister | May 2010 | B2 |
1813561 | Jia et al. | Oct 2010 | A1 |
8265866 | Altamura et al. | Sep 2012 | B2 |
8295604 | Sakai et al. | Oct 2012 | B2 |
8406532 | Wang et al. | Mar 2013 | B2 |
8538077 | Zitnick, III | Sep 2013 | B2 |
9053361 | Baheti et al. | Jun 2015 | B2 |
9311555 | Salahat | Apr 2016 | B2 |
9489578 | Salahat | Nov 2016 | B2 |
9600739 | Salahat | Mar 2017 | B2 |
20140286579 | Grujic et al. | Sep 2014 | A1 |
20160071280 | Salahat et al. | Mar 2016 | A1 |
Entry |
---|
Donoser, M., et al., “Efficient Maximally Stable Extremal Region (MSER) Tracking,” Proceedings of the 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Jun. 2006, 8 pages. |
Donoser, M., et al., “Shape Guided Maximally Stable Extremal Region (MSER) Tracking,” 20th International Conference on Pattern Recognition, Istanbul, Aug. 2010, pp. 1800-1803. |
Greenhalgh, J., et al., “Real-Time Detection and Recognition of Road Traffic Signs,” IEEE Transactions on Intelligent Transportation Systems, vol. 13, No. 4, Dec. 2012, pp. 1498-1506. |
Hsu G.-S., et al. “Application-Oriented License Plate Recognition,” IEEE Transactions of Vehicular Technology, vol. 62, No. 2, Feb. 2013, pp. 552-561. |
Huang, L., et al., “Human Skin Detection in Images by MSER Analysis,” 18th IEEE International Conference on Image Processing, Brussels, Sep. 2011, pp. 1257-1260. |
Kristensen, Fredrik et al., “Real-Time Extraction of Maximally Stable Extremal Regions on an FPGA,” 2007 IEEE International Symposium on Circuits and Systems, May 2007, IEEE, pp. 165-168. |
Riemenschneider, H., et al., “Online Object Recognition by MSER Trajectories,” 19th International Conference on Pattern Recognition, Tampa, FL, Dec. 2008, 4 pages. |
Sivic, J., et al., “Video Google: A Text Retrieval Approach to Object Matching in Videos,” Proceedings of the Ninth IEEE International Conference on Computer Vision, Nice, France, Oct. 13-16, 2003, 8 pages. |
Varah, S., et al., “Target Detection and Tracking Using a Parallel Implementation of Maximally Stable Extremal Region,” GPU Technology Conference, Canada, Mar. 2013, 28 pages. |
Zamberletti, Alessandro et al., “Text Localization based on Fast Feature Pyramids and Multi-resolution Maximally Stable Extremal Regions,” ACCV 2014 Workshops Computer Vision, Springer International Publishing, 2014, pp. 91-105. |
Notice of Allowance for U.S. Appl. No. 14/482,629, mailed Nov. 19, 2015, 8 pages. |
Non-Final Office Action for U.S. Appl. No. 14/482,482, mailed Jan. 4, 2016, 7 pages. |
Notice of Allowance for U.S. Appl. No. 14/482,482, mailed Jul. 8, 2016, 8 pages. |
Non-Final Office Action for U.S. Appl. No. 14/686,905, mailed Apr. 21, 2016, 5 pages. |
Notice of Allowance for U.S. Appl. No. 14/686,905, mailed Oct. 13, 2016, 7 pages. |
Number | Date | Country | |
---|---|---|---|
20170017853 A1 | Jan 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14482482 | Sep 2014 | US |
Child | 15277477 | US |