gsjunior86 / SIS

K-Means Image Segmentation on Apache Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spark Image Segmentation

K-Means Image Segmentation on Apache Spark

br.gsj.spark.kmeans.ImageSegmentation - Run the segmentation of an image. The image is loaded by the variable path and the result will be saved in the same folder with the addition of "_result" in the end.

br.gsj.spark.kmeans.ImageOptimalKComputation - Run the computation of the optimal K for an image. The image is loaded by the variable path. Check the variable writer, it will define where the graph will be stored.

src/main/resources - Some image to run as examples

About

K-Means Image Segmentation on Apache Spark

License:GNU General Public License v3.0


Languages

Language:Scala 79.3%Language:HTML 20.7%