Transpiled version (68532L) is out of date.
concept G22PointOfInterest > ConceptWithChangeListeners { S imageMD5; Pt pt; BlurAndPosterizeSettings bnpSettings; //Set labels; S source; S labelsText; toString { ret commaCombine("Point of interest " + id, labelsText); } G22Utils g22utils() { ret main g22utils(this); } BufferedImage image() { var img = galleryImage(); ret img?.image(); } G22GalleryImage galleryImage() { ret g22utils().galleryImageForMD5(imageMD5); } bool sameImage(G22PointOfInterest otherPOI) { ret otherPOI != null && eq(imageMD5, otherPOI.imageMD5); } G22DataWrangler wrangler() { ret wranglerStealingFrom(null, null); } G22DataWrangler wranglerStealingFrom(G22PointOfInterest otherPOI, G22DataWrangler otherWrangler) { if (otherWrangler != null && !sameImage(otherPOI)) otherWrangler = null; new G22DataWrangler wrangler; wrangler.inputImage(otherWrangler != null ? otherWrangler.inputImage : image()); wrangler.stealingFrom(otherWrangler); wrangler.timings(g22utils().functionTimings()); wrangler.importSettings(bnpSettings); ret wrangler; } IImageRegion regionAroundPoint(G22DataWrangler wrangler default wrangler()) { var rm = wrangler.regionMaker(); ret rm.getRegion(rm.regionAt(pt)); } }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035957 |
Snippet name: | G22PointOfInterest - interesting point in an image |
Eternal ID of this version: | #1035957/22 |
Text MD5: | 015b4618a8304c4ff29aea645662d03a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-21 05:56:50 |
Source code size: | 1362 bytes / 50 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 150 / 248 |
Version history: | 21 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) |