Patent Number: 
Section: claims

1. A method for assessing a quality of a digital image, the method comprising using at least one hardware processor to:perform a micro-analysis comprisingdividing a digital image into a plurality of blocks,for two or more of the plurality of blocks, determining a score based on a spatial frequency of the block, andgenerating a score map for the digital image based on the score for each of the two or more blocks; andperform a macro-analysis comprisingdetecting artifacts in the digital image,computing a degradation score based on detected artifacts, andcomputing a whole-slide-quality score based on the score map and the degradation score. 2. The method of claim 1, wherein the micro-analysis further comprises:for each of the plurality of blocks,generating one or more metrics for the block,qualifying the block if the one or more metrics satisfy one or more predetermined criteria, andnot qualifying the block if the one or more metrics do not satisfy the one or more predetermined criteria,wherein the two or more blocks consist of the qualified ones of the plurality of blocks. 3. The method of claim 2, wherein the one or more metrics comprise one or more of a measure of white space, a measure of light, a measure of edge activity, and a measure of contrast. 4. The method of claim 2, wherein the macro-analysis further comprises determining a ratio of a number of the qualified blocks to a total number of the plurality of blocks. 5. The method of claim 1, wherein determining a score based on a spatial frequency of the block comprises:performing a transform on at least a portion of the block; andgenerating the score based on the transform. 6. The method of claim 5, wherein performing a transform on at least a portion of the block comprises performing a plurality of partial transforms, wherein each of the plurality of partial transforms is performed on at least a portion of the block, and wherein the score is based on the plurality of partial transforms. 7. The method of claim 6, wherein the score is based on a number of the plurality of partial transforms exceeding a predetermined threshold. 8. The method of claim 7, wherein the score is based on a ratio of the number of the plurality of partial transforms exceeding the predetermined threshold to a total number of the plurality of partial transforms. 9. The method of claim 6, further comprising weighting the plurality of partial transforms to emphasize a contribution of one or more frequency ranges, wherein the score is based on the weighted plurality of partial transforms. 10. The method of claim 1, wherein computing a whole-slide-quality score based on the score map and the degradation score comprises:computing an average score from the score map; andsubtracting the degradation score from the average score. 11. The method of claim 1, wherein the macro-analysis further comprises, if the whole-slide-quality score does not satisfy a predetermined threshold, providing an indication that the digital image has unsatisfactory image quality. 12. The method of claim 1, further comprising generating a heat map for the digital image based on the score map, wherein the heat map comprises the digital image with a color overlaid on each of the plurality of blocks, and wherein, for each of the plurality of blocks, the overlaid color represents an image quality of the block. 13. The method of claim 12, wherein generating the heat map comprises, for each of the plurality of blocks, blending a grayscale image corresponding to the block with a color representing an image quality of the block. 14. The method of claim 1, wherein the score map comprises a plurality of scores for the plurality of blocks, and wherein detecting artifacts in the digital image comprises searching for one or more patterns in the plurality of scores. 15. The method of claim 14, wherein the one or more patterns comprise a discontinuity in a horizontal or vertical dimension of the digital image. 16. A non-transitory computer-readable medium having instructions stored therein, wherein the instructions, when executed by a processor, cause the processor to:perform a micro-analysis comprisingdividing a digital image into a plurality of blocks,for two or more of the plurality of blocks, determining a score based on a spatial frequency of the block, andgenerating a score map for the digital image based on the score for each of the two or more blocks; andperform a macro-analysis comprisingdetecting artifacts in the digital image,computing a degradation score based on detected artifacts, andcomputing a whole-slide-quality score based on the score map and the degradation score. 17. The non-transitory computer-readable medium of claim 16, wherein computing a whole-slide-quality score based on the score map and the degradation score comprises:computing an average score from the score map; andsubtracting the degradation score from the average score. 18. The non-transitory computer-readable medium of claim 16, wherein the instructions further cause the processor to generate a heat map for the digital image based on the score map, wherein the heat map comprises the digital image with a color overlaid on each of the plurality of blocks, and wherein, for each of the plurality of blocks, the overlaid color represents an image quality of the block. 19. The non-transitory computer-readable medium of claim 16, wherein the score map comprises a plurality of scores for the plurality of blocks, and wherein detecting artifacts in the digital image comprises searching for one or more patterns in the plurality of scores. 20. A system for assessing a quality of a digital slide image, the system comprising:at least one hardware processor; andone or more modules that are configured to, when executed by the at least one hardware processor,perform a micro-analysis comprisingdividing a digital image into a plurality of blocks,for two or more of the plurality of blocks, determining a score based on a spatial frequency of the block, andgenerating a score map for the digital image based on the score for each of the two or more blocks, andperform a macro-analysis comprisingdetecting artifacts in the digital image,computing a degradation score based on detected artifacts, andcomputing a whole-slide-quality score based on the score map and the degradation score.