Mitre SFR 1.4在Windows上用Visual Studio2013 成功运行 及详解

目录

代码及简单说明

什么是MTF, SFR

Mitre SFR 1.4代码组成

如何编译

如何使用

出现的错误及解决办法

1. 错误 fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory 

2. fatal error C1083: Cannot open include file: 'libgen.h': No such file or directory

3. error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.

4. error C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.

5. 【重点】最简单的解决办法

成功运行截图


代码及简单说明

 

什么是MTF, SFR

【图像处理】SFR算法详解1

https://blog.youkuaiyun.com/jaych/article/details/50889664

【图像处理】SFR算法详解2

https://blog.youkuaiyun.com/jaych/article/details/50700576

【图像处理】SFR算法详解3

https://blog.youkuaiyun.com/jaych/article/details/51030939

【图像处理】SFR算法详解4

https://blog.youkuaiyun.com/jaych/article/details/51031064

 

Mitre SFR 1.4代码组成

 

在ReadMe.txt中:

mitre_sfr.c The wrapper/main code
sfr_iso.c the derived ISO code;Code predominantly modified from IS 12233:2000 Annex A
find_area.c The auto-refinement code

 

代码链接:

http://www2.mitre.org/tech/mtf/sfr.zip

 

 

如何编译

在ReadMe.txt中

This code is compiled with LIBTIFF.  Once libtiff is installed
compile the code in this directory using 'make'.  
(If necessary add additional LDFLAGS to identify library locations.)

Open a terminal and 
> cd <this-dir>
> make 

如何使用

请参考In-Out.doc。在控制台运行SFR_1.4.2.exe,红色标记的为控制台输入部分

SFR version 1.4.2

  a      Compute edge tilt angle from user entered points
  b      Auto-refine input region
  c      ROI defined by center point instead of UL corner
  d      Create diagnostic image (_box.pgm)
  e      Verbose output
  f      Reve

评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值