Transpiled version (68619L) is out of date.
srecord noeq G22POIPanel(G22PointOfInterest poi) is Swingable { G22Utils g22utils; G22GalleryImage img; G22DataWrangler wrangler; cachedVisualize { g22utils = g22utils(poi); img = poi.galleryImage(); new L<JComponent> parts; if (img == null) ret jCenteredLabel("Image not found: " + poi.imageMD5); // Original image var is1 = g22utils.stdImageSurface(img); g22markPointAnimation(is1, poi.pt); parts.add(jCenteredSection("Original image", g22utils.wrap(is1))); // Blurred & Posterized wrangler = poi.wrangler(); wrangler.stepUntilStage(wrangler.regionsStage); var is2 = g22utils.stdImageSurface(wrangler.posterizedImage); g22markPointAnimation(is2, poi.pt); parts.add(jCenteredSection("Blurred & Posterized", g22utils.wrap(is2))); // Regions IImageRegion region = poi.regionAroundPoint(wrangler); parts.add(jCenteredSection("Region around point", new G22RegionPanel(region).g22utils(g22utils) .originalImage(wrangler.inputImage)); ret hgridWithSpacing(map jMinWidth0(parts)); } }
Began life as a copy of #1035958
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035971 |
Snippet name: | G22POIPanel |
Eternal ID of this version: | #1035971/12 |
Text MD5: | ea5171699b30ed28c537c9dca9bdf329 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-20 22:55:03 |
Source code size: | 1161 bytes / 39 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 149 / 223 |
Version history: | 11 change(s) |
Referenced in: | [show references] |