You are here

public function ImageFocusEntropy::getFocalPoint in Image Focus Crop 6

Same name and namespace in other branches
  1. 7 image_focus.entropy.inc \ImageFocusEntropy::getFocalPoint()

File

./image_focus.entropy.inc, line 88
Image entropy calculation.

Class

ImageFocusEntropy
@file Image entropy calculation.

Code

public function getFocalPoint() {
  if (!isset($this->cx)) {
    $this
      ->calculateFocalPoint();
  }
  return array(
    $this->cx,
    $this->cy,
  );
}