I would like to get a “blurness” value after using the cannyfilter on a siemensstar image, to check the blurness level. After usind the canny filter the images looks like these:
because only with the canny you can destinguish between “blurry” and “sharp”. After the canny you can see much more detailed lines as in image on the left.
that fiducial in the center surprises me. that’s not part of regular Siemenssterne.
the rays appear fairly distinguishable, almost up until the quadrant target’s perimeter.
you should locate the center (that’s probably what the fiducial is there for), then sample the picture in circular 1D paths of various radii. assess each 1D signal for peak-to-peak amplitude.
I’m not inclined to un-stretch that picture you have there. if you can justify its stretched appearance or provide an unharmed one, I might demonstrate my suggestion. make sure the picture is source data. it’s supposed to assess the degradation of one step in an imaging pipeline. any further degradation of the measurement (filtering, resampling, “copying” by taking a snapshot with a phone, … the usual stuff) would defeat the point.