Text this: Designing and assessment of accuracy of an algorithm for determining the accuracy of radiographic film density by changing exposure time