Package com.meapsoft

Examples of com.meapsoft.FeatFile


    // parse arguments
    int ind = opt.getOptind();
    if (ind > args.length)
      printUsageAndExit();

    featFile = new FeatFile(args[args.length - 1]);
    outFile = new EDLFile(outFileName);

    System.out.println("Composing " + outFileName + " from "
        + args[args.length - 1] + ".");
  }
View Full Code Here


  double thresholdBottom = 25.0;
  boolean insideThreshold = true;
 
  public ThresholdComposer(String featFN, String outFN, double thresholdTop, double thresholdBottom, boolean insideThreshold)
  {
    this(new FeatFile(featFN), new EDLFile(outFN), thresholdTop, thresholdBottom, insideThreshold);
  }
View Full Code Here

    // parse arguments
    int ind = opt.getOptind();
    if(ind > args.length)
      printUsageAndExit();
       
    featFile = new FeatFile(args[args.length-1]);
    outFile = new EDLFile(outFileName);

    System.out.println("Composing " + outFileName +
               " from " +  args[args.length-1] + ".");
  }
View Full Code Here

    this(featFN, DBFN, outFN, new EuclideanDist());
  }

  public MashupComposer(String featFN, String DBFN, String outFN, ChunkDist cd)
  {
    this(new FeatFile(featFN), new FeatFile(DBFN), new EDLFile(outFN), cd);
  }
View Full Code Here

    // parse arguments
    int ind = opt.getOptind();
    if (ind > args.length)
      printUsageAndExit();

    dstFile = new FeatFile(args[args.length - 2]);
    DBFile = new FeatFile(args[args.length - 1]);
    outFile = new EDLFile(outFileName);

    System.out.println("Composing " + outFileName + " from "
        + args[args.length - 2] + " (chunk db: "
        + args[args.length - 1] + ").");
View Full Code Here

    // System.out.println("dataDirectory: " + dataDirectory);

    // if we just pass the fF that was passed to us there's a strange bug
    // were the featureDescriptions occure twice...
    if (featFileName != null)
      aTFs = processPassedFF(new FeatFile(featFileName));//fF.filename));
    else
      // we weren't passed anything in our constructor
      aTFs = selectATFF();

    buildGUI();
View Full Code Here

        frame);

    if (names[0] == null)
      return null;

    FeatFile fF = new FeatFile(names[0]);
    return processPassedFF(fF);
  }
View Full Code Here

   
    numDrawableFeatures = 1;
    setProgress(new DefaultBoundedRangeModel());
   
    String fileName = args[args.length - 1];
    FeatFile fF = null;
    EDLFile eF = null;
   
    String featName = "ChunkLength";//args[args.length-1];
   
    try
    {
      fF = new FeatFile(fileName);
      fF.readFile();
     
      if (edlFileName != null)
      {
        System.out.println("making EDLFile from " + edlFileName);
        eF = new EDLFile(edlFileName);
View Full Code Here

   
    numDrawableFeatures = -1;
    setProgress(new DefaultBoundedRangeModel());
   
    String fileName = args[args.length - 2];
    FeatFile fF = null;
    EDLFile eF = null;
   
    String featName = args[args.length-1];
   
    try
    {
      fF = new FeatFile(fileName);
      fF.readFile();
     
      if (edlFileName != null)
      {
        System.out.println("making EDLFile from " + edlFileName);
        eF = new EDLFile(edlFileName);
View Full Code Here

      System.exit(-1);
    }

    final String featFileName = args[0];
    final String eDLFileName = args[1];
    final FeatFile fF = new FeatFile(featFileName);
    final EDLFile eDLF = new EDLFile(eDLFileName);
    // Schedule a job for the event-dispatching thread:
    // creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable()
    {
      public void run()
      {
        JFrame frame = new JFrame("FeatsToEDLPanel");

        try
        {
          fF.readFile();
          eDLF.readFile();
         
          //EDLChunk eC = (EDLChunk)eDLF.chunks.elementAt(0);
          //System.out.println("chunk 0: sT: " + eC.startTime + " dT: " + eC.dstTime);
        }
View Full Code Here

TOP

Related Classes of com.meapsoft.FeatFile

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.