Package marvin.plugin

Examples of marvin.plugin.MarvinImagePlugin


 
 
  private void singleThread()
  {
    processStarTime = System.currentTimeMillis();
    MarvinImagePlugin plgImage = MarvinPluginLoader.loadImagePlugin("org.marvinproject.image.statistical.Maximum.jar");
    plgImage.process(imageIn, imageOut);
    imageOut.update();
    imagePanel.setImage(imageOut);
    labelPerformance.setText("Performance: " + (System.currentTimeMillis() - processStarTime)+ " milliseconds (single Thread)");
    mainFrame.repaint();
  }
View Full Code Here


  private void multiThread()
  {
    processStarTime = System.currentTimeMillis();
   
    //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
View Full Code Here

TOP

Related Classes of marvin.plugin.MarvinImagePlugin

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.