Ignore:
Timestamp:
2015-02-20T16:48:34+13:00 (9 years ago)
Author:
davidb
Message:

Fixed position/test for a console.log statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/similarity-2d/flag-processing.js

    r29628 r29757  
    1515
    1616function drawImage(imageObj, canvasId) {
    17     "use strict";
    1817    var imgCanvas = document.getElementById(canvasId),
    1918        context, imageData, data,
     
    325324        var stored_hist_array = JSON.parse(localStorage["quantHSLHistogramArray"]);
    326325        if (stored_hist_array.length == img_list.length) {
    327         console.log("Different number of images detected => regenerating");
    328 
    329326        // Assume if the number of images process hasn't changed, then neither
    330327        // has the stored historgram values
     
    342339        needToComputeHistograms = false;
    343340        }
     341        else {
     342        console.log("Different number of images detected => regenerating");
     343        }
    344344    }
    345345    }
     
    353353    doneComputingHistograms(img_list.length);
    354354    }
    355 
    356 
    357 
    358 }
     355}
     356
     357function rankBySimilarity(imageData,x_dim,y_dim)
     358{
     359    // quantizedColourHistogramComparison(quant_colour_hist1,quant_colour_hist2)
     360
     361}
Note: See TracChangeset for help on using the changeset viewer.