This project implements boundary extraction from images using Java. It demonstrates two methods: 8-adjacency and m-adjacency for boundary detection. The results are displayed using Swing and saved as PNG files.
- Load an image and extract its boundary using two different adjacency methods.
- Display the original and processed images side by side.
- Save the resulting images to disk.
- Java Development Kit (JDK) 8 or higher
- ImageIO library for image processing
-
Clone this repository:
git clone git@github.com:MateusjsSilva/Image-Boundary-Extraction.git
-
Navigate to the project directory:
cd Image-Boundary-Extraction/Fronteira/src
-
Compile the Java program:
javac ImageBoundaryExtraction.java
-
Run the program:
java ImageBoundaryExtraction
Feel free to open issues or submit pull requests. All contributions are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.