We detect design patterns in legacy code combining static and dynamic analyses. The analyses do not depend on coding or naming conventions. We classify potential pattern instances according to the evidence our analyses provide. We discuss our approach for the Observer, Composite, Mediator, Chain of Responsibility and Visitor Patterns. Our Java analysis tool analyzes Java programs. We evaluate our approach by applying the tool on itself and on the Java SwingSetExample using the Swing library.
ABSTRACT:We are currently developing a novel 3D scanning device for rock-art. Within the European project 3D-Pitoti, this scanner shall be used to acquire 3D structure and radiometric surface properties of ancient rock-art sites in Valcamonica. Overall design goals include high spatial accuracy and precision, as well as radiometric quality beyond phototexture. This paper is devoted to the geometric measurement principle of the new scanner. We present a novel scanning scheme based on various constraints to Structure from Motion, that guarantees high accuracy of the resulting scans by combining tachymeter-based tracking of the scanner, stereo, and structure-from-motion. This method provides scale information (by calibrated stereo), and does not require ground control points, because outside-in tracking avoids the typical issues of drift in structure-from-motion. The system is designed for flexibility, high throughput, approx. 0.1mm precision, and an overall accuracy of the reconstructed 3D structure that conforms with the specifications of the tachymeter.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.