-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
51 additions
and
40 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ [email protected] | |
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. | ||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. | ||
nbproject/build-impl.xml.data.CRC32=464b3301 | ||
nbproject/build-impl.xml.script.CRC32=2a31616b | ||
nbproject/build-impl.xml.stylesheet.CRC32=6ddba6b6@1.53.1.46 | ||
nbproject/build-impl.xml.script.CRC32=662ac0ff | ||
nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.56.1.46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
compile.on.save=true | ||
user.properties.file=C:\\Documents and Settings\\pratchaya\\.netbeans\\7.1.2\\build.properties | ||
user.properties.file=C:\\Documents and Settings\\pratchaya\\Application Data\\NetBeans\\7.3\\build.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package image2d; | ||
|
||
import java.awt.Color; | ||
import java.awt.image.BufferedImage; | ||
|
||
/** | ||
* | ||
* @author pratchaya | ||
*/ | ||
public class EdgeDetector { | ||
|
||
public static BufferedImage findEdgeSobel(BufferedImage _image) { | ||
// get kernel horizontal | ||
int horizontal[][] = EdgeOperator.edgeHorizontal(); | ||
// get kernel vertical | ||
int vertical[][] = EdgeOperator.edgeVertical(); | ||
// get result | ||
return EdgeOperator.sobelOperation(_image, horizontal, vertical); | ||
|
||
} | ||
} | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package image2d; | ||
|
||
import java.awt.Color; | ||
import java.awt.image.BufferedImage; | ||
|
||
/** | ||
* | ||
* @author pratchaya | ||
*/ | ||
public class EdgeDetector { | ||
|
||
public static BufferedImage EdgeSobel(BufferedImage _image) { | ||
// get kernel horizontal | ||
int horizontal[][] = EdgeOperator.edgeHorizontal(); | ||
// get kernel vertical | ||
int vertical[][] = EdgeOperator.edgeVertical(); | ||
// get result | ||
return EdgeOperator.apply(_image, horizontal, vertical); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters