Is there a way to put results and raw stack of images together

weka
imagej

#1

Hello Weka community,
I trained a model and applied it for a stack of image. The results are then saved in a file.
My question is:
I still want to compare the results and the raw images in the same windows, like we click on the “Toggle overlay” bottom do in order to further improve the model. How can I do this? It seems that it start with zero label when we load a classifier.


#2

Dear @ZeliangSu,

Sorry for the late answer. What you want to do is called “overlaying”. More precisely, you want to use the result image stack as an overlay of the input image stack. Have a look at this post.


#3

Good day,

here is a link to a Forum post that deals with overlaying a results table to an image:
http://forum.image.sc/t/how-to-save-my-counter-results-on-my-image/10521/21?u=herbie
The macro can easily be extended to stacks.

Regards

Herbie


#5

Thank you guys. I appreciate the solution using macro for this.


#6

Hi Herbie, Hi all,
I am unable to extend that overlaying macro to a stack as I’m a beginner in programming macros.
Does anybody succeed in it an can share a solution. I would be very thankful!
Best wishes! Jonas


#7

Good day Jonas,

learning to code ImageJ-macros is really easy:
https://imagej.nih.gov/ij/developer/macro/macros.html
https://imagej.nih.gov/ij/developer/macro/functions.html

For your purpose (cf. http://imagej.1557.x6.nabble.com/including-measured-data-in-videostack-tp5020843.html) a simpler approach than mine will generalize easier for stacks.

Good luck

Herbie