-
Defaulting to ClusterID did not make much sense, since the key being indexed is in fact the ground truth, not the cluster labels (cluster labels are stored as indices in a csv file, not a gallery). Also, use Format to read similarity matrices instead of assuming mtx is in use.
-
This reverts commit 724fe0c5d16ceac690b22a1166ee611cfbf14f16.
-
Fix outdated copyright year (update to 2014)
-
Should have been zooming, rather than scaling the axis
-
The copyright year was out of date. Copyright notices must reflect the current year. This commit updates the listed year to 2014. see: http://www.copyright.gov/circs/circ01.pdf for more info
-
Compare changes
-
Add explicit multi-process support to enroll and compare, if -multiProcess true is specified, ProcessWrapper will be attached to the current algorithm in enrollment and comparison (causing the job to be distributed over multiple br processes instead of using multi-threading). This is desirable since putting ProcessWrapper directly on algorithms leads to some compositionality problems (it's very undesirable to have nested process wrappers). One drawback is that in multi-process mode, altcompare has to write the explicitly enrolled gallery to a file (instead of using a memGallery) since the slave processes obviously don't have a shared memory space. A better approach might be to have processWrapper serialize and transmit its transform (instead of constructing it), but even that won't work directly since transforms often rely on reconstructing data from other files even if serialized.
-
Adds an emptyRead method that reads just the metadata from a gallery and drops the matrices. Modify pairwiseCompare to set blockSize directly on its output rather than messing with Globals->blockSize Add an alternate version of compare, which defines the comparison through the Transform hierarchy rather than using distance directly.
-
OutputTransform takes inputs suitable for an output (Output specification, target adn query galleries), and expects to receive rows of a comparison matrix on incoming templates. OutputTransform supports receiving either rows one at a time, or columsn one at a time (via the transposeMode flag).
-
Take an algorithm description as input for the distance, ideally we would support inputting an algorithm or just a distance string, but currently that seems infeasible (no recovery if we fail to create something).
-
…available frames from them
-
For galleries, add a property to Gallery indicating the number of templates that will be read per block (for galleries that do incremental reads--really just galGallery and memGallery). For outputs, add two properties indicating the rows and columns of blocks to use (i.e. support non-square output blocks). For both classes, default these properties to Globals->blockSize