// triples are (332 index, range (pixel count), weight) static double imageAnalysis_332parameterScore(LT3<Int, FourPointsRange, Double> parameters, RGBImage img) { int[] histogram = histogram332_array(img); double score = 0; for (T3<Int, FourPointsRange, Double> t : parameters) score += t.c*fourPointRangeScore(t.b, histogram[t.a]); ret score; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022913 |
Snippet name: | imageAnalysis_332parameterScore |
Eternal ID of this version: | #1022913/3 |
Text MD5: | b429577ce14c127abe4804a7bb00c53d |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-14 21:23:11 |
Source code size: | 365 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 302 / 320 |
Version history: | 2 change(s) |
Referenced in: | [show references] |