1. A method of inspecting a part, comprising: applying a penetrant dye to a part, the penetrant dye exhibiting a fluorescent color when subjected to light from a lighting device; illuminating a portion of the part with light from the lighting device; automatically recording an image of the portion of the part with a camera while the portion is illuminated; automatically determining an uncertainty metric for the image indicative of a likelihood that pixels in the image having the fluorescent color represent damage to the part; automatically adjusting at least one of the part, the lighting device, and the camera based on the uncertainty metric being within a predefined range; and iteratively repeating the automatic recording, determining, and adjusting steps until the uncertainty metric is greater than the predefined range, or a predefined number of iterations have been performed for the portion of the part.