Error message

  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home3/pathiipo/public_html/includes/common.inc).
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2404 of /home3/pathiipo/public_html/includes/menu.inc).

Detection of Out-of-Focus Regions

  • Posted on: 31 August 2020
  • By: hbinol

Precise focusing is one of the important parameters to obtain high-quality images. Unfortunately, whole slide images produced by commercial scanners may result in out-of-focus areas. The main reason of the blurred images is the improper focusing on the tissue. Although the scanners are able to calculate the precised focusing parameter for a specific point, the regions between two focus points can be out-of-focus due to the 3d structure of the tissue. The amount of the blurring will depend on the difference between the estimated and real distances in z-axis for this region. As a result, for a very small offset values the blurring will be negligible. On the other hand for larger offset values, the blurring will become more noticeable. During the last decades, several quality assessment approaches were proposed for whole slide images (WSI). Most of these approaches aim to identify the quality of the acquired image in terms of focusing.

In this plugin, we aim to allow users to find out-of-focus regions using Sedeen Viewer. The plugin is developed in C++. In order to avoid analyzing the regions outside the tissue area, the plugin starts with finding the tissue map at 1x magnification of the entire slide by applying Otsu Thresholding. After the tissue detection, plugin reads 64x64 tiles inside the tissue and calculates a focus score for each tile based on the entropy and contrast of the tile. The user is able to define sampling rate during this analyzes. A higher sampling value means a denser map and causes more computation. The plugin also includes a cache mechanism and this function allows the user to use the previous analysis.

Project image: