Package ij.process

Examples of ij.process.ImageProcessor.drawString()


          ip.setFont(font);
          float[] hsb = Color.RGBtoHSB(c.getRed(), c.getGreen(), c
              .getBlue(), null);
          ip.setColor(Color.getHSBColor(255, 255, 255 - hsb[2]));
          ip.moveTo(x, y);
          ip.drawString(s);
        }
      } else if (cz.DimensionTime != 1) {
        for (int slicez = 1; slicez <= cz.DimensionZ; slicez++) {
          IJ.showStatus("MinMax: " + slicez + "/"
              + cz.DimensionZ);
View Full Code Here


            ip.setFont(font);
            float[] hsb = Color.RGBtoHSB(c.getRed(), c.getGreen(),
                c.getBlue(), null);
            ip.setColor(Color.getHSBColor(255, 255, 255 - hsb[2]));
            ip.moveTo(x, y);
            ip.drawString(s);
          }
        }
      }
    }
    imp.updateAndRepaintWindow();
View Full Code Here

        ip.setFont(font);
        float[] hsb = Color.RGBtoHSB(c.getRed(), c.getGreen(), c
            .getBlue(), null);
        ip.setColor(Color.getHSBColor(255, 255, 255 - hsb[2]));
        ip.moveTo(x, y);
        ip.drawString(s);
      }

    } else if ((cz.DimensionTime != 1)
        && (cz.DimensionZ != 1)) {
      for (int slicet = 1; slicet <= cz.DimensionTime; slicet++) {
View Full Code Here

          ip.setFont(font);
          float[] hsb = Color.RGBtoHSB(c.getRed(), c.getGreen(), c
              .getBlue(), null);
          ip.setColor(Color.getHSBColor(255, 255, 255 - hsb[2]));
          ip.moveTo(x, y);
          ip.drawString(s);

        }
      }
    }
    imp.updateAndRepaintWindow();
View Full Code Here

      ip.setFont(font);
      float[] hsb = Color.RGBtoHSB(c.getRed(), c.getGreen(), c.getBlue(),
          null);
      ip.setColor(Color.getHSBColor(255, 255, 255 - hsb[2]));
      ip.moveTo(x, y);
      ip.drawString(s);
    }
    imp.updateAndRepaintWindow();
  }

  public boolean isPluginInstalled(String className) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.