You are here

public function ImageFocusEntropy::getFocalPoint in Image Focus Crop 7

Same name and namespace in other branches
  1. 6 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,
  );
}