Show
Ignore:
Timestamp:
20.02.2015 16:48:34 (5 years ago)
Author:
davidb
Message:

Fixed position/test for a console.log statement

Files:
1 modified

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}