Design patterns are micro architectures that have proved to be reliable, robust and easy to implement. Detecting design pattern from source code of object-oriented system can help a designer, a developer or a maintain...Design patterns are micro architectures that have proved to be reliable, robust and easy to implement. Detecting design pattern from source code of object-oriented system can help a designer, a developer or a maintainer to understand the software system. In this paper, a new method is provided which can detect design patterns from source code combining both static and dynamic analysis. To acquire the run-time dynamic information of software systems, a code instrumentation method is adopted. At the same time, all static and dynamic information is presented in UML diagrams format. The pattern detection process and its detection results are visual and interactive. This method is tested on a call center and a traffic simulation system. Experimental results prove that the method is effective in design patterns detection.展开更多
The image contour is segmented into lines, arcs and smooth curves by median filtering of extended direction code. Based on this segmentation, a set of new local invariant features are proposed to recognize partially o...The image contour is segmented into lines, arcs and smooth curves by median filtering of extended direction code. Based on this segmentation, a set of new local invariant features are proposed to recognize partially occluded objects, which is more reasonable compared with conventional corner features. The matching results of some typical examples shows that these features are robust ,effective in recognition.展开更多
基金Project supported by the National Natural Science Foundation of China(Grant No.60473063)
文摘Design patterns are micro architectures that have proved to be reliable, robust and easy to implement. Detecting design pattern from source code of object-oriented system can help a designer, a developer or a maintainer to understand the software system. In this paper, a new method is provided which can detect design patterns from source code combining both static and dynamic analysis. To acquire the run-time dynamic information of software systems, a code instrumentation method is adopted. At the same time, all static and dynamic information is presented in UML diagrams format. The pattern detection process and its detection results are visual and interactive. This method is tested on a call center and a traffic simulation system. Experimental results prove that the method is effective in design patterns detection.
文摘The image contour is segmented into lines, arcs and smooth curves by median filtering of extended direction code. Based on this segmentation, a set of new local invariant features are proposed to recognize partially occluded objects, which is more reasonable compared with conventional corner features. The matching results of some typical examples shows that these features are robust ,effective in recognition.