Performance Considerations

This section describes some of the factors that affect the amount of time required by the tool to compute a sharpness score.

  1. In image difference mode, the amount of time required to compute a sharpness score for a particular image is affected by the following factors:
    • The size of the valid region (larger regions require more time)
    • The size of the image offsets (smaller offsets require more time)
  2. In auto-correlation mode, the amount of time required to compute a sharpness score is affected by the size of the input image (larger images require more time).
  3. In general, for large image offsets, image difference mode is faster than auto-correlation mode for a given image size. If, however, you need to determine the sharpness of an image with mostly small features, auto-correlation mode may be faster.
  4. For most images, band pass filtering mode is a slower procedure than other modes.
  5. In gradient energy mode if you specify a lowPassSmoothing parameter value greater than zero, the tool will run slower.