示例#1
0
        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));
        }
示例#2
0
        public List <Color> GetColours()
        {
            var aggregatedMetadata = new MetadataAnalysis(_analysis).Aggregate();

            return(ColorHandling.GetColoursIn(aggregatedMetadata));
        }