1 ) A computer-readable medium storing software code representing instructions that when executed by a computing system cause the computing system to perform a method of detecting an object within an intraluminal image, the method comprising generating a set of pre-defined intraluminal images known to display an object; computing principal components for the set to create an object space for the object; projecting an input intraluminal image onto the object space; and detecting the object in the input intraluminal image.