Tabnine Logo
ImagePlusImg.getImagePlus
Code IndexAdd Tabnine to your IDE (free)

How to use
getImagePlus
method
in
net.imglib2.img.imageplus.ImagePlusImg

Best Java code snippets using net.imglib2.img.imageplus.ImagePlusImg.getImagePlus (Showing top 9 results out of 315)

origin: fiji/Stitching

final ImagePlus outImp = ((ImagePlusImg<?,?>)outputSlice).getImagePlus();
final FileSaver fs = new FileSaver( outImp );
fs.saveAsTiff( new File( outputDirectory, "img_t" + lz( t, numTimePoints ) + "_z" + lz( slice+1, numSlices ) + "_c" + lz( c, numChannels ) ).getAbsolutePath() );
origin: fiji/Stitching

fusionImp[0] = ((ImagePlusImg<?, ?>) output).getImagePlus();
fusionImp[0].setTitle("fusing...");
fusionImp[0].show();
origin: fiji/Stitching

try 
  final ImagePlus outImp = ((ImagePlusImg<?,?>)out).getImagePlus();
  for ( int z = 1; z <= out.dimension( 2 ); ++z )
    stack.addSlice( imp.getTitle(), outImp.getStack().getProcessor( z ) );
origin: fiji/Stitching

fusionImp = ((ImagePlusImg<?, ?>) output).getImagePlus();
fusionImp.setTitle( "fusing..." );
fusionImp.show();
origin: net.preibisch/multiview-reconstruction

@SuppressWarnings("unchecked")
public static < T extends RealType< T > & NativeType< T > > ImagePlus getImagePlusInstance(
    final RandomAccessibleInterval< T > img,
    final boolean virtualDisplay,
    final String title,
    final double min,
    final double max )
{
  ImagePlus imp = null;
  if ( img instanceof ImagePlusImg )
    try { imp = ((ImagePlusImg<T, ?>)img).getImagePlus(); } catch (ImgLibException e) {}
  if ( imp == null )
  {
    if ( virtualDisplay )
      imp = ImageJFunctions.wrap( img, title, DeconViews.createExecutorService() );
    else
      imp = ImageJFunctions.wrap( img, title, DeconViews.createExecutorService() ).duplicate();
  }
  final double[] minmax = getFusionMinMax( img, min, max );
  imp.setTitle( title );
  imp.setDimensions( 1, (int)img.dimension( 2 ), 1 );
  imp.setDisplayRange( minmax[ 0 ], minmax[ 1 ] );
  return imp;
}
origin: sc.fiji/blockmatching_

img.getImagePlus().show();
origin: sc.fiji/blockmatching_

try
  impVis = img.getImagePlus();
  ipVis = ( ColorProcessor )impVis.getProcessor();
  while ( ipVis.getWidth() > meshResolution * minGridSize )
origin: fiji/Stitching

final ImagePlus outImp = ((ImagePlusImg<?, ?>)out).getImagePlus();
for ( int z = 1; z <= out.dimension( 2 ); ++z )
  stack.addSlice( "", outImp.getStack().getProcessor( z ) );
origin: fiji/Stitching

final ImagePlus outImp = ((ImagePlusImg<?,?>)out).getImagePlus();
for ( int z = 1; z <= out.dimension( 2 ); ++z )
  stack.addSlice( imp.getTitle(), outImp.getStack().getProcessor( z ) );
net.imglib2.img.imageplusImagePlusImggetImagePlus

Popular methods of ImagePlusImg

  • <init>
    Standard constructor as called by default factories.Note that this constructor does not know about t
  • cursor
  • reduceDimensions

Popular in Java

  • Making http requests using okhttp
  • setContentView (Activity)
  • getApplicationContext (Context)
  • startActivity (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now