Recovery of generalized cylinders from a single intensity image