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

4
LINES

< > BotCompany Repo | #1005818 // bwLightCentroid - get centroid of light pixels in BWImage

JavaX fragment (include)

1  
// returns pair of x and y
2  
static Pair<Float, Float> bwLightCentroid(BWImage img) {
3  
  ret bwCentroid(img, false);
4  
}

Author comment

Began life as a copy of #1005814

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: #1005818
Snippet name: bwLightCentroid - get centroid of light pixels in BWImage
Eternal ID of this version: #1005818/1
Text MD5: b6c392ae4d6a7355a2e93dae12f5c6cf
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:26
Source code size: 118 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 565
Referenced in: [show references]