congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Channel.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mpicbg.spim.data.sequence.Channel
constructor

Best Java code snippets using mpicbg.spim.data.sequence.Channel.<init> (Showing top 19 results out of 315)

origin: net.preibisch/multiview-simulation

public static ArrayList< ViewSetup > createViewSetupsFromImgLoader(SimulatedBeadsImgLoader2 imgLoader)
{
  final ArrayList< ViewSetup > viewSetups = new ArrayList< ViewSetup >();
  SimulateBeads2 sb = imgLoader.getSimulateBeads();
  int vid = 0;
    for (int a : new ArrayList<>(sb.angleTransforms.keySet()).stream().sorted().collect( Collectors.toList() ))
      for (int channel : new ArrayList<>(sb.channelTransforms.keySet()).stream().sorted().collect( Collectors.toList() ))
        for (int illum : new ArrayList<>(sb.illumTransforms.keySet()).stream().sorted().collect( Collectors.toList() ))
          for (int tile : new ArrayList<>(sb.tileTransforms.keySet()).stream().sorted().collect( Collectors.toList() ))
          {
            final VoxelDimensions voxelSize = new FinalVoxelDimensions( "pixels", 1, 1, 1 );
            final Dimensions dim = imgLoader.getSimulateBeads().getImg( 0, a, channel, tile, illum );
            
            viewSetups.add( new ViewSetup( vid++, Integer.toString( vid ), dim, voxelSize, new Tile(tile), new Channel(channel), new Angle(a), new Illumination(illum) ) );
          }
  
  return viewSetups;
}
  
origin: net.preibisch/multiview-reconstruction

protected ArrayList< ViewSetup > createViewSetups( final DHMMetaData meta )
{
  final ArrayList< Channel > channels = new ArrayList< Channel >();
  channels.add( new Channel( meta.getAmpChannelId(), meta.getAmplitudeDir() ) );
  channels.add( new Channel( meta.getPhaseChannelId(), meta.getPhaseDir() ) );
  final ArrayList< Illumination > illuminations = new ArrayList< Illumination >();
  illuminations.add( new Illumination( 0, String.valueOf( 0 ) ) );
  final ArrayList< Angle > angles = new ArrayList< Angle >();
  angles.add( new Angle( 0, String.valueOf( 0 ) ) );
  final ArrayList< ViewSetup > viewSetups = new ArrayList< ViewSetup >();
  for ( final Channel c : channels )
    for ( final Illumination i : illuminations )
      for ( final Angle a : angles )
      {
        final VoxelDimensions voxelSize = new FinalVoxelDimensions( meta.calUnit, meta.calX, meta.calY, meta.calZ );
        final Dimensions dim = new FinalDimensions( new long[]{ meta.getWidth(), meta.getHeight(), meta.getDepth() } );
        viewSetups.add( new ViewSetup( viewSetups.size(), null, dim, voxelSize, c, a, i ) );
      }
  return viewSetups;
}
origin: net.preibisch/multiview-reconstruction

channels.add( new Channel( c, channelNameList.get( c ) ) );
origin: net.preibisch/multiview-simulation

public static ArrayList< ViewSetup > createViewSetups( final int[] rotations, final int rotationAxis, final Interval range )
  channels.add( new Channel( 0, "Channel1" ) );
origin: net.preibisch/multiview-reconstruction

channelList.add( new Channel( c, channelNameList.get( c ) ) );
origin: net.preibisch/multiview-reconstruction

e = new Channel( 0 );
viewSetup.setAttribute( e );
origin: net.preibisch/multiview-reconstruction

channels.add( new Channel( c, meta.channelName( c ) ) );
origin: sc.fiji/bigdataviewer-core

if ( channel == null )
  channel = new Channel( channelId );
  channels.put( channelId, channel );
origin: net.preibisch/multiview-reconstruction

channels.add( new Channel( c, meta.channels()[ c ] ) );
origin: net.preibisch/multiview-reconstruction

Channel chI = new Channel( channelId, channelId.toString() );
origin: sc.fiji/bigdataviewer_fiji

final VoxelDimensions voxelSize = fusionLoader.getSetupImgLoader( setupId ).getVoxelSize( timepointId );
final BasicViewSetup setup = new BasicViewSetup( setupId, name, size, voxelSize );
setup.setAttribute( new Channel( channels.get( setupId ) ) );
setups.add( setup );
origin: net.preibisch/multiview-reconstruction

channels.add( new Channel( c, meta.channelName( c ) ) );
origin: net.preibisch/multiview-reconstruction

channels.add( new Channel( c, meta.channels()[ c ] ) );
origin: sc.fiji/bigdataviewer_fiji

final Channel channel = new Channel( conf.channels[ channelIndex ] );
final Angle angle = new Angle( conf.angles[ angleIndex ] );
final Illumination illumination = new Illumination( conf.illuminations[ illuminationIndex ] );
origin: sc.fiji/bigdataviewer_fiji

for ( final ChannelInfo channelInfo : channelInfos )
  final Channel channel = new Channel( channelInfo.channelNumber );
  final Dimensions size = new FinalDimensions( new int[] {
      channelInfo.width,
origin: net.preibisch/multiview-reconstruction

new FinalVoxelDimensions( "px", new double[] { downsampling, downsampling, downsampling * anisoF } ),
new Tile( 0 ),
new Channel( 0 ),
new Angle( 0 ),
new Illumination( 0 ) ) );
origin: sc.fiji/bigdataviewer_fiji

setup.setAttribute( new Channel( s + 1 ) );
setups.put( s, setup );
origin: net.preibisch/multiview-reconstruction

new FinalVoxelDimensions( "px", Util.getArrayFromValue( downsampling, 3 ) ),
new Tile( newTileId ),
new Channel( newChannelId ),
new Angle( newAngleId ),
new Illumination( newIllumId ) ) );
origin: sc.fiji/bigdataviewer_fiji

setup.setAttribute( new Channel( s + 1 ) );
setups.put( s, setup );
mpicbg.spim.data.sequenceChannel<init>

Popular methods of Channel

  • getId
  • getName
  • equals
  • setName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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