Search code examples
javaimage-processingimagej

How to use ImageJ with NetBeans


I have ij jar file. How can I adopt the help of this jar file in my code.

I want to create an image auto selection tool.

Is ij or javacv better?


Solution

    1. Open NetBeans and add the first Library: Tools -> Librarias -> New Library.
    2. Give the name of ij Library Name and click OK
    3. Click the button Add JAR / Folder and then browse for the jar files that you want and select OK.
    4. Next add the Component Pallet Library: Tools -> Palette -> Swing / AWT Components.
    5. Click the new category and name ij.
    6. Select ij then click Add from the Library -> ij -> Next -> select all the components palette -> Next -> ij -> Finish

    by doing this you will add your jar file and also use it to your project using Netbeans