예제 #1
0
        /// <summary>
        /// Adjusts the reference white point for an image and maps all colors in the source using the new reference.
        /// </summary>
        /// <returns>
        /// The Color Adjusted Image
        /// </returns>
        public CIImage WhitePointAdjust()
        {
            var whitePointAdjust = new CIWhitePointAdjust()
            {
                Image = flower,
                Color = new CIColor(new CGColor(255F, 0, 187F))                 // A Magenta Color
            };

            return(whitePointAdjust.OutputImage);
        }
예제 #2
0
		/// <summary>
		/// Adjusts the reference white point for an image and maps all colors in the source using the new reference.
		/// </summary>
		/// <returns>
		/// The Color Adjusted Image
		/// </returns>
		public CIImage WhitePointAdjust()
		{
			var whitePointAdjust = new CIWhitePointAdjust()
			{
				Image = flower,
				Color = new CIColor(new CGColor(255F, 0, 187F)) // A Magenta Color
			};
			
			return whitePointAdjust.OutputImage;
		}