Package marvin.image

Examples of marvin.image.MarvinImageMask


      if ( e.getSource() == menu.get(i) ) {
        imageBkp = image.clone();
       
        attr = new MarvinAttributes();
       
        mask = new MarvinImageMask(100,100);
        System.out.println(mask.getMaskArray());
       
        if ( menu.get(i).getText() == "Reset" ) {
          imagePanel.setImage(image);
        }
View Full Code Here


    //load Plug-ings
    MarvinImagePlugin plgImage1 = MarvinPluginLoader.loadImagePlugin("org.marvinproject.image.statistical.Maximum.jar");
    MarvinImagePlugin plgImage2 = MarvinPluginLoader.loadImagePlugin("org.marvinproject.image.statistical.Maximum.jar");
   
    //create masks
    MarvinImageMask mask1 = new MarvinImageMask(
      imageIn.getWidth(),    // width
      imageIn.getHeight()// height
      0,             // x-start
      0,             // y-start
      imageIn.getWidth(),    // region's width
      imageIn.getHeight() /// region's height
    );
   
    MarvinImageMask mask2 = new MarvinImageMask(
      imageIn.getWidth(),    // width
      imageIn.getHeight(),   // height
      0,             // x-start
      imageIn.getHeight() / 2, // y-start
      imageIn.getWidth(),     // region's width
View Full Code Here

TOP

Related Classes of marvin.image.MarvinImageMask

Copyright © 2018 www.massapicom. 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.