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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
41 views

How can I fill missing parts in particle borders, so that these borders/contours form a continous outline?

I have this binary Black Particle Borders image of many non-spherical particle borders/outlines. Unfortunately, due to bad image quality, the borders are not continuous, but have some gaps. Is there ...
carol208's user avatar
0 votes
1 answer
80 views

Inconsistencies with calculating mean brightness per pixel of different images

My code gets an image and calculates its mean brightness and standard deviation. When I run the code on a certain data set .TIF which is generally pretty dark and compare the values I get from running ...
Niandra Lades's user avatar
0 votes
0 answers
13 views

Wound healing/ scratch assay using ImageJ2 and the Slide Set Plugin, need scratch width and area

I am using the Slide set download from https://b.nanes.org/slideset/example1.html to try to measure the cell migration within a wound healing assay. We use 96 well plates, measuring 4 times a day, so ...
Zander's user avatar
  • 1
0 votes
1 answer
28 views

ImageJ Merging Channels

I have written some codes below to process multichannel images, which invovle stacking, splitting and merging them back according to the order I have assigned. // Run Z Project run("Z Project...&...
C15's user avatar
  • 5
0 votes
2 answers
78 views

Read ImageJ XY coordinates file into matlab

I am trying to read an ImageJ XY coordinates file (attached) using the code below but I get a strange output. Any idea what I did wrong? clc; clear; close all; imgMatrix = readmatrix("E:/fd1.txt&...
AsiJapan's user avatar
  • 313
0 votes
1 answer
31 views

Converting colours and black background removal

enter image description hereI have an 8-bit black and white image and want to convert the few black spots to blue on a white background. When I use Image->Lookup Tables->blue it creates a black ...
Luc Dewulf's user avatar
0 votes
1 answer
36 views

How to combine sets of images in a stack in imageJ?

For example, let's say I have a stack of 20 images, and I want to combine every 4 images in the stack together (add the values up) and get a new stack of just 5 images.
Armin Zjajo's user avatar
0 votes
0 answers
29 views

How to read in python a image 32-bit real (no signed, or unsigned, but real)?

I'm having some problems opening a binary image in python. I can open it in imageJ going to FILE>IMPORT>RAW and using the option 32-bit real and little endian. After opening the image with ...
Sofa's user avatar
  • 1
-1 votes
1 answer
135 views

ImageJ & ffmpeg: How to create a video from a set of images using ffmpeg that can be opened by ImageJ?

I have a set of PNG images and want to create a video file from them that can be opened by ImageJ or Fiji. To do so I use the following command: ffmpeg -i *.png -c:v ayuv -r 25 outvideo.avi It works ...
Ivan Z's user avatar
  • 1,553
0 votes
0 answers
90 views

Is there a way to append information to a results table from multiple images in ImageJ using a macro?

I am trying to write a macro to assist in the the processing of multiple images of animals in ImageJ. Briefly, I have multiple folders with photos of animals which need to have points set on certain ...
MJLe's user avatar
  • 1
0 votes
0 answers
24 views

FIJI Batch Convert does not read images using BioFormats

Basic Q: when trying to use Process -> Batch -> Convert I do not get the popup box that reads 'read images using Bio-Formats.' I definitely have BioFormats downloaded and it normally works to ...
Yasmeen Al-Mufti's user avatar
0 votes
0 answers
21 views

how the fractional or intensity values with decimal points are categorized into bins in ImageJ histograms?

When I copied the list from the histogram produced using ImageJ, I got values like this.The data was from 0 to 255 intensity levels. I don't understand how the intensity values like 42.75, 40.1, and ...
Ridhanya Sree Balamurugan's user avatar
0 votes
0 answers
46 views

Saving an Image matrix with imageio for opening using ImageJ

Hey so I am trying to save an images that are in the form (10, 1926, 1926, 9). That is 10 z-stacks of 1926x1926 pixel images over 9 channels. However, when I try to save the processed images using the ...
Anthony 's user avatar
0 votes
1 answer
55 views

How to calculate median of an array in FIJI/ImageJ?

I want to find the median value of a column in the Results table. I am pulling the column out as an array using : Table.getColumn (Column); So now I just need to know how to find the median value of ...
Nathan Stutzman's user avatar
0 votes
1 answer
129 views

FIJI/ImageJ: How to return/update a value from the Results table via for loop?

Cross-posted from Image SC Forum and Reddit (Edit: I found the problem: my for loop isn’t working because it doesn’t recognize my table as the Results table. Anyone know how to make it do that?) (Edit ...
Nathan Stutzman's user avatar
0 votes
0 answers
33 views

Problem with imageJ api using imjoy-core in React

Im trying to make a simple image operation with imageJ, but ImageJ.JS argument isnt working when connecting to imjoy api. import * as imjoyCore from 'imjoy-core' export const consoleImjoyCore = async ...
Elias Nunes's user avatar
0 votes
0 answers
214 views

How do I batch process Z-stacks or all open images on ImageJ/Fiji?

I've really only needed the basics of ImageJ so far, but now I have Z-stacks with 400-500 raw images in each stack. They're already separated by colour, but I can't seem to get a macro to recognize ...
Tsum's user avatar
  • 1
0 votes
0 answers
33 views

How can I specify a specific channel to set B&C for in FIJI?

I've written a primative FIJI script which opens up my 16-bit 3 channel images and allows me to crop regions of interest. However, I can't figure out how to set the brightness and contrast ...
Yasmeen Al-Mufti's user avatar
0 votes
1 answer
40 views

Draw a 3d drape over the non zero non null pixels in my 3d tif image

So I have a 3d tif pixel image and want to draw a 3d drape over the non_zero non_null pixels At first I worked in a 2d manner and passed on every slice and tried to draw a shape around and then plot ...
Ali_Nass's user avatar
  • 838
0 votes
1 answer
73 views

Single pixel array value in time over image sequence using ImageJ

What I'd like to do is simple enough, however, I couldn't find out how. I use ImageJ to import sequence of images, and I want to export the values of pixel(0,0) at every frame in the sequence. If ...
mashtock's user avatar
  • 400
0 votes
1 answer
92 views

Make a new entry in a new table ImageJ

Imagej's table will not save the previous entry, rather overwrites the current row with the new info provided from the array's. Is their anyway to allow it to make a new row for every new set of data ...
zZz ZzZ's user avatar
0 votes
0 answers
128 views

Imagej how to get sum of area column in image j

Currently have a results table from a pre selected ROI manager and would like to make it display the total area and max count. Having issues finding how to find sum since i cannot use sum( //Checks to ...
zZz ZzZ's user avatar
0 votes
1 answer
63 views

Regex to recognize integers with 0 before them in Java

I'm working on a macro in ImageJ that will loop through a series of images with a standard format and merge them together as two different channels. I have the macro written, but I need it to be able ...
fgootkind's user avatar
0 votes
1 answer
95 views

layer thickness calculation complex segmentation

Im currently working on measuring the layer of an image from OCT in image J. However Im encountering troubles with the segmentation. I am originally working on Image J to create a macro. However I ...
Annd40's user avatar
  • 1
0 votes
0 answers
25 views

Differences using ImageJ and python package pyclesperanto_prototype to open up images

I am trying to open up an image that I am able to open up using imageJ but I seem to be getting a differnet image when I use pycelspranto_protype versus imageJ the image is 10 zstacks in three 3 ...
Anthony 's user avatar
0 votes
1 answer
81 views

ImageJ getHistogram function output

I'm trying to understand why the output of the getHistogram function is different from what is displayed when I click on the List button at the bottom of the histogram window. For testing, I created a ...
David Newman's user avatar
0 votes
1 answer
56 views

ImageJ macro "undefined variable" issue

I am trying to run the Hemispherical_2.0.txt package that I haven't seen bugs for elsewhere but receive the "Undefined Variable in line 60" error message specifically for the code "...
Benjamin Felser's user avatar
0 votes
0 answers
181 views

SelectWindow in ImageJ

All, I am new to scripting with imageJ and have run into a problem I cannot get past. I have multiple files open at once and would like the code to cycle though them, do an analysis, create a new ...
Rich Hamm's user avatar
0 votes
0 answers
47 views

Finding number of ROI Groups entered into Roi-Group Table plugin

I have been using the Roi-Group Table plugin, which i have cited at the bottom of this post. I am writing a macro and need to get the number of groups that were entered into the plugin, so that I may ...
Sharon Daniel's user avatar
0 votes
0 answers
129 views

ImageJ (Fiji) search directory for a given file, using python with imageJ macro

I have a python class that I want to use with an imageJ macro. The python class(below) will walk(search) a directory and look for multiple files given by the user. I need to use this logic with an ...
anonymousKoala's user avatar
0 votes
0 answers
91 views

How can I create a random pattern flashing at specific frequency in Python for GIF creation?

I am trying to write a code that creates a random pattern flashing (twinkling) at a specific frequency. Below is the code I am using, but the problem is that, different frequencies (frame rates) that ...
Fatemeh DND's user avatar
0 votes
1 answer
66 views

remove horizontal black line in a grayscale image

I have this image that has a continuous black horizontal line, and I need to remove it as a first step in enhancing it. is there a way to remove it using imageJ/Fiji or python, such as a library or a ...
gin's user avatar
  • 891
0 votes
0 answers
31 views

How to use Fiji in Gitlab CI/CD as an executable?

I am pretty new to Fiji and usage of it, so I wanted to ask on how I can utilise it in Gitlab CI/CD. I use a cython file, in which I initialize Fiji. This I convert to a C file, and then use GCC to ...
Jane's user avatar
  • 11
0 votes
1 answer
81 views

Trying to get ImageJ to analyze my image and report back a list of L*a*b* values for each pixel . Can't see how to do in ImageJ

I want software to take my image and analyze it and report back a list of Lab* color values for each pixel. I suppose any color space could work, it's just that CIELab is the one I'm familiar with. ...
Mateusz Wazowski's user avatar
0 votes
0 answers
42 views

How to colour code the spatial distribution of different sized lipid droplets in a high resolution image of cells?

I have recently started volunteering at a lab and have been given this open-ended ended task. I have never done any digital image analysis before which is why I come here for assistance. In this case ...
dantebuppi12's user avatar
0 votes
0 answers
33 views

quantification z stack image j

For the quantification of MAS protein in z stack images, I start by doing a MaxIntensity Z projection, then I reduce background with Background Substruction tool. At this point I can easily make a ...
Myriem OTMANI IDRISSI's user avatar
0 votes
1 answer
58 views

open cv code crops an image 56 times and each cropped image has same metadata as original image

(I am new to this whole open cv thing) My cropping method is to click a point on the image near the top left where you want the first box and the clicked point will be the starting coordinate for the ...
sara kim's user avatar
-1 votes
1 answer
128 views

ImageJ / Fiji shows wrong number of frames in video (FFMPEG import)

I am counting the number of animals in a an area using Fiji. I import the video through the FFMPEG plug-in (videos are mp4 with mpeg-4 codec). However, I noticed that when I import the videos Fiji ...
locoric_polska's user avatar
0 votes
1 answer
65 views

How to pick up color particles from a photo by imageJ?

I am doing sediment analysis recently and want to apply imageJ to help me count the tracer particles from normal sand. I have a photo and now want to learn how to count the pink color sand particles ...
lily's user avatar
  • 13
-4 votes
3 answers
217 views

Imagemagick: How to increase the number of colors in binary image? [closed]

It is a black-and-white image. Its palette consist from only two colors. When I try to threshold this image in ImageJ (Fiji), it cann't do this because of the image has only two colors. (I don't know ...
Ivan Z's user avatar
  • 1,553
0 votes
1 answer
87 views

Subtraction of fluorescence from two images representing the same sample

I am an oceanographer and I have a problem in my research. I am working on the FIJI software (Image J) and I have to process many images to do some quantification. I have images of samples taken with ...
ArthurCo's user avatar
0 votes
0 answers
33 views

3D image top view superimposition to 2D image of same plant

I have data from a plant's top view (nearly 100 plants, measured 3 times a day for 2 months) in 2D format, and have the 3D cloudpoint file of the same plant as a whole How can I adjust the scale and ...
Aparna T's user avatar
0 votes
0 answers
40 views

Picking two files from different folders and analyzing them together

I'm new to imageJ and programming so forgive any rookie mistakes I'm making here, but after trawling through a number of tutorials and pages on this site I cobbled together the following macro, who's ...
nlionin's user avatar
0 votes
0 answers
58 views

Display mesh in obj file format with ImageJ

I am using Fiji-ImageJ 1.53q. I used "3D Viewer" plugin and tried to display the following simple mesh via a .obj file but I don't see any cube getting visualized. The log window just ...
fonishormon's user avatar
0 votes
0 answers
75 views

How to determine size of smaller objects to be removed?

How could I determine the size of the smaller objects to be removed from my image, I know by guessing this could work, for example to remove objects smaller than certain value, but is there more ...
Fafa's user avatar
  • 1
0 votes
1 answer
60 views

Use variable in calibrate function ImageJ macro

I want to convert the grayscale values to nm (height) values using the Analyze->Calibrate function in ImageJ. I also would like to do this automatically, where the desired values are read out from ...
M. Middelkamp's user avatar
0 votes
0 answers
69 views

How to merge two stacks in which one is multicolored in Fiji

I wanted two merge two stacks, one is the red channel and the other is the result of the Z-stack depth color code plugin, meaning that it's color coded according to the depth. How can I do this ...
Alexandra Silva's user avatar
0 votes
0 answers
57 views

".ome.tif" to ".tif" or ".jpg"

I'm trying to automate some image analysis, the microscope I use takes 4 images along a well, at 5 different z locations, and spits the image out as a stack saves as ".oms.tif". I'm trying ...
AndSS's user avatar
  • 11
0 votes
1 answer
288 views

FIJI/ImageJ Macro not saving every analyze particles results and summary table

I have a folder of multiple Tif images, that I wish to analyze the particles, using analyze particles function. I need one channel, with all of its z-stack slices to be analysed and saved into a ...
MM1's user avatar
  • 490
1 vote
1 answer
54 views

Condition or function to verify if a file is missing when opening files sequentially in ImageJ

I'm using an ImageJ macro that opens and processes a group of images from several samples sequentially named - e.g. sample1_image1.tif, sample1_image2.tif, sample2_image1.tif, (...). I'm using a loop ...
Figs's user avatar
  • 15

1
2 3 4 5
19