I have used the cell counter plug-in that comes preinstalled with ImageJ to count cells on a micro photograph. After placing many markers (dots), i would like to select an area and know how many markers (dots) there are in that area (Here’s a picture of what i mean. http://imgur.com/a/0VlTF). However, the dots seem to disappear whenever i use the “freehand selections” tool. Is there a way to select only the first box and make imageJ count markers in that selected area?
I know that the dots have a number attached to them but i recently went back added more dots. and since the dots are sequential i cant really know for sure how many there are in one single box.
In the Cell Counter plugin you can select type 1 for the first box and type 2 for the next box and so on.
Then select “Measure” and you get the counts for each type (in your case the box).
However if you have only one type you can also use the default Multi-point tool and add a multipoint object (your rectangle) to the ROI Manager which persists if you make a new selection. Then measure the different multipoints.
First, thank you for the response. Im completely new to ImageJ and im having a hard time using ROI manager to count cells in my selected “box.” All i managed to do is add my dots to the menu. then add a new rectangle (in order to select the cells i wish to count). but then i have no idea what to do next. i tried going to measure but nothing happens.
Any chance you could take a crack at it? I have a dropbox link where you can download my image (in .tif format). https://www.dropbox.com/s/5o137tdyxml95vm/CC%2014%20slide%205%20slice%202%20L3%20100x__1473540288_188.8.131.52.tif?dl=0
I tried to upload it here but the system wont recognize it.
Please and thank you.
Ok you have already an image with multipoint selections. You can add them to the ROI Manager by selecting a Point and pressing the ‘t’ key.
However you cannot split a multipoint object (as far as I know).
With a trick you can get the positions again and then measure the single rectangle selections.
Press ‘t’ (Edit->Selection->Add to Manager) to add the multipoint object to the ROI Manager.
Duplicate the image (Image->Duplicate)
Enable the same ROI in the Roi Manager for the duplicated image (which should be selected)
Select a point and press ‘d’ (Edit->Draw) which draws one black pixel (or any other selected color you like) at each point.
Remove the multipoint selection by using ‘Select none’ (Ctrl+Shift+A) or simply click in the image to remove them.
Convert the duplicate to a greyscale image
Threshold the image (Image->Adjust->Threshold) to select the black drawn pixels only (see image below)
Create you rectangular selection around the points
Then Analyze->Analyze particles (select the option “Add to Manager”), see below.
The points will be added to the ROI manager which you can then enable again on the original image to make you measurements on the original image (select all ROI’s with Ctrl+click or Shift+click and then Measure).
Apropos you can use Edit->Selection->Restore Selection if you want to see a hidden selection again (if you have by chance clicked into the image).
And of course you can write a macro to seperate the points according to the x- and y-coordinate if you want learn more about ImageJ.