public Color From(Analysis analysis) { _analysis = analysis; var metadataAnalysis = new MetadataAnalysis(analysis); _weightedColours.AddList(metadataAnalysis.GetColours(), MetadataWeighting); GetAudioAspect(); var aggregatedColour = ColorHandling.Aggregate(_weightedColours); return(ColorHandling.ExaggerateColour(3, aggregatedColour)); }
public List <Color> GetColours() { var aggregatedMetadata = new MetadataAnalysis(_analysis).Aggregate(); return(ColorHandling.GetColoursIn(aggregatedMetadata)); }