- Timestamp:
- 01/04/12 19:27:22 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/projects/flow-cytometry/src/main/java/loci/apps/flow/FlowCytometry.java
r7852 r7863 195 195 } 196 196 197 //ajeet198 public static int[] getBFParticleAreas(){199 IJ.runPlugIn("flow bfParticleAreas", null);200 201 RoiManager rm = RoiManager.getInstance();202 int lenghtOfRoiTable =rm.getRoisAsArray().length;203 int[] retVal = new int[lenghtOfRoiTable];204 205 for (int i = 0; i < lenghtOfRoiTable; i++){206 retVal[i] = Integer.parseInt(IJ.runMacro("getResults(\"Area\", i)", null));207 }208 209 return retVal;210 }211 197 212 198 /* … … 647 633 return micronAreas; 648 634 } 649 635 650 636 //ajeet 651 public static int[] getBrightfieldMicronAreas(){ 652 //TO DO get particle areas in brightfield and return 653 //area of those areas in microns 654 655 return null; 656 } 637 public static int[] getBFParticleAreas(){ 638 IJ.runPlugIn("flow bfParticleAreas", null); 639 640 RoiManager rm = RoiManager.getInstance(); 641 int lenghtOfRoiTable =rm.getRoisAsArray().length; 642 int[] retVal = new int[lenghtOfRoiTable]; 643 644 for (int i = 0; i < lenghtOfRoiTable; i++){ 645 retVal[i] = Integer.parseInt(IJ.runMacro("getResults(\"Area\", i)", null)); 646 } 647 648 return retVal; 649 } 650 657 651 658 652 private static boolean addParticle(Particle particle) {
Note: See TracChangeset
for help on using the changeset viewer.