A method for targeting. The method includes determining skin characteristics in a region of a patient. An in-treatment optical scan is performed on a region of a patient, wherein the in-treatment optical scan comprises a near infrared (NIR) energy source. A plurality of detected signals is detected from the optical scan. The skin characteristics are filtered out from the plurality of detected signals. Skeletal anatomy positioning associated with the region is determined from the plurality of signals that is filtered.