| |
|
: | | | | | | |
: | | : | | | |
| |
XCLIB-IPLはCMOSカメラキット、CL1、CL2、E1、D2X、D3X、SV5フレームグラバーボード、EPIX社製品全てに対応しているソフトウェア開発用のプログラマライブラリです。画像取り込み、表示、制御、フレームバッファへのアクセス、保存に加え画像処理、画像計測が可能で、お持ちのアルゴリズムと組み合わせてご使用いただけます。またXCLIBはランタイム・ライセンス・フリーのため、お客様が製品として出荷なさる場合のランタイムライセンスは必要ありません。
|
| |
| | | |
 |
| |
・画像処理&解析アプリケーションの構築
・エッジ検出
・モフォロジー、画像間演算、フィルタ処理
・ブロブアナライズ、パーティクルトラッキング
・PIXCIグラバーボードへの高速アクセス
・CL1、CL2、E1、D2X、D3X、SV5、SV用ボード対応
・32ビットWindows XP、Server2003、2000、NT用DLL
・32ビットWindows ME、98、95用DLL
・C/++、VB、VB.NETサンプルコード
・32ビット Linuxプログラム用オブジェクトコード
・オブジェクトコード for 32ビット DOSプログラム
・ハイレベルな関数群と処理パフォーマンス
・フォーマットファイル読み出しによるカメラ設定
・ライブイメージストリーム
・シーケンスキャプチャーとトリガー キャプチャー
・デュアル バッファー (ピンポン) キャプチャー
・マルチバッファーFIFOキャプチャー
・ランタイム ライセンス フリー
・エリアカメラ、ラインカメラ対応
・RS-170、NTSC、S-Videoフォーマット
・CCIR、PAL、S-Videoフォーマット
|
| |
■XCLIB-IPL/ ソフトウェア開発ライブラリ
※使用するOSによってライブラリ内容が異なります。
ご注文の際に使用予定のOSを明記下さい。
・単価(税別) \149,000.-
|
| |
対応環境 |
| |
32ビット DLL for WindowsXP、2K、NT、Me、98、95、Linux |
| マイクロソフトC/C++ v7.0, v8.0(Visual C/C++ V1/V2) 16ビットM or Lモード |
| DOS v3.0 or それ以降、 8088 or それ以降 |
| Borland C/C++ v4.0, v5.0 16ビット M or Lモード |
| Watcom C/C++ V10.0、V11.0 32ビット Fモード. テンベリーDOSエクステンダー、80386 |
| Window 3.x 16ビット DLL、 WindowV3.x スタンダード or エンハンスモード 80286 or 以降 |
XCLIB-IPLに含まれるもの |
| ・オブジェクトコードライブラリ/.Lib ・ダイナミックリンクライブラリ/.DLL |
| ・WinXP/2K/NT用.sys ・WinME/98/95用.vxd ・Linuxドライバー/.o |
| ・Cプロトタイプファイル/.h |
|
サンプルコード
|
|
イメージバッファーアクセス
struct pximage im1, im2, im3;
struct pxy xysize = {752, 480};
unsigned char buffer[752][480];
void *mallocbuf = NULL;
im1 = *pxd_defineImage(1,1, // ボードバッファー1のイメージ
0,0,-1,-1,..,"Grey"); // へアクセス
pximage_memory(&im, buffer, // malloc()メモリー確保された
&xysize, PXDATUCHAR, // イメージへのアクセス,
8, 1, // チャラ型 サイズ 752x480,
PXHINTGREY, 0); // 8 ビットパーピクセル // カラー, モノクローム
pximage_memmalloc(&im3, // 新しいイメージの生成とアクセス
&mallocbuf,&xysize, // チャラ型 752x480,
PXDATUCHAR, 8, // 8 ビットパーピクセル,
1, PXHINTGREY); //カラー, モノクローム
pxip8_pairsub(&im1, &im2, // イメージ2からイメージ1の
&im3, 0); // ピクセルを引き算
//イメージ3に結果を表示
|
選択されたカラースペースでのオペレーション
struct pximage *ip1, *ip2, *ip3;
unsigned long histogram[16], cnt;
ip1 = pxd_defineImage(1,1 , // ボード バッファー1のイメージへアクセス,
188,120,564,360, // イメージ(752x480)中心から1/4のAOI
.., "BofRGB"); // RGB カラースペース,
// RGBの青 カラー#3へアクセス
pxip8_histab2(NULL, ip1, // AOI 青のヒストグラム
histogram,16); // binned into 16 ranges.
ip2 = pxd_defineImage(1,1, // ボード バッファー1のイメージへアクセス,
0,0,-1,-1,.., // HSBとして全イメージAOI,
"SofBSH"); // HSBのサチュレーション カラー#2へのアクセス
pxip8_pixthresholdcnt(NULL, // サチュレーションのカウント
ip2, 42, 0,&cnt); // 値>= 42
ip3 = pxd_defineImage(1,2, // ボードバッファー2のイメージへアクセス,
0,0,-1,-1,.., //HSBとして全イメージAOI,
"SofBSH"); // HSBのサチュレーション カラー#2へのアクセス
pxip8_copy(NULL,&ip3,&ip2); //バッファー2から バッファー1の
// サチュレーションを設定,
// ヒュー&ブライトネスは規定値
|
| |
ブロブのサーチ
struct pxywindow bounds;
struct pxip8blob blob[100]; // 結果
struct pxy search = {-1, 0}; // init座標のサーチ
int n, i;
bounds.nw.x = 3; // min ブロブの幅
bounds.nw.y = 3; // min ブロブの高さ
bounds.se.x = 100; // max ブロブの幅
bounds.se.y = 100; // max ブロブの高さ
n = pxip8_bloblist(NULL, // バッファー5のイメージをサーチ
pxd_defineImage(1,5,0,0,-1,-1,..,"Grey"),
&search, 'g'^'t', 123, 0, // for up to 10 blobs
&bounds,0,NULL,100,blob,NULL); // ピクセルで識別
// 値>= 123
printf("Blobs found: %d\\n", n);
for (i = 0; i < n; i++) // ブロブをレポート
printf("Blob: %d, Center of Mass: (%g,%g), Area: %ld\\n",
i, blob[i].ucom.xd, blob[i].ucom.yd, blob[i].xyarea);
|
15x15 コンボリューションの実行.
int kernel[15][15], i, j; // ローパスとして15x15カーネルを定義
for (i = 15; i--; ) // 全て係数1のフィルタ
for (j = 15; j--; )
kernel[i][j] = 1;
pxip8_NxNconvolve( // 15x15コンボリューションをAOI100x100で実行
pxd_defineImage(1,1,0,0,100,100,..,"Grey"), //バッファー1 AOIの 結果へ
pxd_defineImage(1,2,0,0,100,100,..,"Grey"),
15, kernel, 0, 0, 0); //バッファー2.
|
|
各フレームのシーケンスキャプチャー/TIFFフォーマット
struct pxio8tiffparm tiffparm;
memset(&tiffparm, 0, sizeof tiffparm);
tiffparm.bits = 8; // セーブするビット数をセット
tiffparm.description = "Test Run #4"; // 短い記述
for (int i = 0; i < 100; i++) // バッファー100にシーケンスを保存
pxio8_tiffwrite(NULL,
pxd_defineImage(1,i+1,0,0,-1,-1,..,"Default"),
"RUN4.TIF", i, // イメージバッファーiから & ファイル名へ
NULL, &tiffparm, 0); // の全AOI & サブイメージ数
|
|
| |
|
| |
XCLIB-IPL関数一覧 |
|
XCLIB-IPLには下記画像処理関数以外にXCLIBの
関数群も含まれます。画像処理以外の関数群群は
XCLIBのページ関数一覧をご参照下さい。
画像処理関数
・ Add Pixels of Image Pair
・
Add Pseudo-Random Noise
・
AND Pixels of Image Pair
・
AND Pixels with Mask in Region
・
AND Pixels with Mask
・
Average Image Sequence
・
Average Pixels of Image Pair
・
AVI File, Load Image Sequence
・
AVI File, Save Image Sequence
・
BMP File, Load Image
・
BMP File, Save Image
・
Calibrate Intensity/Density Mapping
・
Calibrate Spatial Mapping
・
Complement Pixel Values in Region
・
Complement Pixel Values
・
Compress
Region Path
・
Compute Center of Mass of Region
・
Compute Center of Mass
・
Compute Center of Mass, Binary Image Region
・
Compute Center of Mass, Binary Image
・
Compute Histogram on Region
・
Compute Histogram Statistics w. Interpretation
・
Compute Histogram Statistics
・Compute Histogram
・
Compute Moments of Region w. Interpretation
・
Compute Moments of Region
・
Compute Moments w. Interpretation
・
Compute Moments
・
Compute Radial Mass w. Interpretation
・
Compute Radial Mass
・
Compute Shape Statistics of Image Region
・
Compute Tabulated Histogram
・
Construct PXIMAGE3: Access Image Sequence in Host Memory
・
Construct PXIMAGE3: Access Imaging Board Buffers
・
Construct PXIMAGE: 2-D Slice of 3-D Image
・
Construct PXIMAGE: 3-D Representation of 2-D Image
・
Construct PXIMAGE: Access Freq. Domain Complex Image
・
Construct PXIMAGE: Access Image in File
・
Construct PXIMAGE: Access Image in File, Done
・
Construct PXIMAGE: Access Image in Host Memory
・
Construct PXIMAGE: Access Image in Malloc'ed Memory
・
Construct PXIMAGE: Converted Color Space of Image
・
Construct PXIMAGE: Release Image in Malloc'ed Memory
・
Construct PXIMAGE: Slice of Color Image
・
Contrast Enhance By Percentile
・
Contrast Enhance Region By Percentile
・
Contrast Enhance Region
・
Contrast Enhance
・
Contrast Match Image Pair
・
Copy & Area Interpolation
・
Copy & Bilinear Interpolation w. Orientation
・
Copy & Exchange Image Buffers
・
Copy & Nearest Neighbor Interpolation w. Orientation
・
Copy & Skew Image Left/Right
・
Copy & Skew Image Up/Down
・
Copy & Spatial ReplicateCopy Image Buffer Region
・
Copy Image Buffer with Reversal
・
Copy Image Buffer with Shift
・
Copy Image Buffer
・
Copy Image with Rotation
・
Copy Image with Warping
・
Correct Image as per Speckle Mask
・
Correlation PeakCorrelation Profile
・
Count Pixels by Threshold
・
Count Region Pixels by Threshold
・
De-Flicker Interlace: Line Pair Average
・
De-Flicker Interlace: Line Pair Duplicate
・
De-Flicker Interlace: Modify Singularities
・
Decode SMPTE Vertical Interval Time Code
・
Difference for Insert of Image Pair
・
Dither Pixels, Uniform
・
DOS Mouse: Get Clicks
・
DOS Mouse: Get Motion
・
DOS Mouse: Get Status
・
DOS Mouse: Initialize Access
・
DOS Mouse: Terminate Access
・
DOS S/VGA: Set Mode and Initialize Access
・
DOS S/VGA: Terminate Access
・
Draw 2-D Cosine Product Pattern
・
Draw 2-D Fiducial Pattern
・
Draw 2-D Gaussian Pattern
・
Draw 2-D Separable Patterns
・
Draw Alignment Pattern
・
Draw Arrow
・
Draw Box
・
Draw Characters
・
Draw Curved Line defined as Bezier Polynomial
・
Draw Ellipse
・
Draw Icon or Cursor
・
Draw Icon Primitive, Free Resources
・
Draw Icon Primitive, Initialize
・
Draw Icon Primitive, Modify Pixels
・
Draw Icon Primitive, Test Completion
・
Draw Line Segment
・
Draw Region Boundary
・
Draw Region Path
・
Draw Text from Font Map
・
Draw Text
・
Edge Detection, Kirsch
・
Edge Detection, Roberts
・
Edge Detection, Sobel Absolute
・
Edge Detection, Sobel
・
Edge Gradient, Thin
・
Errors: Translate Error Code to String
・
Exclusive OR Pixels of Image Pair
・
Export Region to File
・
Extend Region Path
・
FFT: Filter Frequency Domain
・
FFT: Get Dimensions of Freq. Domain Representation
・
FFT: Inverse Transform Image
・
FFT: Log Magnitude Plot of Freq. Domain
・
FFT: Scale Freq. Domain by Log Magnitude Plot
・
FFT: Transform Image
・
Field Interlaced Image Line Shuffle
・
Field Interlaced Image Line UnShuffle
・
FIFO Average
・
Filter, Low Pass, Fixed
・
Filter, Low Pass, Low Smear
・
Filter, Low Pass, Weighted
・
Filter, Median
・
Filter, Median, Binary Images
・
Filter, Median, Weighted
・
Filter, Rank High (Dilate)
・
Filter, Rank Low (Erode)
・
Filter, Sharpen, Laplacian
・
Find Blobs and List
・
Find Blobs, Analyze and List
・
Find Region's Enclosed Area
・
Find Region's Enclosing Window
・
FITS File, Load Image
・
FITS File, Save Image
・
Follow and Collect Region Boundary by Value
・
Free Region
|
・ Gamma Correction
・
Get PXIMAGE3: Access Imaging Board Frame Buffers
・
Get PXIMAGE: Access Imaging Board Frame Buffer
・
Halftone by Black/White Sum
・
Histogram Equalization
・
H-P PCL Font: Draw Line of Characters
・
H-P PCL Font: Load
・
H-P PCL Font: Obtain Character Info
・
H-P PCL Font: Obtain Information
・
H-P PCL Font: Unload
・
Image File, Obtain Information
・
Image File, Release Information
・
Import Region from File
・
Initialize Region Path
・
Insert of Differences of Image Pair
・
Integrate Image Sequence
・
JPEG File, Load Image
・
JPEG File, Save Image
・
Left Shift Pixel Values in Region
・
Left Shift Pixel Values
・
Line Pair Pixel Shuffle
・
Line Pair Pixel UnShuffle
・
Load Image from File, Packed Binary
・
Load Image Sequence from File, Packed Binary
・
Load Image from File, Binary
・
Load Image Sequence from File, Binary
・
Load Image from File, Hex ASCII
・
Map Pixel Values in Region
・
Map Pixel Values
・
Map Uchar Pixel Values in Region
・
Map Uchar Pixel Values
・ Map Ulong Pixel Values in Region
・
Map Ulong Pixel Values
・
Map Ushort Pixel Values in Region
・
Map Ushort Pixel Values
・
Maximum of Pixels of Image Pair
・
Medial Axis Thinning
・ Minimum of Pixels of Image Pair
・
Modify Region Definition: Rectangle to Polygon
・
Morphology Close
・
Morphology Dilation w. 3x3 Element
・
Morphology Dilation
・
Morphology Erosion w. 3x3 Element
・
Morphology Erosion
・
Morphology Hit-Miss
・
Morphology Open
・
MSB Extend Pixel Values in Region
・ MSB Extend Pixel Values
・
Normalize Columns' Mean
・
Normalize Image as per Background Image
・
Normalize Lines' Mean
・
NxN Convolution, Integer
・ NxN Convolution, Real
・
NxN Dynamic Threshold
・
NxN Inverse Contrast Ratio Mapping
・
Obtain Filtered pximage Access into Imaging Board Memory
・
Obtain Filtered pximage3 Access into Imaging Board Memory
・
Obtain pximage Access into Imaging Board Memory
・
Obtain pximage3 Access into Imaging Board Memory
・
Offset Pixel Values in Region
・
Offset Pixel Values
・
OR Pixels of Image Pair
・
OR Pixels with Mask in Region
・
OR Pixels with Mask
・
Paint within Region
・
PCX File, Save Image
・
Perform Intensity/Density Mapping
・
Perform Inverse Spatial Mapping
・
Perform Spatial Mapping
・
Print Image
・
Product of Pixels of Image Pair
・
PXIMREGION: NonRectangular Image Region Specification
・
Ratio of Pixels of Image Pair
・
Recursive Average
・
Release Intensity/Density Mapping State
・
Release Spatial Mapping State
・
Right Shift Pixel Values in Region
・ Right Shift Pixel ValuesS/VGA: Display Cursor
・
S/VGA: Display Image
・
S/VGA: Translate Image to Screen Coordinates
・
S/VGA: Translate Screen to Image Coordinates
・
S/VGA: Waterfall Line DisplaySave Image to File, Packed Binary
・
Save Image Sequence to File, Packed Binary
・
Save Image to File, Binary
・
Save Image Sequence to File, Binary
・
Save Image to File, Hex ASCII
・
Scale Pixel Values in Region
・
Scale Pixel Values
・
Scan, Connect, Collect Region by Table
・
Scan, Connect, Collect Region by Value
・
Search for Largest Pixel Value
・
Search for Pixel by Table
・
Search for Pixel by Value
・
Search for Smallest Pixel Value
・
Set Color Pixel Values in Region
・
Set Color Pixel Values
・
Set Pixel Values in Region
・
Set Pixel Values
・
Set Real Pixel Values
・Shuffle Column Order to Even-Odd Halves
・
Shuffle Even-Odd Halves to Column Order
・
Spatial Intensity Normalization
・
Spatial Quantization & Shrink
・
Subpixel Edge Measurement
・
Subtract Pixels of Image Pair
・
Swap Line or Column Pairs
・
Targa File, Save Image
・
Threshold Pixel Values in Region
・
Threshold Pixel Values
・
TIFF File, Load Image Sequence
・
TIFF File, Load Image
・
TIFF File, Save Image Sequence
・
TIFF File, Save ImageTile Image Sequence
・
Track Particle Motion
・
Translate Region Definition to Path
・
Translate Region Definition to Scan List
・
User-Defined Premature Termination Functions
・
Windows: Display Cursor
・
Windows: Display Image via DirectDraw
・
Windows: Display Image via GDI
・
Windows: Display Image via Video for Windows
・
Windows: Draw Text using FONT
・
Windows: Translate Device to Image Coordinates
・
Windows: Translate Image to Device Coordinates
・
Windows: Waterfall Line Display via GDI
・
XOR Pixels with Mask in Region
・
XOR Pixels with Mask
XCLIB-IPLには上記画像処理関数以外にXCLIBの
関数群も含まれます。画像処理以外の関数群は
XCLIBのページ関数一覧をご参照下さい。
|
| |
 |
|