發表文章

圖片 變形

axes Transformations translation euclidean affine homography Affine Transformation Shear https://en.wikipedia.org/wiki/Digital_image_processing https://en.wikipedia.org/wiki/Affine_transformation 笛卡爾座標 歐幾里德 仿射 單應 仿射 轉型 剪斷 Circle Rotate Spiral Wave warp 圈圈 旋渦 螺旋 水波 變形 https://docs.opencv.org/2.4/modules/imgproc/doc/geometric_transformations.html?highlight=warpaffine Geometric Image Transformations flag texture 3d Affine transformation Affine Transformation 拾人牙慧點滴 Polynomial Transformation Rubber Sheeting. GIS投影與反轉 https://tehnoblog.org/photoshop-tutorial-how-to-remove-image-distortion/ Warping Morphing algorithm  驗證碼 captcha Warping Morphing algorithm

python 3d 統計圖表

https://matplotlib.org/index.html https://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the Python and  IPython  shells, the  Jupyter  notebook, web application servers, and four graphical user interface toolkits. python 的 3d 表格工具 函式 庫 提供你快速 產出 3d的 統計圖表 有有許多變的樣式 ,可以 再多種 python script 上 或是主機上

5種 座標系統 平行軸

Delta 水母  Cartesian 龍門 polar coordinate system  極座標系 Scara 平行軸 Delta Cartesian polar Scara cylindrical Cartesian coordinate system cylindrical coordinate system Cartesian coordinate system Spherical Coordinates Meshing Coordinate Global Coordinate Systems

delphi pascal rad ide open source 編輯器

"Dev-Pascal" "WOL Library" "Virtual Pascal" "CodeTyphon"  "Lazarus" "Kylix" "Pascal-P compiler" "Dev-Pascal" "WOL Library" "Virtual Pascal" "CodeTyphon" "Lazarus" "Kylix" "Pascal-P compiler" "Virtual Pascal" "CodeTyphon" "Lazarus" "OpenWire" free pascal ide http://wiki.freepascal.org/FPMake List of compilers and interpreters Best Third party components for Lazarus Popular Open Source Delphi Projects delphi pascal rad ide open source 編輯器 跨平台 pascal 免費 編譯 開發 環境 (window Qt X 基礎) codetyphon lazarus delphi similar delphi development environment     https://sourceforge.net/projects/charm-pacal/  https://alternativeto.net/software/turbo-pascal/ https://alternativeto.net/software/codetyphon/ CodeTyphon Alternative pascalxe Lazarus Charm Pascal IDE

捕捉DOS輸出

Thundax Output  Кодировка из Win в DOS и из DOS в Win в Delphi 2010  URL google function WinToDos(ASource: String): AnsiString; var Ch: PAnsiChar; begin Ch := AnsiStrAlloc(Length(ASource) + 1); CharToOem(PChar(ASource), Ch); Result := StrPas(Ch); StrDispose(Ch) end; procedure WritelnDos(ASource: String); begin Writeln(WinToDos(ASource)); end; function DosToWin(ASource: AnsiString): AnsiString; var Ch: PAnsiChar; begin Ch := AnsiStrAlloc(Length(ASource) + 1); OemToAnsi(PAnsiChar(ASource), Ch); Result := StrPas(Ch); StrDispose(Ch) end; function DosToWin(ASource: AnsiString): String; var Ch: PChar; begin Ch := StrAlloc(Length(ASource) + 1); OemToChar(PAnsiChar(ASource), Ch); Result := StrPas(Ch); StrDispose(Ch) end; function AsciiToAnsi(AsciiStr: string): string; var AnsiStr: string; begin SetLength(AnsiStr, Length(AsciiStr)); if Length(AsciiStr) > 0 then OemToChar(PChar(AsciiStr), PChar(AnsiStr)); AsciiToAnsi:= AnsiStr; end; ...

取得系統時間 效能量測

http://codingdelphi.blogspot.tw Win32 Performance Measurement Options The five Win32 timing functions provided by the base API (as implemented in KERNEL32.dll) are GetTickCount, GetSystemTime() GetSystemTimeAsFileTime() QueryPerformanceCounter(), GetThreadTimes() GetProcessTimes() timeGetTime() References Java 2 Performance and Idiom Guide, Craig Larman & Rhett Guthrie, Prentice-Hall PTR, 2000. More Effective C++, Scott Meyers, Addison-Wesley, 1996. More Exceptional C++, Herb Sutter, Addison-Wesley, 2002. rtc base timeer timegettime setwaitabletimer ... 最後一頁 GetTickCount function https://msdn.microsoft.com/en-us/library/windows/desktop/ms724408%28v=vs.85%29.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms724411%28v=vs.85%29.aspx timeGetTime function https://msdn.microsoft.com/en-us/library/dd757629.aspx ntquerytimerresolution NtSetTimerResolution NtQuerySystemInformation function https://msdn.microsoft.com/zh-tw/library/windo...

檔案鏈結 鏡像 備份 同步

mklink  Winodws  建立 symbolic link https://technet.microsoft.com/zh-tw/library/cc753194(v=ws.10).aspx Mklink Examples . mklink [[/d] | [/h] | [/j]] https://msdn.microsoft.com/en-us/library/windows/desktop/aa364215(v=vs.85).aspx File and Directory Linking https://en.wikipedia.org/wiki/Symbolic_link https://docs.microsoft.com/en-us/sysinternals/downloads/junction Junction v1.07 https://docs.microsoft.com/zh-tw/sysinternals/ Windows Sysinternals mklink https://kb.iu.edu/d/abbe mklink ln symlink linux mac freebsd mklink %USERNAME% iTunes batch junction How to move your iTunes library to a new location. ln file mklink 在Winodws 7 建立symbolic link | 瓶水相逢- 艾小克- 點部落    Drive Mirroring Instant Backup file directory share Mirroring Instant Backup https://ss64.com/nt/syntax-args.html Command Line arguments (Parameters) https://technet.microsoft.com/en-us/library/bb490963.aspx windows...

byte 2 bin byte array

var   a: byte;   MASK: byte;   arr : Array[0..7] of byte;   iindex : byte; begin   a:= random($ff);   MASK := ($80-1);// ($1 shl (sizeof(a)*7) )-1   //writeln(MASK);   write('a= ');   write(a);   write('= ');   write(a div 16 );   write(',');   write(a mod 16 );   writeLn(''); //msb 1 byte  to 8byte   for iindex := 7 downto 0 do   begin     if a > MASK then arr[iindex]:=1 else arr[iindex]:=0;     a:= a shl 1;     write(arr[iindex]);   end;   //writeLn('-----------');  

javascript delphi

WebBrowser1 . OleObject . Document . ParentWindow . execScript ( 'alert("Hello")' ); Edit:  I found SpiderMonkey for Delphi. It supports 64 bit but there is no 64 bit dll provided. "js64.dll" that is. http://code.google.com/p/delphi-javascript/ Here is the 64 bit build. It works perfect with delphi-javascript http://depositfiles.com/files/tfryg81ny http://www.paranoia.clara.net/mozilla_delphi_project.html SpiderMonkey delphi  firefox Gecko delphi component http://delphi.wikia.com/wiki/3rd_Party_Components delphi TChromium Chromium Embedded Framework

A memory manager for Delphi and C++ Builder with powerful debugging facilities

fastmm4 https://github.com/pleriche/FastMM4 A memory manager for Delphi and C++ Builder with powerful debugging facilities Fast Memory Manager Description: A fast replacement memory manager for Embarcadero Delphi applications that scales well under multi-threaded usage, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files. Homepage:  https://github.com/pleriche/FastMM4 Advantages: Fast Low overhead. FastMM is designed for an average of 5% and maximum of 10% overhead per block. Supports up to 3GB of user mode address space under Windows 32-bit and 4GB under Windows 64-bit. Add the "$SetPEFlags $20" option (in curly braces) to your .dpr to enable this. Highly aligned memory blocks. Can be configured for either 8-byte or 16-byte alignment. Good scaling under multi-threaded applications Intelligent reallocations. Avoids slow memory move operations through not performing unneccesary downsizes and by...

TCMalloc : Thread-Caching Malloc memory manager

http://goog-perftools.sourceforge.net/doc/tcmalloc.html TCMalloc : Thread-Caching Malloc TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on a 2.8 GHz P4 (for small objects). The TCMalloc implementation takes approximately 50 nanoseconds for the same operation pair. Speed is important for a malloc implementation because if malloc is not fast enough, application writers are inclined to write their own custom free lists on top of malloc. This can lead to extra complexity, and more memory usage unless the application writer is very careful to appropriately size the free lists and scavenge idle objects out of the free listTCMalloc also reduces lock contention for multi-threaded programs. For small objects, there is virtually zero contention. For large objects, TCMalloc tries to use fine grained and efficient spinlocks. ptmal...

OmniThreadLibrary The Ultimate Delphi Threading Library

http://www.omnithreadlibrary.com/tutorials.htm OmniThreadLibrary The Ultimate Delphi Threading Library What Is OmniThreadLibrary? OmniThreadLibrary is simple to use threading library for Delphi. Currently, versions 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, and 10.2 Tokyo are supported. OmniThreadLibrary is an open source project. It lives on  GitHub  and is licensed under the  BSD license . This is not the first threading framework I've written. There are, however, few big differences between the OTL (OmniThreadLibrary) and previous projects. All previous projects were closed source, used only for the in-house programming. They were all designed from the bottom. And they all had big problems when used in some real-life cases. Still, they were an important research tools. I learned a lot from them - what works, what doesn't and, most important, what kind of threading issues are appearing in the real life applications....

delphi Socket Components

Indy ICS RealThinClient synapse FastNet http://www.programering.com/a/MTN5UjMwATQ.html http://www.streamsec.com/index.php?id=links Delphi A variety of Socket Components of the model and the model Assembly Unit Dependence Pattern Model WebApp/CGI sockapp.pas Indy Blocking or non blocking select Indy Blocking or non blocking select ICS OverbyteIcsWSocket.pas Non blocking WMAsyncSelect TTcpServer/TTcpClient sockets.pas Blocking or non blocking Select RealThinClient The ICS variant Non blocking wsaasyncselect synapse blckSock.pas Blocking or non blocking Select TServerSocket TClientSocket ScktComp.pas Blocking or non blocking WSAAsyncSelect FastNet psock.pas WSAAsyncselect TSocketConnection TServerSocket TClientSocket From the table above can be seen, not a component using the following 4 models: Blocking mode Overlap port Event selection The completion port Only to: Selec...

What Web Application Framework for Delphi is recommended?

https://stackoverflow.com/questions/3793112/what-web-application-framework-for-delphi-is-recommended There has been some activity in the  Web Application Framework  area for Delphi (Win32)  Delphi on Rails   - for D2010 DelphiMVCFramework  - for Delphi XE4 to XE8 ExtPascal  - for D7 to D2010 and Free Pascal Habari Web Framework  - for D2009 and newer and Free Pascal Kitto  - for D2010 to XE2  mORMot MVC  - for D6 and up, and latest FPC Raudus  - for D7 to XE3 and Lazarus/Free Pascal RealThinClient  - for D7 to XE5 uniGUI  - for D2006 to XE3 WebHub  - for D2010 to XE4 xxm  - for D7 and newer See ExtPascal, at  http://code.google.com/p/extpascal Elevate Web Builder Smart Mobile Studio uniGUI  (unified Graphical User Interface) is a framework for developing AJAX Web Applications in classical WYSIWYG Delphi RAD   In a past job, I used  webhub  (http://www.href....

Camera Serial interface csi

MIPI Camera Interface  IP camera SOC: S3LM IP Camera SoC MIPI: yes Hi3516A MIPI: yes Hi3518 MIPI: no GM8139 - High-Performance Solution for H.264 IP Camera Application MIPI: yes GM8138/8138S - Cost-Effective Solution for H.264 IP Camera Application MIPI: yes GM8136S/8135S - Economic H.264 IP Camera Application MIPI: yes Mozart 330s Mozart 370s Mozart 385s Mozart 390s Mozart 395s - MIPI: unknown R288C,R292C - H.264 Codec SoC with Dual Video Input Channel MIPI: yes M388C,M392C - H.264 Encoder SoC with Integrated Fisheye Correction Function MIPI: yes FH8810 - FH8810 high performance SoC for HD IPC - MIPI: yes FH8830 - 2M/3M High Performance Camera SoC - MIPI: yes  FH8812 - High Performance SoC for IP Camera - MIPI: yes FH8620 - Low-Power、High Performance Wireless Camera SoC  FH8610 - FH8610: Low Cost、High Performance Wireless Camera SoC FH8550M - High Performance 1080P ISP for CCTV - MIPI: yes   http://mrfdsp.com/mipi-csi2/index.html  П...

package software management mac Next Article The state of package management on Mac OS X List of software package management systems

package software management mac Next Article The state of package management on Mac OS X http://www.slideshare.net/TomohikoHimura/ss-20115472 Mac OS X のパッケージ管理紹介/比較 広島Macユーザグループ 2013年4月の勉強会で使用したスライドです。  Mac OS X のパッケージ管理システム Macports, Homebrew, Fink, http://blog.jjgod.org/2009/12/21/homebrew-package-management/ homebrew — Mac OS X 下新的软件包管理工具 http://www.onthelambda.com/2013/10/14/the-state-of-package-management-on-mac-os-x The state of package management on Mac OS X https://en.wikipedia.org/wiki/List_of_software_package_management_systems List of software package management systems OS X fink , for  OS X , derives partially from dpkg/apt and partially from ports. MacPorts , formerly called DarwinPorts, originated from the  OpenDarwin  project. Homebrew , with close Git integration. Mac App Store : Official digital distribution platform for  OS X  apps. Part of  OS X 10.7  and available as an update for  ...