예제 #1
0
 //--------------------------------------------------------------------
 public span_image_filter_rgb_bilinear_clip(IImageBufferAccessor src,
                                            IColorType back_color,
                                            ISpanInterpolator inter)
     : base(src, inter, null)
 {
     m_OutsideSourceColor = back_color.GetAsRGBA_Bytes();
 }
예제 #2
0
 //--------------------------------------------------------------------
 public span_image_filter_rgb(IImageBufferAccessor src, ISpanInterpolator inter, ImageFilterLookUpTable filter)
     : base(src, inter, filter)
 {
     if (src.SourceImage.GetBytesBetweenPixelsInclusive() != 3)
     {
         throw new System.NotSupportedException("span_image_filter_rgb must have a 24 bit DestImage");
     }
 }
예제 #3
0
 public span_image_resample(IImageBufferAccessor src,
                            ISpanInterpolator inter,
                            ImageFilterLookUpTable filter) : base(src, inter, filter)
 {
     m_scale_limit = (20);
     m_blur_x      = ((int)image_subpixel_scale_e.image_subpixel_scale);
     m_blur_y      = ((int)image_subpixel_scale_e.image_subpixel_scale);
 }
예제 #4
0
 //--------------------------------------------------------------------
 public span_image_resample_rgb(IImageBufferAccessor src,
                                ISpanInterpolator inter,
                                ImageFilterLookUpTable filter) :
     base(src, inter, filter)
 {
     if (src.SourceImage.GetRecieveBlender().NumPixelBits != 24)
     {
         throw new System.FormatException("You have to use a rgb blender with span_image_resample_rgb");
     }
 }
예제 #5
0
 public span_image_filter(IImageBufferAccessor src,
                          ISpanInterpolator interpolator, ImageFilterLookUpTable filter)
 {
     imageBufferAccessor = src;
     m_interpolator      = interpolator;
     m_filter            = (filter);
     m_dx_dbl            = (0.5);
     m_dy_dbl            = (0.5);
     m_dx_int            = ((int)image_subpixel_scale_e.image_subpixel_scale / 2);
     m_dy_int            = ((int)image_subpixel_scale_e.image_subpixel_scale / 2);
 }
예제 #6
0
 public span_image_filter(IImageBufferAccessor src,
     ISpanInterpolator interpolator, ImageFilterLookUpTable filter)
 {
     m_ImageBufferAccessor = src;
     m_interpolator = interpolator;
     m_filter = (filter);
     m_dx_dbl = (0.5);
     m_dy_dbl = (0.5);
     m_dx_int = ((int)image_subpixel_scale_e.image_subpixel_scale / 2);
     m_dy_int = ((int)image_subpixel_scale_e.image_subpixel_scale / 2);
 }
예제 #7
0
        public span_image_filter(IImageBufferAccessor src,
            ISpanInterpolator interpolator)
            : this(src, interpolator, null)
        {

        }
예제 #8
0
 public span_image_resample(IImageBufferAccessor src,
                     ISpanInterpolator inter,
                     ImageFilterLookUpTable filter)
     : base(src, inter, filter)
 {
     m_scale_limit = (20);
     m_blur_x = ((int)image_subpixel_scale_e.image_subpixel_scale);
     m_blur_y = ((int)image_subpixel_scale_e.image_subpixel_scale);
 }
예제 #9
0
 public void attach(IImageBufferAccessor v)
 {
     imageBufferAccessor = v;
 }
예제 #10
0
 //--------------------------------------------------------------------
 public span_image_filter_rgb_nn(IImageBufferAccessor src, ISpanInterpolator inter)
     : base(src, inter, null)
 {
 }
예제 #11
0
 //--------------------------------------------------------------------
 public span_image_resample_rgba(IImageBufferAccessor src,
                     ISpanInterpolator inter,
                     ImageFilterLookUpTable filter) :
     base(src, inter, filter)
 {
     if (src.DestImage.GetBlender().NumPixelBits != 32)
     {
         throw new System.FormatException("You have to use a rgba blender with span_image_resample_rgba");
     }
 }
예제 #12
0
 public span_image_filter_rgba_bilinear_clip(IImageBufferAccessor src,
     IColorType back_color, ISpanInterpolator inter)
     : base(src, inter, null)
 {
     m_OutsideSourceColor = back_color.GetAsRGBA_Bytes();
 }
예제 #13
0
 public span_image_filter_gray_nn_stepXby1(IImageBufferAccessor sourceAccessor, ISpanInterpolator spanInterpolator)
     : base(sourceAccessor, spanInterpolator, null)
 {
 }
		public span_image_filter_rgba_nn(IImageBufferAccessor sourceAccessor, ISpanInterpolator spanInterpolator)
			: base(sourceAccessor, spanInterpolator, null)
		{
		}
예제 #15
0
 //--------------------------------------------------------------------
 public span_image_filter_rgb_2x2(IImageBufferAccessor src, ISpanInterpolator inter, ImageFilterLookUpTable filter)
     : base(src, inter, filter)
 {
 }
예제 #16
0
 public void attach(IImageBufferAccessor v) { m_ImageBufferAccessor = v; }
		//--------------------------------------------------------------------
		public span_image_filter_rgb(IImageBufferAccessor src, ISpanInterpolator inter, ImageFilterLookUpTable filter)
			: base(src, inter, filter)
		{
			if (src.SourceImage.GetBytesBetweenPixelsInclusive() != 3)
			{
				throw new System.NotSupportedException("span_image_filter_rgb must have a 24 bit DestImage");
			}
		}
예제 #18
0
 public span_image_filter_rgba_bilinear(IImageBufferAccessor src, ISpanInterpolator inter)
     : base(src, inter, null)
 {
 }
		//--------------------------------------------------------------------
		public span_image_filter_rgb_2x2(IImageBufferAccessor src, ISpanInterpolator inter, ImageFilterLookUpTable filter)
			: base(src, inter, filter)
		{
		}
		public span_image_filter_gray_nn_stepXby1(IImageBufferAccessor sourceAccessor, ISpanInterpolator spanInterpolator)
			: base(sourceAccessor, spanInterpolator, null)
		{
		}
예제 #21
0
 public span_image_filter(IImageBufferAccessor src,
                          ISpanInterpolator interpolator)
     : this(src, interpolator, null)
 {
 }