Beside my previous post i need some help on the same matter.
I encounter some problem during the automatic analysis by the plugin made. I know what the problem is and I wanted to check by a macro made which was the base for the plug in made by a person active in the forum at that time (see previous post).
The task on this images (see example) is to create a profile from an image and store the xy values in a text file. This text file is then processed in a commercial metrology software.
The first action is converting the image in 8bit; autotresholding; and then create the profile from skeletonizing the detected particle.
When there is some artefact in the background the automeasure(plugin) only calculate the pictures without artefacts. I know the artefacts are the reason because if you erase them or paint them by the background color the images still can be processed.
It takes extra time and as a matter of fact it is no longer auto measuring.
I think it can be solved by change the detection parameters from 0 to infinity to a certain area limit, by this the smaller artefacts can be excluded from the measurements;
However there seems something wrong with the macro which is made mainly in java code, not the marcro language.
When I try to run the macro, nothing happens.
Normally before 2 buttons were created into the imageJ menu bar, one for the calibration the other for the processing.
If I can make this macro running again, I can check if this works and if it works see how to implement in the plugin with help from some experts.
Below is the code of the macro that is not running
Thanks in advance,
var xMax, xMin, yMax, yMin;
var path, dir, resultsDir, name, list, name1;
var micronsPerPixel = 0.111;
var xpts, ypts;
var checkData, savePlot, checkResults;
::DISCLAIMER:: This e-mail is confidential and intended for use by the addressee only. If you are not the intended recipient, please notify us immediately and delete this e-mail, as well as any attachment.