An osteotomy resection procedure for removing a wedge from a bone utilizing a localization device. The localization device being used to track reference points associated with the bone, track surgical instruments, perform calculations to determine a resection angle for the wedge, and assist a surgeon in performing the procedure.