loading
 
Blob Replace Crash - Inner Rectangle
Franklin  [23 posts]
11 years

Hello,


I’m trying to use blob replace/Inner Rectangle to find corners (will MEP_COORINATES work in this case?) but RoboRealm throws and exception . There is a robo file attached.  The operations are: negative=>blob label=>blob replace and I then choose “Inner Rectangle”.  This causes a crash (on several machines).  

Also, the initial image shown by blob replace looks strange.  I’m not sure what blobs it is finding.  Maybe all the antialiased edge pixels? .

The “Error Report” file from windows is below.

Thanks in advance.

system Dell Win XP SP2  CPU 1.86GHz  2GB of RAM

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="RoboRealm.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="1394camera.dll" SIZE="176208" CHECKSUM="0x2F845F20" BIN_FILE_VERSION="6.4.4.128" BIN_PRODUCT_VERSION="6.4.4.128" PRODUCT_VERSION="6.04.04.0128" FILE_DESCRIPTION="1394 Digital Camera Interface DLL" COMPANY_NAME="CMU Robotics Institute" PRODUCT_NAME="1394 Digital Camera" FILE_VERSION="6.04.04.0128" ORIGINAL_FILENAME="1394CAMERA.DLL" INTERNAL_NAME="1394CAMERA.DLL" LEGAL_COPYRIGHT="Copyright (C) CMU 2000-2006" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="6.4.4.128" UPTO_BIN_PRODUCT_VERSION="6.4.4.128" LINK_DATE="12/13/2006 14:17:23" UPTO_LINK_DATE="12/13/2006 14:17:23" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="FreeImage.dll" SIZE="1089536" CHECKSUM="0xE4CF5A52" BIN_FILE_VERSION="3.9.2.0" BIN_PRODUCT_VERSION="3.9.2.0" PRODUCT_VERSION="3, 9, 2, 0" FILE_DESCRIPTION="FreeImage library" COMPANY_NAME="FreeImage" PRODUCT_NAME="FreeImage" FILE_VERSION="3, 9, 2, 0" ORIGINAL_FILENAME="FreeImage.dll" INTERNAL_NAME="FreeImage" LEGAL_COPYRIGHT="Copyright © 2003-2006 by FreeImage" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.9.2.0" UPTO_BIN_PRODUCT_VERSION="3.9.2.0" LINK_DATE="10/29/2006 17:19:15" UPTO_LINK_DATE="10/29/2006 17:19:15" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="Hooks.dll" SIZE="28672" CHECKSUM="0x78C4E3F4" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="02/10/2007 23:56:08" UPTO_LINK_DATE="02/10/2007 23:56:08" />
    <MATCHING_FILE NAME="Hooks_back.dll" SIZE="45056" CHECKSUM="0xC7F22596" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="11/01/2005 19:47:17" UPTO_LINK_DATE="11/01/2005 19:47:17" />
    <MATCHING_FILE NAME="inpout32.dll" SIZE="32768" CHECKSUM="0x47EE9529" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1, 0, 0, 1" FILE_DESCRIPTION="inpout32" COMPANY_NAME="http://www.logix4u.net" PRODUCT_NAME="inpout32" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="inpout32.dll" INTERNAL_NAME="inpout32" LEGAL_COPYRIGHT="Freeware" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="07/22/2003 16:34:07" UPTO_LINK_DATE="07/22/2003 16:34:07" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="Phantom.dll" SIZE="122880" CHECKSUM="0x98C167C9" BIN_FILE_VERSION="0.2.0.9" BIN_PRODUCT_VERSION="0.2.0.9" PRODUCT_VERSION="0, 2, 0, 9" FILE_DESCRIPTION="Phantom (Spirit.ocx Replacement)" COMPANY_NAME="Fenestra Software LLC" PRODUCT_NAME="Phantom (Spirit.ocx Replacement)" FILE_VERSION="0, 2, 0, 9" ORIGINAL_FILENAME="Phantom.DLL" INTERNAL_NAME="Phantom" LEGAL_COPYRIGHT="Copyright 2002 Fenestra Software LLC Portions Copyright (C) 1998, 1999 Kekoa Proudfoot" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="0.2.0.9" UPTO_BIN_PRODUCT_VERSION="0.2.0.9" LINK_DATE="12/18/2006 07:33:59" UPTO_LINK_DATE="12/18/2006 07:33:59" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="RoboRealm.exe" SIZE="3928064" CHECKSUM="0x824B04C1" BIN_FILE_VERSION="1.8.17.1" BIN_PRODUCT_VERSION="1.8.17.1" PRODUCT_VERSION="1, 8, 17, 1" FILE_DESCRIPTION="RoboRealm" COMPANY_NAME="RoboRealm" PRODUCT_NAME="RoboRealm" FILE_VERSION="1, 8, 17, 1" ORIGINAL_FILENAME="RoboRealm.exe" INTERNAL_NAME="RoboRealm" LEGAL_COPYRIGHT="Copyright © 2008" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.8.17.1" UPTO_BIN_PRODUCT_VERSION="1.8.17.1" LINK_DATE="06/24/2008 05:19:12" UPTO_LINK_DATE="06/24/2008 05:19:12" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="RRModule.dll" SIZE="28672" CHECKSUM="0x7362B1A6" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1, 0, 0, 1" FILE_DESCRIPTION="RRModule DLL" COMPANY_NAME="" PRODUCT_NAME="RRModule Dynamic Link Library" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="RRModule.DLL" INTERNAL_NAME="RRModule" LEGAL_COPYRIGHT="Copyright (C) 2005" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="09/22/2007 18:49:58" UPTO_LINK_DATE="09/22/2007 18:49:58" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="RR_COM_API.dll" SIZE="77824" CHECKSUM="0x784C7A51" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1, 0, 0, 1" FILE_DESCRIPTION="RR_COM_API Module" COMPANY_NAME="" PRODUCT_NAME="RR_COM_API Module" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="RR_COM_API.DLL" INTERNAL_NAME="RR_COM_API" LEGAL_COPYRIGHT="Copyright 2006" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="12/13/2007 01:49:26" UPTO_LINK_DATE="12/13/2007 01:49:26" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="ScriptSite.dll" SIZE="163840" CHECKSUM="0x3EA50E11" BIN_FILE_VERSION="1.0.0.1" BIN_PRODUCT_VERSION="1.0.0.1" PRODUCT_VERSION="1, 0, 0, 1" FILE_DESCRIPTION="ScriptSite Module" COMPANY_NAME="" PRODUCT_NAME="ScriptSite Module" FILE_VERSION="1, 0, 0, 1" ORIGINAL_FILENAME="SCRIPTSITE.DLL" INTERNAL_NAME="SCRIPTSITE" LEGAL_COPYRIGHT="Copyright 1997" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x32436" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="1.0.0.1" UPTO_BIN_PRODUCT_VERSION="1.0.0.1" LINK_DATE="05/10/2008 08:14:12" UPTO_LINK_DATE="05/10/2008 08:14:12" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="984576" CHECKSUM="0xF0B331F6" BIN_FILE_VERSION="5.1.2600.3119" BIN_PRODUCT_VERSION="5.1.2600.3119" PRODUCT_VERSION="5.1.2600.3119" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.3119 (xpsp_sp2_gdr.070416-1301)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xF9293" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.3119" UPTO_BIN_PRODUCT_VERSION="5.1.2600.3119" LINK_DATE="04/16/2007 15:52:53" UPTO_LINK_DATE="04/16/2007 15:52:53" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>

program.robo
Anonymous 11 years
Franklin,

Thanks for the great error report. We were able to replicate the issue. We will have a fix out by Monday.

In the meantime you can correct your issue by adding a threshold module. The issue is that in your image there are many small dots that are seen as separate objects by the blob_replace module and thus it got overloaded. Plus the replace with inner rectangle with the fix is probably not what you are looking for since many MANY small rectangles are created.

Instead attached is your robofile with the threshold module that due to it reducing the number of blobs to replace the inner rectangle setting now works quite nicely. Have a look and see if this is what you were looking for.

STeven.

program.robo
Anonymous 11 years
Just to clarify the "dots" a little more: Your original image is not a true binary image. It contains mostly white and black pixels but there are many not exactly white and not exactly black pixels in the image near the borders (you cannot see them without re-colorizing the image). Because those pixels are not exactly white or black the blob modules will see them as different objects (those modules are very sensitive to pixel color). The threshold module will ensure that all pixels are either black or white which nicely defines the blobs for later processing. You can see that with the threshold module the label module will only report <10 objects whereas without the threshold module it will report 100's.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index