Exemplo n.º 1
0
 public span_image_filter_float(IImageBufferAccessorFloat src,
                                ISpanInterpolatorFloat interpolator, IImageFilterFunction filterFunction)
 {
     m_ImageBufferAccessor = src;
     m_interpolator        = interpolator;
     m_filterFunction      = filterFunction;
     m_dx_dbl = (0.5f);
     m_dy_dbl = (0.5f);
 }
Exemplo n.º 2
0
 public void interpolator(ISpanInterpolatorFloat v)
 {
     m_interpolator = v;
 }
Exemplo n.º 3
0
 public span_image_filter_float(IImageBufferAccessorFloat src,
                                ISpanInterpolatorFloat interpolator)
     : this(src, interpolator, null)
 {
 }
		public span_image_filter_rgba_float(IImageBufferAccessorFloat src, ISpanInterpolatorFloat inter, IImageFilterFunction filterFunction)
			: base(src, inter, filterFunction)
		{
			if (src.SourceImage.GetFloatsBetweenPixelsInclusive() != 4)
			{
				throw new System.NotSupportedException("span_image_filter_rgba must have a 32 bit DestImage");
			}
		}
		public span_image_filter_rgba_bilinear_float(IImageBufferAccessorFloat src, ISpanInterpolatorFloat inter)
			: base(src, inter, null)
		{
		}
Exemplo n.º 6
0
		public void interpolator(ISpanInterpolatorFloat v)
		{
			m_interpolator = v;
		}
Exemplo n.º 7
0
		public span_image_filter_float(IImageBufferAccessorFloat src,
			ISpanInterpolatorFloat interpolator, IImageFilterFunction filterFunction)
		{
			m_ImageBufferAccessor = src;
			m_interpolator = interpolator;
			m_filterFunction = filterFunction;
			m_dx_dbl = (0.5f);
			m_dy_dbl = (0.5f);
		}
Exemplo n.º 8
0
		public span_image_filter_float(IImageBufferAccessorFloat src,
			ISpanInterpolatorFloat interpolator)
			: this(src, interpolator, null)
		{
		}