Preparing for local feature extraction