I am trying to write a macro to export line ROIs from many tif overlays in a directory, one at a time, into roiManager and then measure lengths and angles of the lines. Each tif file contains 4-8 such lines. Here's the relevant part of the macro that processes each file in a given directory.
This part runs fine, except that it throws a NullPointerException sporadically. Here's the exception returned when I run the macro
It does not throw the exception with the same file in the directory every time, making it harder for me to track it down. Any pointers are greatly appreciated.
Please avoid top-posting, and please make sure to reply-to-all!
Mailing list web interface: http://groups.google.com/group/fiji-devel
You received this message because you are subscribed to the Google Groups "Fiji-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
|Free forum by Nabble||Edit this page|