Skip to content

A Java application for image boundary extraction using 8-adjacency and m-adjacency techniques. It reads an input image, processes it to identify boundaries, and displays the results while saving the extracted boundary images.

License

Notifications You must be signed in to change notification settings

MateusjsSilva/Image-Boundary-Extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image Boundary Extraction

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.

Features

  • 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.

Requirements

  • Java Development Kit (JDK) 8 or higher
  • ImageIO library for image processing

How to Run

  1. Clone this repository:

    git clone git@github.com:MateusjsSilva/Image-Boundary-Extraction.git
  2. Navigate to the project directory:

    cd Image-Boundary-Extraction/Fronteira/src
  3. Compile the Java program:

    javac ImageBoundaryExtraction.java
  4. Run the program:

    java ImageBoundaryExtraction

Contribution

Feel free to open issues or submit pull requests. All contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Java application for image boundary extraction using 8-adjacency and m-adjacency techniques. It reads an input image, processes it to identify boundaries, and displays the results while saving the extracted boundary images.

Topics

Resources

License

Stars

Watchers

Forks

Languages