Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1005814 // bwDarkCentroid - get centroid of dark-ish pixels in BWImage

JavaX fragment (include)

// returns pair of x and y
static Pair<Float, Float> bwDarkCentroid(BWImage img) {
  ret bwCentroid(img, true);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005814
Snippet name: bwDarkCentroid - get centroid of dark-ish pixels in BWImage
Eternal ID of this version: #1005814/1
Text MD5: a4bc5e3aa1a5880d7f7e31c904d5226a
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-10 15:47:04
Source code size: 116 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 499
Referenced in: #1005817 - bwCentroid - get centroid of dark or light pixels in BWImage
#1005818 - bwLightCentroid - get centroid of light pixels in BWImage
#1006654 - Standard functions list 2 (LIVE, continuation of #761)