Abstract: A method and system for optimizing computer source code is provided. Prior to compiling the source code, the code is analyzed to determine the occurrence of repeating patterns of code. The repeating patterns of code are replaced with a programming loop that executes a single instance of the pattern multiple times using appropriate array indices and loop increments. In this manner, source code size is reduced making transfer, storage and compiling more efficient.
Abstract: A method for interpolating digital images is provided. An original digital image in the spatial domain is transformed into a frequency domain representation via a Fourier transform. The Fourier transform or frequency domain representation is then modified by phase shift terms corresponding to image shifts in the spatial domain with sub-unity distances matching the locations where the image values need to be restored. The original and the shifted images are then interspersed together, yielding an interpolated image. The method is particularly useful for two and three-dimensional computer tomography (CT) and magnetic resonance imaging (MRI) images, as well as other medical and non-medical digital images.
Abstract: Systems and methods for understanding human interactive behavior and its interpretation are provided. The systems and methods of the present invention are applicable to the interpretation of interactions between individuals, groups and societies in almost any social setting and time period. In this regard, the present invention provides a culture-based method of predicting human behavior, its interpretation, probability, type and magnitude of response.