Skip to content

AjinkyaSalvi/histogram-of-color-intensities-scala-apache-spark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Histogram

  1. Program Details:

    (i) Date: 2nd April, 2020 (ii) Language: Scala

  2. Problem Statement:

    (i) Input: RGB color codes (might be repeated). Example: 12 123 243 - Where 12 is intensity of red, 123 is intensity of green, and 243 is intensity of blue.

    (ii) Output: The colors with their corresponding intensity and the total number of times for which the color intensity is repeated. Example: 2 123 108548 - Here, 2 is green, 123 is intensity corresponding to the clor green, and the color green with intensity 123 is repeated 108540 times.

  3. Code Execution: You can run this program over Apache Spark compatible server.

  4. Note: I have included sample input and output .txt files.

About

Converting a huge amount of color intensities into a histogram.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages