资源简介
Origin插件集合,现在流行的Origin插件基本上都有,如果有这方面开发需要的请联系我。
代码片段和文件信息
/*------------------------------------------------------------------------------*
* File Name: MedianFilter.c *
* Creation: ER (05/19/04) *
* Purpose: Perform median filtering on a dataset *
* Copyright (c) OriginLab Corp.2003 2004 2005 2006 2007 2008 2009 2010 *
* All Rights Reserved *
* *
* Modification Log: *
*------------------------------------------------------------------------------*/
////////////////////////////////////////////////////////////////////////////////////
#include
////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
// This function performs median filtering on a dataset. At each point in the dataset
// n neighboring points on each side are considered and the median of all those points
// is assigned as the filtered result for that point. At the edges where enough neighbors
// are not present the median is computed with the available number of points.
// Parameters:
// strSrc: Name of source dataset
// strDest: Name of destination dataset
// iNumPts: Number of points on either side to consider for computing median
//
// Return:
// 0: success
// non-zero: failure
int median_filter(string strSrc string strDest int iNumPts double dPerc = 50)
{
// Declare datasets and check for validity
Dataset dsSrc(strSrc);
Dataset dsDest(strDest);
if(!dsSrc || !dsDest)
{
printf(“Invalid Dataset(s)!\n“);
return -1;
}
// Check size of number of neighbors for computing median
int iSize = dsSrc.GetSize();
if( (iNumPts < 1) || ((iNumPts * 2) >= iSize/2) )
{
printf(“Invalid group size!\n“);
return -2;
}
// Set size of result to be same as source
dsDest.SetSize(iSize);
// Loop over all points in source and find median of neighboring points
waitCursor wCursor;
for(int ii = 0; ii < iSize - 1; ii++)
{
// Set lower and upper bounds on source data to only include current neighbors for computing median
dsSrc.SetLowerBound(ii - iNumPts);
dsSrc.SetUpperBound(ii + iNumPts);
// Compute median and store to result
double dMedian;
Data_percentiles(&dsSrc &dPerc &dMedian 1);
dsDest[ii] = dMedian;
}
// Reset lower and upper bounds of soure dataset
dsSrc.SetLowerBound(0);
dsSrc.SetUpperBound(iSize - 1);
// Return success
return 0;
}
// end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 967 2006-04-23 16:19 Origin插件集合\LabelXY\LabelXY.opk
文件 100092 2006-04-23 16:19 Origin插件集合\LabelXY\OriginLab File Exchange - File Details.pdf
文件 2526 2006-04-23 16:50 Origin插件集合\MedianFilter\MedianFilter.c
文件 84632 2006-04-23 16:52 Origin插件集合\MedianFilter\fid=83.pdf
文件 12657 2006-04-23 16:42 Origin插件集合\NAGSpecialFunctions\NAGSpecialFunctions.c
文件 71420 2006-04-23 16:43 Origin插件集合\NAGSpecialFunctions\fid=40.pdf
文件 84356 2006-04-23 16:03 Origin插件集合\ol-estimate onset\OL_Estimate_Onset.OPK
文件 10752 2006-04-23 16:04 Origin插件集合\ol-estimate onset\新建 Microsoft Word 文档.doc
文件 111173 2006-04-23 16:07 Origin插件集合\ol-estimate onset\readme.pdf
文件 2485 2006-04-23 16:02 Origin插件集合\OL_Twopoint_Distance\OL_Twopoint_Distance.opk
文件 374 2006-04-23 16:02 Origin插件集合\OL_Twopoint_Distance\新建 文本文档.txt
文件 157655 2006-04-20 10:15 Origin插件集合\ONMR 7.0\OriginLab File Exchange - File Details.mht
文件 1355595 2006-04-20 10:18 Origin插件集合\ONMR 7.0\onmr70.zip
文件 154265 2006-04-20 10:04 Origin插件集合\Peak Analysis Tool\OriginLab File Exchange - File Details.mht
文件 3448 2006-04-20 10:04 Origin插件集合\Peak Analysis Tool\PeakAnalysis.opk
文件 3448 2006-04-23 11:01 Origin插件集合\PeakAnalysis\PeakAnalysis.opk
文件 1937 2006-04-23 11:02 Origin插件集合\PeakAnalysis\readme.txt
文件 1419 2006-04-23 15:59 Origin插件集合\pick2point\Pick2Points.ogs
文件 1471 2006-04-23 16:01 Origin插件集合\pick2point\新建 文本文档.txt
文件 10400 2006-04-23 16:22 Origin插件集合\Scale_T\Scale_T.opk
文件 205432 2006-04-23 16:22 Origin插件集合\Scale_T\OriginLab File Exchange - File Details.pdf
文件 1730 2006-04-23 16:25 Origin插件集合\scroll\Scroll.opk
文件 103142 2006-04-23 16:26 Origin插件集合\scroll\OriginLab File Exchange - File Details.pdf
文件 177771 2006-04-20 10:36 Origin插件集合\Statistics on graph\OriginLab File Exchange - File Details.mht
文件 1146 2006-04-20 10:36 Origin插件集合\Statistics on graph\Statongraph.opk
文件 2497 2006-04-23 16:12 Origin插件集合\Tangent\Tangent.opk
文件 115187 2006-04-23 16:13 Origin插件集合\Tangent\OriginLab File Exchange - File Details.pdf
文件 115887 2006-04-20 10:17 Origin插件集合\Tangents\OriginLab File Exchange - File Details.mht
文件 2497 2006-04-20 10:17 Origin插件集合\Tangents\Tangent.opk
文件 61534 2006-04-20 10:21 Origin插件集合\The PFM 7.5 Evaluation (Demo)\Peak Fitting Module software demo-evaluation download.mht
............此处省略64个文件信息
- 上一篇:cute slider v2.1
- 下一篇:Smith chart V3.1
相关资源
- opencart 多商户后台插件
- U9插件开发集成
- canvg.js 下载229258
- 火狐hackbar插件firebug-2.0.19-fx和hackbar
- TortoiseSVN_1.6.15中文插件包
- Unity3D平衡类游戏--平衡小球Demo解析(
- notepad++官方插件x86全部打包[内有安装
- Firefox版哔哩哔哩助手v1.2.1
- 可运行1.5.8的Bimserver版本包括插件第四
- origin8.5破解文件-win10 64位亲测可用
- unity中道路快速生成插件
- unity插件连接安卓蓝牙测试可用
- JMeterPlugins-Standard-1.4.0.zip,ServerAgent
- ADA_CDMATool_V2-网优插件
- DXPerience Universal 12.1.8 注册插件
- unity语音插件
- Mac百度网盘无限速插件.zip
- BBE_D82_Sonic_MaximizerCN 汉化BBE音效插件
- datamap插件
- 大漠插件3.1233大漠3.1233大漠最后大漠
- Solidwork3DModle3D电路板模型插件
- TD插件TDMSExcelAddin.exe
- Unity Vectrosity5.6 最新版
- AE 老电影效果插件
- 带复制代码功能的Codecolorer插件wordp
- DBViewer——Eclipse插件,测试好用
- 生成 hadoop-eclipse-plugin-2.x 插件工具代
- shaderforge支持unity2018的源代码和插件
- actiBPM插件
- cordova 插件Demo工程
评论
共有 条评论