How does the transporter know how to style your hair?

S2 E7 Unnatural Selection

Dr. Pulaski is beamed back to the enterprise in combination with her original DNA sample to restore her to her health. But...how does the transporter know in what style her hair was brushed? Or if she used product to style her hair?

Ok, I drank some wine before posting lol, but I still stand by my question.