--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/dc294d1d-e682-4de8-a11e-b7b063d4bf6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Pedro and welcome to the forums!This is an unfortunate error message which is very misleading. The problem is that you are trying to access the Item property without using an index. The output of BinaryRegionAnalysis is a list of many objects, all the objects that were detected in the frame. In order to access a specific object you need to indicate which one of them you want. In order to do this, you have to select the Source.Item node and replace it with Source.Item[0] for example, to get the first object in the list.However, this is not necessarily what you are interested in. If you want to track the largest object in the image, you may want to use the LargestBinaryRegion node to automatically get the largest object in the list. Alternatively, you can use SortBinaryRegions in order to order the objects in descending order of size.If you tell us what exactly you were trying to do we may be able to provide better guidance.Hope this helps.
On 28 August 2017 at 22:56, <pedro.bio...@gmail.com> wrote:
Hey there, need some help. I'm terribly new at some of this, but please bear with me.I'm doing a workflow to trace some mice, and I after Binary Region Analysis, if I right click and choose to add to the workflow any of the outputs under "Item (Bonsai.Vision.ConnectedComponent), I get an error when trying to run the workflow. It's a Runtime Error, with the description, which shows up in portuguese although everything else is in English (running Windows in PT language), "A operação pode destabilizar o tempo de execução", which roughly translates to "This operation might destabilize execution time".I've attached a pic of the workflow and error.I've looked around but can't find a solution. Any ideas?Thank you very much
--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/71b96884-30f4-40a1-9535-a9ee182a0c37%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/e8492d07-b002-4f87-bafb-f6680fd7def3%40googlegroups.com.