Examples of Image


Examples of gaia.cu1.tools.util.Image

    String[] arguments = {GBIN_STELLAR, "newDataOutput/erase.txt", "newDataOutput/erase2.txt"};
    UMGbin2AsciiAdapter.main( arguments );
   
    // BAM fringe generator
    BamFringeGeneratorImpl bamFringeGenerator = new BamFringeGeneratorImpl();
    Image bamImage;
    bamImage = bamFringeGenerator.getFringe(0);
    bamImage.saveToFits("newDataOutput/bamImageRef.fits");
    bamImage = bamFringeGenerator.getFringe(286e-9);
    bamImage.saveToFits("newDataOutput/bamImage1Pix.fits");
  }
View Full Code Here

Examples of io.fathom.cloud.compute.api.os.model.Image

        return response;
    }

    private Image toModel(ImageService.Image image, boolean details) {
        Image model = new Image();
        model.id = "" + image.getId();
        model.name = image.getName();

        if (details) {
            model.status = image.getStatus();
View Full Code Here

Examples of io.fathom.cloud.image.api.os.model.Image

    protected Image toModel(ImageService.Image image) {
        return toModel(((ImageImpl) image).getData());
    }

    protected Image toModel(ImageData data) {
        Image image = new Image();

        image.isPublic = data.getIsPublic();
        if (data.getIsPublic()) {
            image.visibility = "public";
        } else {
View Full Code Here

Examples of io.fathom.cloud.services.ImageService.Image

        // }
        // }

        try (TempFile tempImage = imageClient.downloadImage(imageUri, imageMetadata)) {
            log.info("Creating image record");
            Image image = imageService.createImage(projectId, metadata);

            log.info("Uploading image data");
            BlobData blobData = BlobData.build(tempImage.getFile());
            image = imageService.uploadData(image, blobData);
View Full Code Here

Examples of javafx.scene.image.Image

     * @return the image
     */
    protected static Image createImage(final File file, final double width, final double height,
        boolean preserveRatio, boolean smooth) {
      try {
      return new Image(new FileInputStream(file), width, height, preserveRatio, smooth);
    } catch (final FileNotFoundException e) {
      throw new RuntimeException(e);
    }
    }
View Full Code Here

Examples of javax.microedition.lcdui.Image

  /* Create prompt alert. */
  public void run() {
    // Due to a quirk on T637 (MIDP 1.0), we need to create a form
    // before the alert or the alert will not be seen.
    Form formAlert = new Form(origCmd.getLabel());
    Image question = UiUtil.getImage("/icons/questionMk.png");
    formAlert.append(question);
    int ix = formAlert.append(new StringItem(null,
          (String)promptCommands.get(origCmd)));
    Command okCmd = UiUtil.getCmdRsc("cmd.ok", Command.OK, 1);
    formAlert.addCommand(okCmd);
View Full Code Here

Examples of javax.tools.diagnostics.image.Image

  /*
   *
   */
  public void testGetInstalledMemory() {

    Image image=getImage();
    long theMemory=0;
    try {
      theMemory = image.getInstalledMemory();
      // TODO test range is acceptable
      assertTrue(0!=theMemory);
    } catch (DataUnavailable e) {
      // DataUnavailable is an acceptable return from getInstalledMemory()
    }
View Full Code Here

Examples of jease.cms.domain.Image

    return text;
  }

  private static Image newImage(String filename, InputStream inputStream)
      throws IOException {
    Image image = new Image();
    image.setId(Filenames.asId(filename));
    image.setTitle(Filenames.asTitle(filename));
    image.setLastModified(new Date());
    image.setContentType(Filenames.asContentType(filename));
    copyStreamToFile(inputStream, image.getFile());
    return image;
  }
View Full Code Here

Examples of jfix.zk.Image

import org.apache.commons.io.FileUtils;

public class NodeViews {

  public static View asType(Node node) {
    return new View(node.getType(), new Row(new Image(JeaseSession
        .getConfig().getIcon(node)), new Label(node.getType())));
  }
View Full Code Here

Examples of jjil.core.Image

    seq.add(new Gray8HistEq());
    seq.add(new Gray8HorizVertContrast(5, 2, -8, 3));
    seq.add(new Gray16Threshold(20));
    seq.push(rgb);
    Gray8ConnComp gcc = new Gray8ConnComp();
    Image imThresh = seq.getFront();
    Gray8Rgb g2r = new Gray8Rgb();
    g2r.push(imThresh);
    if (DetectBarcode.bDebug) {
      Debug debug = new Debug();
      debug.toFile((RgbImage)g2r.getFront(), "test.jpg");
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.