Questions tagged [imagej]

ImageJ is a Java-based open-source image processing program that is used extensively in scientific image analysis, particularly life sciences. Please consider asking ImageJ-specific questions on the Image.sc forum: https://forum.image.sc/tags/imagej. This tag should be used for questions about programming in/for ImageJ.

ImageJ is a Java-based open-source image processing program that is used extensively in scientific multidimensional image analysis, particularly life sciences. This tag should be used for questions about ImageJ-related programming.

For questions regarding general ImageJ usage as well as ImageJ-specific questions, the Image.sc forum is the best place to ask.

ImageJ supports plugins written in Java and scripts in several languages (i.e. Javascript, Python, Beanshell, Groovy, Clojure, Ruby, and the ImageJ1 macro language).

794 questions
0
votes
2 answers

Java: How to add scroll bars to a GUI window implemented via java.awt.frame?

I have been working on ImageJ and need to add scroll bars in a plugin: Weka_segmentation It implements java.awt.Frame to ij.gui.ImageWindow, which is implemented by a stackwindow class, which is in turn implemented by a customwindow class. I have…
user636177
  • 1
  • 1
  • 1
0
votes
1 answer

Check if ImageJ has an image open

I'm currently using the ImageJ jar (ij.jar) in a Java application that I am constructing and have managed to get everything working. However, there is a chance that when I execute the line: ImagePlus image = new ImagePlus(path); (where path is a…
Ivan
  • 8,938
  • 11
  • 45
  • 77
0
votes
1 answer

Scientific image processing - minimal bounding area for selection (imageJ?)

what is the best way to find minimal bounding area around some (point) selection? Convex hull doesn't fit my reqirements completely, here's an image explaining what I want: Further more, I'm looking for a java solution to this problem, preferably…
igorludi
  • 1,263
  • 1
  • 15
  • 29
0
votes
1 answer

Import error in imagej. import utility.Service?

I'm trying to run this CannyEdge-detection algorithm on ImageJ. The code is here on the link given. The problem is its not able to import utility.Service as given in the file. I cant find any such plugin. Please help. …
user927026
0
votes
1 answer

Generic Dialog Ok not triggered the second time

i have created a static instance of a generic dialog in my program static GenericDialog SaveDialog = null; and below is the code to display the dialog public boolean DispSaveDialog() { //gd.addStringField("Identity : ", "annot"); …
Preethi
  • 154
  • 14
0
votes
1 answer

Histogram Equalisation (Image Javascript Beginner)

I am trying to implement the histogram algorithm using ImageJ for a 8bit grayscale image. Below is my code and is not working properly. Please keep in mind I am a beginner. How should my imageJ code be so that it works??? for (i = 0; i <=…
Jay
  • 283
  • 1
  • 2
  • 12
0
votes
1 answer

ImageJ - Unable to load plugins

I have created a series of plugins for imageJ using the interface PluginFilter. Many of these plugins share some common tasks and I would also like to instantiate them outside of imageJ so I created an abstract Analysis.java that contains a…
Codey McCodeface
  • 2,788
  • 5
  • 26
  • 52
0
votes
1 answer

How to perform despeckle operation without using JAI,ImageJ,jhlab libraries?

I am making an app in Netbeans using Java Swing. I want to achieve some image processing functionality (like in ImageJ) in my app without using the ImageJ, JAI and jhlab libraries. For example: ImageJ>>Process>>Noise>>Despeckle. So, how can I do…
Jay
  • 1,215
  • 10
  • 28
  • 47
0
votes
1 answer

Advantages of differing ways of showing a Line in imagej

I have created a line in imagej using the imageprocessor drawLine() method. I have also noticed that there exists a Line class. I don't have too experience in imagej and was wondering what the advantage of using one method over the other would…
bateman
  • 61
  • 5
-1
votes
1 answer

Calculate Rectangle area of an image

I am new in image processing and need simple things to do my work , all I have to do is calculate Width and Hight of rectangle of an image in java programming with ImageJ , is it possible And thank you for your help
user1841718
  • 159
  • 1
  • 4
  • 13
-1
votes
1 answer

How do I import multiple csv files from a folder and sort them into distinct dataframes

I wanted to import multiple csv files from a folder and sort them into distinct data frames based on the file name. The pattern of my file name is chX_imgN_chYROI, where X & Y = 1, 2 & 3, N = 1,2,3,4 & 5. The 'N' does not matter as I want to…
nano
  • 1
-1
votes
1 answer

How to perform Batch processing to Merge channels

I have two separate folders with equal number of images from microscopy (134 images in each folder). These are two different dyes for a specific cells. What i want to do is merging each image from one folder with its corresponding image from another…
-1
votes
2 answers

remove or minimize the overlapping in image

I am working on a project where there is a high chance of overlapping particles in the images as partciles are coming down from the conveyor belt in the mining industry. I am also working on the hardware system to minimize the overlapping but none…
Salman
  • 3
  • 2
-1
votes
1 answer

Area measurement of fluorescent powder from finger contacts - batch processing

I have 120 photos like the one below showing the amount of fluorescent powder deposited onto a surface when it is touched by fingers. The photo is taken under UV light. You can see 5 finger prints and the reflection from the light source. I'd like…
HCAI
  • 1,955
  • 6
  • 25
  • 51
-1
votes
1 answer

How to do a Z-projection (like in ImageJ) using numpy arrays?

I'm currently processing Z-stack images of some cells I took. I want to project these images similar to the ZProjection function in ImageJ. After importing them (see below), I have a 3d stack of images. I continue with perforing a numpy function on…
BBQuercus
  • 571
  • 5
  • 19