python_scribbles/slideTree.py
def _run_image(self, associated=None):
        """Run a single image from self._slide."""
        if associated is None:
            image = self._slide
            if self._with_viewer:
                basename = os.path.join(self._basename, VIEWER_SLIDE_NAME)
            else:
                basename = self._basename
        else:
            image = ImageSlide(self._slide.associated_images[associated])
            basename = os.path.join(self._basename, self._slugify(associated))
        dz = DeepZoomGenerator(image, self._tile_size, self._overlap,
                    limit_bounds=self._limit_bounds)
        tiler = DeepZoomImageTiler(dz, basename, self._format, associated,
                    self._queue)
        tiler.run()
        self._dzi_data[self._url_for(associated)] = tiler.get_dzi()
Run a single image from self._slide.
Run a single image from self._slide.
Run a single image from self . _slide .
def _run_image(self, associated=None):
        if associated is None:
            image = self._slide
            if self._with_viewer:
                basename = os.path.join(self._basename, VIEWER_SLIDE_NAME)
            else:
                basename = self._basename
        else:
            image = ImageSlide(self._slide.associated_images[associated])
            basename = os.path.join(self._basename, self._slugify(associated))
        dz = DeepZoomGenerator(image, self._tile_size, self._overlap,
                    limit_bounds=self._limit_bounds)
        tiler = DeepZoomImageTiler(dz, basename, self._format, associated,
                    self._queue)
        tiler.run()
        self._dzi_data[self._url_for(associated)] = tiler.get_dzi()
def _run_image ( self , associated = None ) : if associated is None : image = self . _slide if self . _with_viewer : basename = os . path . join ( self . _basename , VIEWER_SLIDE_NAME ) else : basename = self . _basename else : image = ImageSlide ( self . _slide . associated_images [ associated ] ) basename = os . path . join ( self . _basename , self . _slugify ( associated ) ) dz = DeepZoomGenerator ( image , self . _tile_size , self . _overlap , limit_bounds = self . _limit_bounds ) tiler = DeepZoomImageTiler ( dz , basename , self . _format , associated , self . _queue ) tiler . run ( ) self . _dzi_data [ self . _url_for ( associated ) ] = tiler . get_dzi ( )
Run a single image from self._slide.
Run a single image from self . _slide .
"""Run a single image from self._slide."""
self
associated