Ejemplo n.º 1
0
        public OpenSlideTiler(string fileName, string outDirectory = "out", string format = "jpeg", int quality = 75,
                              int tileSize = 254, int overlap = 1, bool limitBounds = true)
        {
            this.fileName            = fileName;
            fileNameWithoutExtension = Path.GetFileNameWithoutExtension(fileName);
            slide = new OpenSlide(fileName);

            this.outDirectory = outDirectory;

            this.format  = format;
            this.quality = quality;

            this.tileSize    = tileSize;
            this.overlap     = overlap;
            this.limitBounds = limitBounds;

            deepZoomGenerator         = new DeepZoomWriter(this);
            associatedImagesGenerator = new AssociatedImagesWriter(this);
        }
 static void SetUp()
 {
     dzTiler = new AssociatedImagesWriter(testMIRAX, "out", "png", 100);
     dzTiler.Run();
 }