Discrete Fourier Transform in 2D

General Discrete Fourier Transform:

fourier1

 

 

 

2D Discrete Fourier Transform:

fourier2

Inverse 2D Discrete Fourier Transform:

fourier3

 

>> a = [1 2 5;6 7 11]
a = 1 2 5
6 7 11
>> ffta = fft2(a)
ffta = 32.0000 -5.5000 + 6.0622i -5.5000 - 6.0622i
-16.0000 0.5000 - 0.8660i 0.5000 + 0.8660i
>> ifft2(ffta)
ans = 1 2 5
6 7 11
>> imshow(uint8(ans))
Advertisements

Network Log using Overlook Fing

Log discovered devices:

fing -r 1 -o log,csv,c:\Log\Log.csv

Log discovered devices using session:

fing -r 1 --session c:\Log\session.txt -o log,csv,c:\Log\Log.csv

Install the script as Windows service: (Admin rights)

fing -n 192.168.1.54/24 --session c:\Log\session.txt -o log,csv,c:\Log\Log.csv --installservice MyFingService

Uninstall the service: (Admin rights)

fing --uninstallservice MyFingService
=== overlook fing 3.0 - www.overlooksoft.com ===

Command line options:
  -h [ --help ]            show this help message
  -v [ --version ]         show fing version
  -i [ --info ]            show network informations
  -n [ --netdiscover ] arg run network discovery
  -s [ --servicescan ] arg run service scan on host/network
  -o [ --output ] arg      use output setup for discovery/scan/ping
  -P [ --profile ] arg     use specific discovery/scan/ping profile
  -d [ --rdns ] arg        enable/disable reverse DNS lookups
  -r [ --rounds ] arg      number of rounds (network discovery)
  --session arg            use specific discovery session file
  --silent                 force to silent mode
  --interactive            start the interactive mode
  -p [ --ping ] arg        run icmp ping on the hosts
  --sentinel               run Fingbox Sentinel
  -w [ --wol ] arg         send wake on lan on targets

Delphi Run As Administrator

Uncheck Project|Options|Application|Enable runtime themes

Create XML file (myapp.manifest):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="myapp"
version="1.0.0.0"
processorArchitecture="*" />
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="*" />
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Create vistaprog.rc file like this:

1 24 “myapp.manifest”

Finally add rc file to your project and compile.