A method of performing shift- and rotational-invariant associative memory is proposed. The method can be implemented both optically and digitally with computers. The method is detailed and some results of the digital implementation are presented, The experimental results show that the original reference pattern is recovered by partial inputs in any orientation. It the input is not the original reference pattern or a partial version of it, the results produced by this method are unidentifiable.