Packages

class Cluster extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cluster
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cluster(id: Int, in_red: Int, in_green: Int, in_blue: Int, x: Int, y: Int, cellSize: Double, modifier: Double)

Value Members

  1. def addPixel(x: Int, y: Int, in_red: Int, in_green: Int, in_blue: Int): Unit
  2. var avgX: Double
  3. var avgY: Double
  4. def calculateCenter(): Unit
  5. val cellSize: Double
  6. def distance(x: Int, y: Int, red: Int, green: Int, blue: Int, S: Double, m: Double, w: Int, h: Int): Double
  7. var id: Int
  8. val in_blue: Int
  9. val in_green: Int
  10. val in_red: Int
  11. val modifier: Double
  12. val pixels: ArrayBuffer[(Int, Int)]
  13. def reset(): Unit
  14. val x: Int
  15. val y: Int