• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






guxue

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2014年12月28日

[转载]VTK类视频 切片移动直线获取灰度值
摘要: #include "stdafx.h"#include "vtkActor.h"#include "vtkCamera.h"#include "vtkCommand.h"#include "vtkImageData.h"#include "vtkImagePlaneWidget.h"#include... 阅读全文
posted @ 2014-12-28 10:13 guxue 阅读(632) 评论(0) 推荐(0)
 

2014年5月2日

fileSave,fileOpen,fileSaveAs
摘要: How to invoke OnFileSaveAs() instead of OnFileSave() for the first Save of a New file?http://social.msdn.microsoft.com/Forums/vstudio/en-US/685ad2b9-7... 阅读全文
posted @ 2014-05-02 14:50 guxue 阅读(505) 评论(0) 推荐(0)
 

2011年1月8日

索引像素格式的图像的setPixel问题
摘要: 改变:// 对比Color colorBefore = image.GetPixel(5, 5);BitmapData data = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.WriteOnly, PixelFormat.Format8bppIndexed);// 将图像转化为byte数组byte[] bytes = newbyte[data.Height * data.Stride];Marshal.Copy(data.Scan0, bytes, 0, bytes.Length); 阅读全文
posted @ 2011-01-08 15:25 guxue 阅读(1519) 评论(0) 推荐(1)