imagej

Adding a window to another window internally [closed]

99封情书 提交于 2019-12-25 02:31:53
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I was wondering is it possible to add a window to another window? Like can you add that window, like an internal frame to another window. The reason why I am asking this is because I want the image window (which is produced by ImageJ) to be displayed in a desktop frame or window. Also how would you

Match histogram - ImageJ

自古美人都是妖i 提交于 2019-12-24 05:25:21
问题 Given two ImagePlus or BufferedImages (I don't care) how can I match the histogram of the first to the second one? By matching I mean: Matching the cumulative distribution function (CDF) of one image to the CDF of the other. 回答1: You can use the HistogramMatcher class included in Fiji (in its sub-project CorrectBleach). Here is an example Beanshell script (you can run it via the Script Editor in Fiji): import ij.IJ; import histogram2.HistogramMatcher; // get first image imp1 = IJ.openImage(

ImageJ: Analyze particles in different ROI at the same time

蓝咒 提交于 2019-12-23 04:45:07
问题 I am measuring vessel area in different annual rings (trees; dendrochronology). I captured high quality pictures with approximatelly 20 annual rings. Each annual ring is my ROI. I croped my image into 20 smaller images, each annual ring is one image. I open each image, I treshold it and use function: analyze particles. However, it would be much less time consuming, if I could use my original image with 20 rings; I would separate each annual ring by defining ROI and I would label each ROI by

How to specify colormap when saving tiff stack

此生再无相见时 提交于 2019-12-22 13:50:03
问题 I'm using tifffile in python to save out 3-channel tiff stacks, which I then want to read into ImageJ or FIJI. These tiff stacks open as composites in ImageJ with each channel assigned a (presumably default) colormap/LUT. However, the colors that are assigned aren't the colors that make sense for my images. My problem is that I can't figure out how to specify the colormap for each channel when saving the image using tifffile . For example, I'd like to have the following colormap assignments:

ImageJ opening imagePlus window as an internal frame inside a desktopPane

╄→尐↘猪︶ㄣ 提交于 2019-12-18 09:45:47
问题 I am having some trouble in ImageJ with one of its files. Basically set up a desktop pane that analyzes and opens images. But when the program opens the image it opens it as a separate JFrame. I would like to be an internal JFrame. So basically the image opens up in the desktop pane. I have tried a couple of things like creating a internal frame class and adding the win to the desktopPane but nothing seems to work it still opens it as a separate JFrame. I was wondering if anyone knows how to

Find array of edges with imageJ

[亡魂溺海] 提交于 2019-12-13 08:25:13
问题 I have already found edges of an image thanks to imageJ library. Now, I'd like to get an array which would contain these edges. There is a topic about it here but i couldn't comment and there wasn't the answer: Find Edges with ImageJ Programmatically 回答1: As documented in §29.3 Find Edges, the command uses the Sobel operator. Each point of the final image is the magnitude of the gradient of the horizontal and vertical convolutions. A copy of the whole array is returned by the get*Array()

Searching files in a directory and pairing them based on a common sub-string

我的未来我决定 提交于 2019-12-13 04:47:56
问题 I have been attempting to program a solution for ImageJ to process my images. I understand how to get a directory, run commands on it, etc etc. However I've run into a situation where I now need to start using some type of search function in order to pair two images together in a directory full of image pairs. I'm hoping that you guys can confirm I am on the right direction and that my idea is right. So far it is proving difficult for me to understand as I have less than even a month's worth

Is there a way to call imagej macro (.ijm) from java (i.e. have macro stored as string and execute it using a java control of imagej)?

拜拜、爱过 提交于 2019-12-12 14:22:22
问题 It is reversed problem to: How can I call/execute a java program from an ImageJ macro? Whenever I write imagej I refer to fiji. Of course a trivial solution is to create a .ijm from java string and call imagej using a system call with .ijm as an argument, but I search for better solution. Alternatively .ijm instructions can be translated into java calls but it is not very convenient (when .jvm is enough for the job it is very convenient way to keep it in this format). Why is it useful? It can

How to change white background for black

寵の児 提交于 2019-12-12 13:24:55
问题 In a recent project I have to manipulate images, but since this is new to me I am kind of lost. I need to scan the hand using a regular scan device. I could acomplish this but the background is white and I need it to be black. After several days of research finding the way to change the color, I only got an image that seems cut and paste in ms paint. The original image: Test: What I need is something like this: I trying using Marvin Framework, Imagej, Catalano framework. To see the setps that

Using ImageJ Jython in Standalone Python IDE

梦想的初衷 提交于 2019-12-11 23:03:57
问题 I'm wondering if it is possible to call ImageJ from a standalone Python IDE. I want to begin image processing in ImageJ without opening the ImageJ Jython interpreter. I'm not clear if this is possible given the differences between Python & Jython. 回答1: If your goal is to develop Jython code in a Python IDE, then see chapter 11 of the Jython book: Using Jython in an IDE. If your goal is to somehow integrate native Python with ImageJ (i.e., not using Jython): it is not a solved problem yet. But