Thank you for the kindly help and message. It’s my first time to ask for assistance in the forum. I felt sorry that my question was not quite clear. Your suggestion to take a look at BAR is really helpful. I will follow your advice. Although I am not a programmer, I really like imageJ and enjoy using it to process some images. I used to read Built-in Macro Functions and write some little macros.
Presently, I am doing the hotpixel characterization on ccd camera with imageJ. I would like to write a macro function to connect the image and histogram interactively. More detail of my thought is that when moving the mouse in histogram window, it will highlight those pixels, in image window, with grey value larger than the value in histogram window. I have tried some built-in macro like Plot.getValues(xpoints, ypoints), getCursorLoc(x, y, z, modifiers), and getPixel(x, y) etc. However, all of them don’t meet my requirement. Recently, I surf on the website and find Creating a histogram image (custom data). It seems to write more “hard” codes to make it. If so, it would be a “big” trouble to me. If there are some reference or tutorial, it would be helpful to me.
Anyway, any help, suggestion, advice is great and helpful to me. Thanks all your kindly helps.