ij.ImageJ.main()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(6.3k)|赞(0)|评价(0)|浏览(173)

本文整理了Java中ij.ImageJ.main()方法的一些代码示例,展示了ImageJ.main()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ImageJ.main()方法的具体详情如下:
包路径:ij.ImageJ
类名称:ImageJ
方法名:main

ImageJ.main介绍

暂无

代码示例

代码示例来源:origin: sc.fiji/TrackMate_

public static void main( final String[] args )
  {
    ImageJ.main( args );
    new ManualTrackingPlugIn_().run( "samples/Merged.tif" );
  }
}

代码示例来源:origin: sc.fiji/bigdataviewer_fiji

public static void main( final String[] args )
  {
    ImageJ.main( args );
    new BigDataBrowserPlugIn().run();
  }
}

代码示例来源:origin: sc.fiji/TrackMate_

public static void main( final String[] args )
{
  ImageJ.main( args );
  new TrackMatePlugIn_().run( "samples/FakeTracks.tif" );
}

代码示例来源:origin: sc.fiji/bigdataviewer_fiji

public static void main( final String[] args )
{
  ImageJ.main( args );
  new OpenImarisPlugIn().run();
}
@Override

代码示例来源:origin: fiji/TrackMate

public static void main( final String[] args )
{
  ImageJ.main( args );
  new TrackMatePlugIn_().run( "samples/FakeTracks.tif" );
}

代码示例来源:origin: sc.fiji/TrackMate_

public static void main( final String[] args )
{
  ImageJ.main( args );
  final LoadTrackMatePlugIn_ plugIn = new LoadTrackMatePlugIn_();
  plugIn.run( "samples/FakeTracks.xml" );
}

代码示例来源:origin: fiji/TrackMate

public static void main( final String[] args )
  {
    ImageJ.main( args );
    new ManualTrackingPlugIn_().run( "samples/Merged.tif" );
  }
}

代码示例来源:origin: sc.fiji/bigdataviewer_fiji

public static void main( final String[] args )
  {
    ImageJ.main( args );

    final ExportCellVoyagerPlugIn plugin = new ExportCellVoyagerPlugIn();
    final File file = new File( "/Users/tinevez/Desktop/Data/1_7_6_1_2/20130703T145244/" );
    plugin.setSourcePath( file.getAbsolutePath() );
    plugin.run();
  }
}

代码示例来源:origin: fiji/TrackMate

public static void main( final String[] args )
{
  ImageJ.main( args );
  final LoadTrackMatePlugIn_ plugIn = new LoadTrackMatePlugIn_();
  plugIn.run( "samples/FakeTracks.xml" );
}

代码示例来源:origin: fiji/TrackMate

public static void main( final String[] args )
{
  ImageJ.main( args );
  new TrackMateRunner_().run(
      "use_gui=false "
          + "save_to=[/Users/tinevez/Desktop/TrackMateSaveTest.xml] "
          + "export_to=[/Users/tinevez/Desktop/TrackMateExportTest.xml] "
          + "image_path=[samples/FakeTracks.tif] "
          + "display_results=true "
          + "radius=2.5 "
          + "threshold=50.1 "
          + "subpixel=false "
          + "median=false "
          + "channel=1 "
          + "max_frame_gap=0 "
          + "paf!=pif!" );
}

代码示例来源:origin: ijpb/MorphoLibJ

/**
 * Main method to test and debug the watershed
 *  
 * @param args
 */
public static void main( final String[] args )
{
  ImageJ.main( args );
  
  IJ.open( Watershed2DTest.class.getResource( "/files/grains.tif" ).getFile() );
  
  new Watershed3DPlugin().run( null );
}

代码示例来源:origin: fiji/TrackMate

public static < T extends NativeType< T > & RealType< T >> void main( final String[] args )
  {
    ImageJ.main( args );
    new RadiusEstimatorTest< T >().exampleEstimation();
  }
}

代码示例来源:origin: fiji/TrackMate

public static void main(String[] args) {
    
    ImageJ.main(args);
    LoadTrackMatePlugIn_ plugin = new LoadTrackMatePlugIn_();
    plugin.run(null); // launch the GUI;
    
  }
}

代码示例来源:origin: ijpb/MorphoLibJ

/**
 * Main method to test and debug the Morphological
 * Segmentation GUI
 *  
 * @param args
 */
public static void main( final String[] args )
{
  ImageJ.main( args );
  
  IJ.open( MorphologicalSegmentationTest.class.getResource( "/files/grains.tif" ).getFile() );
  
  new MorphologicalSegmentation().run( null );
}

代码示例来源:origin: ijpb/MorphoLibJ

/**
   * Main method to test and debug the Label Edition plugin
   *
   * @param args
   */
  public static void main( final String[] args )
  {
    ImageJ.main( args );
    IJ.open( MorphologicalSegmentationTest.class.getResource( "/files/grains-med-WTH-lbl.tif" ).getFile() );
    new LabelEdition().run( null );
  }
}

代码示例来源:origin: fiji/TrackMate

public static void main( final String[] args )
{
  ImageJ.main( args );
  final KalmanTrackerInteractiveTest3 tester = new KalmanTrackerInteractiveTest3();
  System.out.println( "Straight line with Kalman tracker:" );
  tester.test( tester.createSingleLine() );
}

代码示例来源:origin: fiji/TrackMate

public static void main(final String[] args) {

    ImageJ.main(args);

    final File file = new File(AppUtils.getBaseDirectory(TrackMate.class), "samples/FakeTracks.xml");
    ij.ImageJ.main(args);

    final TmXmlReader reader = new TmXmlReader(file);
    final Model model = reader.getModel();

    model.setLogger(Logger.DEFAULT_LOGGER);
//        System.out.println(model);
//        System.out.println(model.getFeatureModel());

    final TrackMate trackmate = new TrackMate(model, null);

    // Export
    final ExportStatsToIJAction exporter = new ExportStatsToIJAction();
    exporter.execute(trackmate);

  }

代码示例来源:origin: sc.fiji/TrackMate_

public static void main( final String[] args )
  {
    ImageJ.main( args );
    final File file = new File( "/Users/tinevez/Google Drive/Projects/Contacts/raw data/2015-09-17/Trackmate files/SiC + SAg2_1_20_BCells.xml" );
    final LoadTrackMatePlugIn_ loader = new LoadTrackMatePlugIn_();
    loader.run( file.getAbsolutePath() );

    loader.getSettings().imp.setDisplayMode( IJ.GRAYSCALE );

    for ( final TrackMateModelView view : loader.getController().getGuimodel().getViews() )
    {
      view.setDisplaySettings( TrackMateModelView.KEY_TRACK_DISPLAY_DEPTH, 100 );
      view.setDisplaySettings( TrackMateModelView.KEY_TRACK_DISPLAY_MODE, TrackMateModelView.TRACK_DISPLAY_MODE_LOCAL_BACKWARD );
    }

    final TrackMate trackmate = loader.getController().getPlugin();
    new CaptureOverlayAction( loader.getController().getGUI() ).execute( trackmate );
  }
}

代码示例来源:origin: fiji/TrackMate

/**
 * @param args
 */
public static void main(String[] args) {
  System.out.println(ImageJ_3D_Viewer.getJava3DVersion());
  
  File file = new File(AppUtils.getBaseDirectory(TrackMate.class), "samples/FakeTracks.xml");
  ij.ImageJ.main(args);
  
  TmXmlReader reader = new TmXmlReader(file);
  Model model = reader.getModel();
  
  Image3DUniverse universe = new Image3DUniverse();
  universe.show();
  SpotDisplayer3D displayer = new SpotDisplayer3D(model, new SelectionModel(model), universe);
  displayer.render();
  
  displayer.setDisplaySettings(TrackMateModelView.KEY_TRACK_DISPLAY_MODE, TrackMateModelView.TRACK_DISPLAY_MODE_LOCAL);
  displayer.refresh();
  
  System.out.println(universe.getContents());
}

代码示例来源:origin: fiji/TrackMate

/**
 * Interactive test.
 */
public static void main( final String[] args ) throws Exception
{
  final BlobDescriptiveStatisticsTest test = new BlobDescriptiveStatisticsTest();
  test.setUp();
  final Spot tmpSpot = new Spot( CENTER[ 0 ], CENTER[ 1 ], CENTER[ 2 ], RADIUS, -1d );
  final SpotNeighborhood< UnsignedShortType > disc = new SpotNeighborhood< >( tmpSpot, test.img2D );
  for ( final UnsignedShortType pixel : disc )
  {
    pixel.set( 1500 );
  }
  ij.ImageJ.main( args );
  net.imglib2.img.display.imagej.ImageJFunctions.show( test.img2D );
}

相关文章