From MistiWiki
Jump to: navigation, search

Files contained in BC.zip[edit]

This is a simplified explanation of the files contained in the zip file. No dependencies are listed as they are easily found by opening the files and looking at the #include statements. The files are relatively well annotated and further details of their operation may be found by reviewing those notes.

AF Analyze.jsx - Performs a aggregate fraction calculation on a high resolution scan of a polished slab. Analyst tells program whether cross hairs are on aggregate in smaller portions of the overall scanned image.

BC Analyze Prepared Images txt only.jsx - Analyzes all of the prepared image text files in a selected folder. Requires all of the files generated by BC Set White Balance and BC Analyze but DOES NOT require any images (the original tifs scanned). Very handy tool that allows working with the much smaller text files.

BC Analyze Prepared Images.jsx - [Deprecated] Analyzes all of the prepared images in a folder, requiring all of the files as above AND the original tif scanned images.

BC Analyze.jsx - Script run after BC Set White Balance that actually performs the analysis of the scanned image and generates output.

BC Optimize.jsx - Script used for optimizing the threshold and air correction factor for your setup. It iteratively processes all of the prepared (white balance and analyzed) images in a folder, adjusting the threshold to converge upon a void frequency closest to that determined manually for each slab. The air correction factor is then determined by a similar convergence routine using the optimized threshold. The latest version also allows determination of an optimum air content threshold. Both routines should be run on your sample images as application of the air content correction has proven to be a bit problematic.

BC Process By Depth.jsx - Reprocesses previously analyzed images in the selected folder by collecting more traverses and doing an analysis by depth.

BC Process By Depth.jsx - Produces a single csv report from all of the property files within a selected folder. Useful for producing tables containing data from a collection of samples.

BC Pub Ready Analysis Selection.jsx - Creates jpg images of the analysis areas at a user-selectable resolution from all previously analyzed images in the selected folder.

BC Pub Ready Entire Image.jsx - Creates jpg images of the entire scanned image at a user-selectable resolution from all previously analyzed images in the selected folder.

BC Set White Balance.jsx - Script used to determine the range of contrast for every scanned image. This is the first script run upon starting analysis. It analyzes each pixel in an area selected on the white balance card, locating low and high range maximum intensity populations. These values are subsequently used to normalize the contrast of the analysis area.

BC_Tester.jsx - Intended to test operation of different methods and properties of BubbleCounter.jsxinc.

AggFraction.jsxinc - An include file (hence the inc part of the extension) that encapsulates methods and properties for conducting the aggregate fraction calculation.

BC_Classes/ASTMC457.jsxinc - An include file that contains the rules regarding area to be analyzed as related to aggregate topsize.

BC_Classes/BC_Defaults.jsxinc - An include file that contains the default threshold and air correction factors that should be optimized for your setup. It will be written automatically if you so choose upon completion of optimization.

BC_Classes/BubbleCounter.jsxinc - An include file that contains the classes responsible for the heavy lifting with regards to white balance and analysis.

BC_Classes/Chord.jsxinc - Class that encapsulates properties and methods of air void chords intercepted during analysis.

BC_Classes/OptimizerEntries.jsxinc - Class that encapsulates properties and methods of the optimizer_entries.csv files used by the optimization script.

BC_Classes/PropertyFile.jsxinc - Class that encapsulates properties and methods of the _props.csv files generated by the white balance script and augmented by the analyze script.

BC_Classes/ThresholdOptimizer.jsxinc - Class encapsulating methods used to optimize threshold and air correction factor for your setup.