Source code for 2d cross-correlation fx?
I know this is a long shot but does anyone have the c or c++ code to compute the 2d (image) cross-correlation fx? (I know that IMAQ VISION has the cross-correlation routine but I am looking to potentially modify the 2d correlation routine to compute something called non-symmetry coefficient and would need to start with the source code). Or, labview source code for this operation would also be quite acceptable and in fact preferred!!
Thanks,
Don
I don't have the 2D cross correlation in labview, but... isn't the cross correlation very similar to an FFT? In that case a 2D FFT could maybe help since it shows how the 2D FFTs are derived from 1D FFTs in labview. I attach an llb where 2D FFT is done. I don't know where I got it from, maybe I even wrote it myself sometime in the dark past (probably translating it from some piece of C source code from the 'Numerical Recipes' book).
Maybe it is of some help for you...
-Franz
Attachments:
2dfft.llb 46 KB
Similar Messages
-
Getting Error In the Routine - While writing Code for the Cross Reference.
Hi,
Getting Error In the Start Routine - While writing Code for the Cross Reference from the Text table ( /BIC/TZMDES with Fields /BIC/ZMDES(Key),TXTSH ) Getting Error as [ E:Field "ZMDES" unknown ].
Transformation : IOBJ ZPRJ3(Source) -> IOBJ ZPRJC ( Target ).
The Source Fields are: 0logsys(Key),zprj3(Key),ZDOM3.
The Target Fields are : 0logsys(Key),zprjc(Key),ZDOM3, UID.
Here i am trying to Update the target Field UID by Comparing the Source Field [ zprj3(Key)] with the Text table ( /BIC/TZMDES ) and update the UID.
The Code is as below:
Global Declarations in the Start Routine:
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Routine Code :
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab.
CLEAR wa_itab.
The tys_SC_1 structure is :
BEGIN OF tys_SC_1,
InfoObject: 0LOGSYS.
LOGSYS TYPE RSDLOGSYS,
InfoObject: ZPRJ3.
/BIC/ZPRJ3 TYPE /BIC/OIZPRJ3,
InfoObject: ZDOM3.
/BIC/ZDOM3 TYPE /BIC/OIZDOM3,
Field: RECORD.
RECORD TYPE RSARECORD,
END OF tys_SC_1.
TYPES:
tyt_SC_1 TYPE STANDARD TABLE OF tys_SC_1
WITH NON-UNIQUE DEFAULT KEY.
Please suggest with your valuable inputs.
Thanks in AdvanceI have split the code in two.. one for start routine.. other for field routine.. hope this helps
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Start routine
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
Sort itab.
field routine
CLEAR wa_itab.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_FIELD-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab-<field name> -
How to get source code for WinCE 6.0 USB Camera Driver for ARM4I Processor
Hi,
I am implementing USB camera driver for my mini2440 board which has an ARM4I processor. The sample code
"Windows Embedded CE 6.0 USB camera Driver" downloaded from:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2ef087c0-a4ae-42cc-abd0-c466787c11f2
does not support ARM4I processors. When trying to generate in VS2005 Platform Builder my WinCE 6.0
image for mini2440 with the Third party catalog items "MJPEG Decompression Filter" and "USB CameraDriver",
the linker giver errors. Please advise where to find a working source code for USB (now revision 1.1
("full-speed") is supported in my WinCE 6.0 image) camera for my ARM4I processor. The code should
be in C# but C++ will be fine also.
Thanks,
Pauli get this on the hyperterminal when i run the cameradshowapp.exe
Compulab Windows CE NAND X-Loader for CM-T35
Built Dec 20 2009 at 16:48:16
Version 1.01.222
Commit Date 16/12/09
Jumping to bootloader
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Dec 20 2009 16:
46:16
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0x200b
Texas Instruments Windows CE EBOOT for CM-T35, Built Dec 20 2009 at 16:48:10
Version 1.01.222
OMAP3430 Version 0x4b7ae02f (Unknown)
TPS659XX Version 0x10 (ES2.x)
-OEMPinMuxSetup....
System ready!
Preparing for download...
INFO: Predownload
+FMD_Init
Checking bootloader blocks are marked as reserved (Num = 6)
+FMD_Init
WARN: Boot config wasn't found, using defaults
+FMD_Init
OALFlashStoreOpen: 4096 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 14 reserved blocks
Calling LCD_TurnOn
+FMD_Init
+FMD_Init
BLConfigureFlashPartitions: dwBootPartitionSectorCount = 0x5fff, partition actua
l size =0x4d3a!!!
Hit space to enter configuration menu 5...
Hit space to enter configuration menu 4...
Hit space to enter configuration menu 3...
Hit space to enter configuration menu 2...
Hit space to enter configuration menu 1...
INFO: Boot Device location = 0x8000020
Load NK image from flash memory
+FMD_Init
ROMHDR (pTOC = 0x823b8c28) ---------------------
DLL First : 0x4001c001
DLL Last : 0x41c7c0d8
Physical First : 0x84001000
Physical Last : 0x863bbdec
Num Modules : 294
RAM Start : 0x863c0000
RAM Free : 0x863d5000
RAM End : 0x90800000
Num Copy Entries
Copy Entries Offset : 0x85256e38
Prof Symbol Length : 0x00000000
Prof Symbol Offset : 0x00000000
Num Files : 116
Kernel Flags : 0x00000002
FileSys RAM Percent : 0x00000020
Driver Glob Start : 0x00000000
Driver Glob Length : 0x00000000
CPU : 0x01c2
MiscFlags : 0x0002
Extensions : 0x84002020
Tracking Mem Start : 0x00000000
Tracking Mem Length : 0x00000000
NK Image Loaded
Launch Windows CE image by jumping to 0x80001000...
Windows CE Kernel for ARM (Thumb Enabled) Built on Apr 5 2011 at 17:47:22
+OEMInit
ýSETDATAOUT access is OK....
Forcing clean boot
MainMemoryEndAddress = 0x90800000
-OEMInit
+FMD_Init
Dumping registry defined VK
Row 0: 0x18 0x9 0x25 0x0 0x0 0x0
Row 1: 0x26 0xd 0x28 0x0 0x0 0x0
Row 2: 0x27 0x24 0x23 0x0 0x0 0x0
Row 3: 0x0 0x0 0x0 0x0 0x0 0x0
Row 4: 0x0 0x0 0x0 0x0 0x0
Row 5: 0x0 0x0 0x0 0x0 0x0 0x0
SMSC922x: Core Ethernet Init.
Lan9220 identified. ID_REV = 0x92200000
SMSC922x: MAC address = 00:01:c0:0a:a0:db
Lan9220 identified. ID_REV = 0x92200000
SMSC922x: MAC address = 00:01:c0:09:88:80
SDIO8686: Loading Driver [version = 38.p44]
SDIO8686: Reset with TPS GPIO 2 --> done
!!!Kernel mode PSL 'PRdr' de-registered!!!
!!!Kernel mode PSL 'HRdr' de-registered!!!
!!!Kernel mode PSL 'FRdr' de-registered!!!
EHCI USB Host: HcdPdd_Init+
[OTG] OMAPMHSUSBOTG::Init()+
OMAPMHSUSBOTG::PostInit(): Start.
DSPLINK Module (1.61.04) created on Date: Jun 24 2009 Time: 16:30:52
Display parameters:
Height = 0x280
Width = 0x1e0
HSW = 0x20
HFP = 0x8
HBP = 0x17
VSW = 0x1
VFP = 0x4
VBP = 0x3
DVI is not enabled
PixelClkDiv = 0x7
LogClkDiv = 0x1
ClkSelDSS = 0x5
TD035:: LCDTurnOn
TD035STEE1: Turned display on.
TD035:: Finished LCD VGA init
AUTOLAUNCH: Checking HKEY_LOCAL_MACHINE\Startup key for programs to run.
Can't open HKEY_LOCAL_MACHINE\Startup key.
[WiFi]: Firmware Version: 9.70.3.23
CCaptureFramework: Failed setting up the camera data.
CameraDShowApp: Initializing the camera driver list failed.CameraDShowApp: Retri
eving the driver list failed.CameraDShowApp: Selecting the camera device failed.
CameraDShowApp: Selecting the camera device failed.CameraDShowApp: Selecting the
camera device failed.CameraDShowApp: Selecting the camera device failed.CCaptur
eFramework: Retrieving the still stream config failed.
CameraDShowApp: Initializing the capture graph failed. -
Source code for "Creating an Extended Web Dynpro Application"?
Hello!
I'm a rookie in the field of SAP Netweaver and I'm justing getting started with some tutorials. My problems with "Creating an Extended Web Dynpro Application" are to massive to be posted on this forum in this stage. What I want to have some help with is to find the source code for that tutorial so I can get som guidence from there.
Following text is cut out of this page:
http://help.sap.com/saphelp_nw70/helpdata/EN/5d/f42fef2eec724597a03b6bcc670c2c/frameset.htm
Creating an Extended Web Dynpro Application
You can download the Web Dynpro project for the current tutorial from the Software Developer Network SDN (http://sdn.sap.com -> Web Application Server -> Web Dynpro -> Sample Applications and Tutorials) in two versions: one skeleton version you can use for exercises and one final version (solution) for an immediate build, deployment and run on the Java engine of the SAP Web Application Server.
How hard I try I can't find the specific source code on sdn.sap.com
Does anyone have a clue where it is?
Thanks!
Best regards
/Johan Månsson LindströHi!
I did what you said but I seem to miss the IDE folder. This is what it looks in my Explorer
C: > Program Files > SAP > IDE > CE > eclipse > (no folder called "examples")
I also did a search in this eclipse folder for "examples" but I did'nt find the example I'm looking for
I am running a newer version of NWDS:
SAP NetWeaver Developer Studio
SAP NetWeaver 7.1 Composition Environment SP03 PAT0000
Maybe that's why things don't look the same? -
Need sample source code for calling stored procedure in Oracle
Hi.
I try to call stored procedure in oracle using JCA JDBC.
Anybody have sample source code for that ?
Regards, Arnold.Thank you very much for a very quick reply. It worked, but I have an extended problem for which I would like to have a solution. Thank you very much in advance for your help. The problem is described below.
I have the Procedure defined as below in the SFCS1 package body
Procedure Company_Selection(O_Cursor IN OUT T_Cursor)
BEGIN
Open O_Cursor FOR
SELECT CompanyId, CompanyName
FROM Company
WHERE CompanyProvince IN ('AL','AK');
END Company_Selection;
In the Oracle Forms, I have a datablock based on the above stored procedure. When I execute the form and from the menu if I click on Execute Query the data block gets filled up with data (The datablock is configured to display 10 items as a tabular form).
At this point in time, I want to automate the process of displaying the data, hence I created a button and from there I want to call this stored procedure. So, in the button trigger I have the following statements
DECLARE
A SFCS1.T_Cursor;
BEGIN
SFCS1.Company_Selection(A);
go_Block ('Block36');
The cursor goes to the corresponding block, but does not display any data. Can you tell me how to get the data displayed. In the future versions, I'm planning to put variables in the WHERE clause. -
Need Sample source code for Forum in jsp
Hi..
Please tell me the website which is having the sample source code for simple forum... I have to implement it into my project... kindly help me out...
thanx in advance
kumarHi..
Please tell me the website which is having the sample source code for simple forum... I have to implement it into my project... kindly help me out...
thanx in advance
kumar -
Could not find source code for Storefront application of CRS in ATG 10.0.1
Hi All,
I am trying to find the source code of Storefront application of CRS in ATG 10.0.1. This is needed to try all the multi-site features in the default website first before doing the same on our application. I want to create a similar setup like MotorpriseJSP application on ATG 10.0.1.
Let me know if there are any options to get the source code for storefront app.
Thanks,
Kishore Kumar.Hi
You can find the source code for the CRS applicaiton under
ATG10.0.1\CommerceReferenceStore\Store\EStore\src
Thanks
GS -
I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
Thanks,
JeyanHi,
I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
What has prompted this question?
Regards
Ray Farmer
Regards
Ray Farmer -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
How to get full source code for Oracle ADF?
Hi,
I 'm referring to the following URL http://download-west.oracle.com/docs/html/B25947_01/intro003.htm and it has mentioned that full source for Oracle ADF is available :
"Full source for Oracle ADF is available to supported customers through Oracle Worldwide Support. The full source code for the framework can be an important tool to assisting you in diagnosing problems and in correctly extending the base framework functionality for your needs."
Does anyone know how to obtain such information from Oracle support? Is this from metalinkOne possible snag in the process is that you will have some legal paperwork to sign. Depending on your company's policies, this could pose a problem.
Erik -
Can you share the source code for Customer ToughDay stress test tool?
Hello,
I would like to try Customer ToughDay tool (http://dev.day.com/docs/en/cq/current/testing/tough-day.html) for load testing of our author instances of CQ5. While I am able to execute the application, the logging with log4j seems to be configured incorrectly.
Can you share the source code for toughday-5.5.jar? I think it can be a very good starting point for those of us who are new to CQ5 and need to load test it.
Thank you!Hi,
I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
What has prompted this question?
Regards
Ray Farmer
Regards
Ray Farmer -
Source Code for Business Package Assets
If anyone customized I would like to know how to get to the Java source code for Asset Business Package
Regards
MikeAugustine Vinish wrote:
Hi Team ,
I have find out the source code of the Package from dba_source at text column .
How can I find out
*1 .where the Database is mounted ie Server information and*
*2 .Name of the Sql file contains the package body*
*3 .location of the file in the Server*
Regards ,
AugustineHi - the source code isn't read in from a file by the database, it's actually stored in the database itself (have a look at the user_source view). Now you may have text files backups of your source code, that have been used previously to create the packages, but the database won't store any info about the file used to do this. -
Source Code for Asset Business Package
If anyone customized I would like to know how to get to the Java source code for Asset Business Package
Regards
MikeTry the SCSL release:http://www.sun.com/software/communitysource/j2se/java2/download.xml
-
Loocking for source code for waves
Anybody know where I can find source code for a Wave applet!, those how makes water waves/ripples when you move your mouse over it???????????
there are some funny surfing games available in the web:
http://www.wavescape.co.za/bot_bar/games/games.html -
How do I see the source code for 'NI Example Finder'?
At the LabView Express demo, the rep showed us how to view the source code for 'NI Example Finder' (started with Help, Find Examples...). Please refresh my memory.
--toddThere are a couple of VI's that shipped with LabView 7.0, but you can't see the diagrams.
C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\Run Example Finder__NATIONAL INSTRUMENTS.vi
Press Ctrl-E on this VI and it prompts you for a password.
This VI is run by C:\Program Files\National Instruments\LabVIEW 7.0\resource\system\HelpServer.llb\HelpServer__NATIONAL INSTRUMENTS.vi
There's also C:\Program Files\National Instruments\LabVIEW 7.0\help\_exfinder.llb\Example Finder Launcher.vi.
Tyring to open this VI starts the NI Example Finder. Note the taskbar icon which is different from the normal VI icon.
It seems like NI is trying to keep us out, even if it used LabView to develop the Example Finder.
Maybe you are looking for
-
Hi, I got a job to configure replication between my two different oracle 8i database. I have worked on oracle but i don't know how can i configure replication. My scenario is that I have two oracle database server both will be master and i want to co
-
ORA-12519, TNS:no appropriate service handler found on OdiSqlUnload
Hi all, I'm using OdiSqlUnload in a target code of a procedure, where the output of the source code is the parameter.I'm using the source connection as parameters to the target connections: OdiSqlUnload "-FILE=#filename" "-DRIVER=<%=odiRef.getInfo(
-
I had the post below moved to Microsoft Azure > Azure Backup Moved by Jambor yao<abbr class="affil">Microsoft contingent staff</abbr> Tuesday, February 24, 2015 5:22 AM But that forum does not exist in any drop down list to ask a question or add to
-
I have spent hours trying to install Adobe Flash on Firefox and it won't work.
I have spent hours trying to install Adobe Flash on Firefox and it won't work.
-
Restrict Access behaviour still has redirect bug in CS4
I have just upgraded to Dreamweaver CS4 and see that there is still a PHP error in the code for this behaviour, which if used out of the box will never redirect authorised users to the page they came from. The lines which read: if (isset($QUERY_STR