Package ij.process

Examples of ij.process.ImageProcessor.moveTo()


          ip = stack.getProcessor(slice);
          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 + "/"
View Full Code Here


                    * (slicet - 1) + slicez);
            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);
          }
        }
      }
    }
View Full Code Here

        ip = stack.getProcessor(slice);
        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)) {
View Full Code Here

                  * (slicet - 1) + slicez);
          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);

        }
      }
    }
View Full Code Here

      ip = stack.getProcessor(slice);
      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

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.