tag:blogger.com,1999:blog-6555460465813582847.post2745753519582613970..comments2023-02-07T10:24:13.796+02:00Comments on MTF Mapper: View MTF (SFR) curves in the GUIfvdberghhttp://www.blogger.com/profile/06566624298120266140noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6555460465813582847.post-18349508756404045002018-11-15T14:33:53.503+02:002018-11-15T14:33:53.503+02:00Hi Ralph,
Unfortunately the "edge quality&qu...Hi Ralph,<br /><br />Unfortunately the "edge quality" value is not recorded in any of existing text output files (such as edge_mtf_values.txt), and I have to maintain backwards compatibility for those outputs.<br /><br />What you can do, though, is to look at the MTF50 value in the edge_mtf_values.txt file (see section 5.6 of the user guide). If this value is 1.0 cycles/pixel, then the edge will have been coloured red (possibly marked as "N/A") in the annotated output.<br /><br />The edge will be coloured yellow in the annotated output if the edge is shorter than 25 pixels, which you might be able to infer from your image dimensions if you are processing individual edges with the --single-roi option. If by "scoring individual edges" you meant that you still process a whole chart, then you can infer the size of the squares from the edge centroids (second and third columns in edge_mtf_values.txt, see chapter 5.6 of the user guide). I would recommend that you use larger edges if possible, if you regularly end up with such short edges.<br /><br />The last condition that would produce a yellow annotation would be if the relative edge angle was close to 26.565 degrees; in the code I check for closer than 1 degree to 26.565. You can extract the relative edge angle as column 4 in edge_sfr_values.txt.<br /><br />There are two more angle checks that produce a red annotation: relative angles below 1 degree, and above 44 degrees. These do not typically produce a N/A.<br /><br />If I may ask, what do you want to do with the edge quality score?fvdberghhttps://www.blogger.com/profile/06566624298120266140noreply@blogger.comtag:blogger.com,1999:blog-6555460465813582847.post-56790279170305615102018-11-14T17:17:23.120+02:002018-11-14T17:17:23.120+02:00Is there a way to access the score used to create ...Is there a way to access the score used to create the annotation color or some other parameter from the command line? I know I can grab an annotated edge image and look for the color. I am scoring individual edges. RalphJudy Reinholdhttps://www.blogger.com/profile/08022325193473373544noreply@blogger.com