This study deals with determination of the percentage of damage in an optically active, translucent material (polystyrene). We made cracks visible by placing the material into the polariscope (between the polarizer and analyzer), and the numerical value of damage was determined by using Sobel, one of the Matlab’s operators for edge detection.