c语言几何变换图像旋转原理,求助高手:VC++关于图像几何变换中图像旋转的研究...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

}

编译之后有如下错误:

Compiling...

rotate.cpp

D:\MSDev98\MyProjects\m_3\rotate.cpp(56) : error C2039: 'DIBNumColors' : is not a member of '`global namespace''

D:\MSDev98\MyProjects\m_3\rotate.cpp(56) : error C2065: 'DIBNumColors' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(86) : error C2039: 'FindDIBBits' : is not a member of '`global namespace''

D:\MSDev98\MyProjects\m_3\rotate.cpp(86) : error C2065: 'FindDIBBits' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(86) : error C2440: '=' : cannot convert from 'int' to 'char *'

Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

D:\MSDev98\MyProjects\m_3\rotate.cpp(90) : error C2039: 'DIBWidth' : is not a member of '`global namespace''

D:\MSDev98\MyProjects\m_3\rotate.cpp(90) : error C2064: term does not evaluate to a function

D:\MSDev98\MyProjects\m_3\rotate.cpp(97) : error C2039: 'DIBHeight' : is not a member of '`global namespace''

D:\MSDev98\MyProjects\m_3\rotate.cpp(97) : error C2065: 'DIBHeight' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(102) : error C2065: 'sin' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(105) : error C2065: 'cos' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(128) : error C2065: 'fabs' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(131) : error C2064: term does not evaluate to a function

D:\MSDev98\MyProjects\m_3\rotate.cpp(143) : error C2143: syntax error : missing ';' before 'tag::id'

D:\MSDev98\MyProjects\m_3\rotate.cpp(143) : error C2039: 'PaletteSize' : is not a member of '`global namespace''

D:\MSDev98\MyProjects\m_3\rotate.cpp(143) : error C2065: 'PaletteSize' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(159) : error C2440: '=' : cannot convert from 'int' to 'char *'

Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

D:\MSDev98\MyProjects\m_3\rotate.cpp(166) : error C2065: 'IS_WIN30_DIB' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(251) : error C2065: 'AfxMessageBox' : undeclared identifier

D:\MSDev98\MyProjects\m_3\rotate.cpp(252) : error C2664: 'GlobalUnlock' : cannot convert parameter 1 from 'long' to 'void *'

Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

D:\MSDev98\MyProjects\m_3\rotate.cpp(253) : error C2664: 'GlobalFree' : cannot convert parameter 1 from 'long' to 'void *'

Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

D:\MSDev98\MyProjects\m_3\rotate.cpp(257) : error C2440: 'return' : cannot convert from 'long' to 'void *'

Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

小弟不解了,忘达人们指点,感激不尽~~~~~~~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值