Uses 12233K of libraries. Click here for Pure Java version (1614L/11K/38K).
!7 lib 1004905 lib 1004906 lib 1004908 lib 1004909 lib 1004910 lib 1004911 lib 1004912 lib 1004913 lib 1004914 lib 1004915 lib 1004919 // NotConvergedException lib 1004920 import org.openimaj.image.*; import org.openimaj.image.processing.edges.*; p { MBFImage image = ImageUtilities.readMBF(loadImageAsFile("#1002132")); //DisplayUtilities.display(image); // set green and blue channels to black MBFImage clone = image.clone(); /*for (int y=0; y<image.getHeight(); y++) { for(int x=0; x<image.getWidth(); x++) { clone.getBand(1).pixels[y][x] = 0; clone.getBand(2).pixels[y][x] = 0; } } DisplayUtilities.display(clone);*/ // same thing, but faster /*clone.getBand(1).fill(0f); clone.getBand(2).fill(0f); DisplayUtilities.display(clone);*/ image.processInplace(new CannyEdgeDetector); DisplayUtilities.display(image); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004907 |
Snippet name: | Test OpenIMAJ [CannyEdgeDetector, WORKS] |
Eternal ID of this version: | #1004907/4 |
Text MD5: | c3aa26721bfb1bc77adc398ca49c111c |
Transpilation MD5: | 1e7f453a09f051b15584f279161c0d47 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-01 20:04:30 |
Source code size: | 912 bytes / 40 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 632 / 767 |
Version history: | 3 change(s) |
Referenced in: | [show references] |