コード例 #1
0
 public DefaultImageTranslator(final LegacyService legacyService) {
   setContext(legacyService.getContext());
   colorDisplayCreator = new ColorDisplayCreator(legacyService);
   grayDisplayCreator = new GrayDisplayCreator(legacyService);
   colorImagePlusCreator = new ColorImagePlusCreator(imageDisplayService);
   grayImagePlusCreator = new GrayImagePlusCreator(legacyService);
 }
コード例 #2
0
 public ColorDisplayCreator(final LegacyService legacyService) {
   setContext(legacyService.getContext());
   pixelHarmonizer = new ColorPixelHarmonizer();
   colorTableHarmonizer = new ColorTableHarmonizer(imageDisplayService);
   metadataHarmonizer = new MetadataHarmonizer();
   compositeHarmonizer = new CompositeHarmonizer();
   overlayHarmonizer = new OverlayHarmonizer(legacyService);
   positionHarmonizer = new PositionHarmonizer();
   nameHarmonizer = new NameHarmonizer();
 }