资源简介
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
相关资源
- ModelGoon-4.4.1-site.zip
- 右键属性文件校验插件可同时生成十
- ectouch 微信支付插件
- Origin9.0去水印补丁
- ps插件管家—有效管理插件
- CAD计算板料展开插件
- js万能播放器,网页播放插件实例
- 飞秋插件皮肤
- OPC插件OPC Core Components 2.00 SDK 2.20
- vc编写的通达信插件选股
- 幕墙快速建模与出图犀牛插件.rar
- Origin2019最新中文版用户入门使用手册
- 图文手把手教你一步步用VC 2010编写通
- 图文手把手教你一步步用VC 2010编写通
- u校园刷课助手(浏览器插件源码)
- 海康威视 WEB无插件开发包 V3.2
- eclipse_jetty9离线插件
- redmine系统agile敏捷插件安装包
- Notepad++最新版tidy2插件仅64位可用
- Notepad++ 32位 jsonview插件
- notepad++文本比较插件32位和64位
- notepad++ json格式化插件
-
notepad++ 对比插件 xm
l格式化插件 -
notepad++包含xm
l tools等插件 - Jsonviewer2 for Notepad++ 64 bit
-
Notepad++xm
l格式化插件和json格式化插 - PDF 插件SNAKE
- 可输入,可检索的下拉框小插件。
- select2 搜索下拉框插件
- site-1.6.5.zipeclipse 安装 svn 插件
评论
共有 条评论