- 博客(42)
- 资源 (10)
- 收藏
- 关注
翻译 超声、超声心动图和多普勒基础入门(一)
英文链接: (http://folk.ntnu.no/stoylen/strainrate/Basic_ultrasound#ultrasound) 本文的目的是尽量以图片介绍超声心动图和多普勒基础知识。题外话:看老外的科普性的文章,最大的感受就是直观,很容易让人明白,而国人总喜欢取术语,而且取名又让人很难理解其中的含义。百度上搜一个问题,不同的博客给的都是同一个答案。如果我们都能少一些拷贝粘贴
2016-04-13 01:01:39 4849
转载 windows下删除大量文件的快速方法
专治删除MITK文件多而碎,普通右键删除慢的毛病:来源:http://lovesoo.org/quickly-remove-large-quantities-of-windows-system-file-method.htmlrmdir [drive:]path [/S] [/Q]del [drive:]path [/S] [/Q]/S 除目录本身外,还
2015-12-14 22:21:55 8267
原创 win7x64、VSx64环境下安装和使用FFTW
虽然安装方法网上有很多,但说得不够明白,还是让我花费了一点时间才弄好。先将详细过程记录下来。 参考博客文章: http://blog.sina.com.cn/s/blog_4be364b70101kv0d.html http://blog.csdn.net/ljp1919/article/details/41827901 http://anony3721.blog.163.com/blog/
2015-12-10 00:28:44 1964 1
原创 boost.h
class CvCascadeBoost : public CvBoost{public: virtual bool train( const CvFeatureEvaluator* _featureEvaluator, int _numSamples, int _precalcValBufSize, int _precalcIdxBufS
2015-11-24 20:21:38 682
原创 cascadeclassifier.cpp
bool CvCascadeClassifier::train( const string _cascadeDirName, const string _posFilename, const string _negFilename,
2015-11-24 10:08:11 1271
原创 traincascade.cpp
int main( int argc, char* argv[] ){ CvCascadeClassifier classifier; string cascadeDirName, vecName, bgName; int numPos = 2000; int numNeg = 1000; int numStages = 20; int
2015-11-23 23:24:25 637
原创 Windows下把文件夹压缩成.tar.gz格式
网上搜到几篇关于把文件压缩成.tar.gz格式的文章,多是说7-Zip的压缩选项里选择Gzip就可以了,照着它做,结果就是找不到Gzip这个选项,还以为我下载的7-zip软件是错的,弄得重装好几次。 实际上,7-Zip只能把单个文件压缩成.gz格式。因此如果你是压缩一个文件夹,或者是压缩多个文件,首先选中这些文件,用7-zip把这些文件压缩成tar格式,然后选中这个tar文件,
2015-11-05 22:54:57 2860
原创 MITK中的几个predicate类
mitk::NodePredicateSource 判断给定的node(new中给定的)是否是某个node的子孙/非子孙source node。 示例://事先定义的几个nodemitk::DataStorage::Pointer myDataStorage(mitk::StandaloneDataStorage::New().GetPointer());mitk::Dat
2015-09-21 21:48:42 1149
原创 自定义MITK PlanarFigure及困惑
MITK只实现了有限的几个Planar Figure,比如一个线段,折线和贝塞尔曲线。如果你想画其它曲线,就需要自己写。写的方法其实很简单,继承mitk::PlanarFigure类,然后重写里面的GeneratePolyLine()方法。可根据自己的需要指定画不画helper polyline等。这里不再赘述。下面写一写我在使用自定义planar figure时遇到的一些问题。planar fig
2015-09-14 21:25:48 1047
翻译 mitkPlanarFigure类
本类是线段、圆形、矩形、贝塞尔曲线等2D图形的基类。PlanarFigures的行为和外观由属性控制。详细属性列表参见mitk::PlanarFigureMapper2D。以下列出几个常见属性:“selected”: planar 被选中时为true。“planarfigure.ishovering”:如设为true,则鼠标悬停在planar上时有对应行为。 “planarfigure.ise
2015-09-12 14:50:42 835 1
原创 MITK在plugin中链接OpenCV库
需要在相应的plugin的CMakeLists文件中做如下添加:project(...)...find_package (OPENCV REQUIRED)include_directories(${OPENCV_INCLUDE_DIRS})MACRO_CREATE_MITK_CTK_PLUGIN( ... MODULE_DEPENDS MitkOpenCVVideoSupport
2015-04-28 23:11:47 650
原创 在自定义插件中创建MITK类
MTIK自带的类对我们很有借鉴意义,编写自己的插件时,如果想改写MITK自带的类,那么最好不要在源代码中更改,而是自己新建一个类,将MITK自带的类移植过来。这个方法同样适用于想在名称空间mitk中添加自定义类。下面看一个例子。MITK中自带的mitkPointSetDataInteractor.h,结构大致如下:#include "..."namespace mitk{ class MIT
2015-04-09 10:47:04 1282
翻译 MITK Tutorial--Step10: Adding New Interaction
Step1:怎么使用现有的DatainteractorMITK有些已经写好的DataInteractor,可以直接在插件或模块中使用。它们可以在MITK源文件的Core/Code/Interactions中可以找到。mitk::DataInteractor 包含四个部分:描述功能的类以及两个XML文件(statemachine和config);每个mitk::DataInteractor 都必须作用
2015-04-08 16:27:43 1743
翻译 MITK Geometry
geometry用来表示数据的时间和空间几何属性。正确使用geometry需要了解MITK里三种不同坐标系: The different coordinate types世界坐标系 世界坐标系反映了MITK中所有物体的实际空间坐标,是一个全局坐标系。世界坐标由mitk::Point3D表示。geometry定义了世界坐标系下数据对象的offset、orientation、scale。世界
2015-04-08 11:28:09 1624
翻译 MITK Image介绍
Image直接继承自SlicedData。BaseData在MITK中相当于是其他Datatype的老妈。SlicedData继承了这个类后又在功能上做了细化,在类中包含了image slices, 引入了能够完整定义geometry的属性和函数。mitk::Image又进一步具体化,包含了multiple channels, volumes, slices以及额外的属性如image propert
2015-04-05 21:37:34 2290
翻译 MITK Renderer和RenderWindow类
(学习笔记,错误难免,请指正;个人劳动,转载请注明出处) 原文档MITK保留了VTK的渲染机制。本章讲述渲染过程和渲染窗口的核心组成部分。综述要将一个数据可视化,需要先把它存储在DataTree里。由程序决定是显示整个还是部分DataTree。具体data item的渲染由对应的mapper完成(参考mapper类)。DataTree里的每一个item都关联着一个mappers列表,每一个mapp
2015-04-01 21:55:28 2019 1
原创 MITK中的渲染
(学习笔记,错误难免,请指正;私人劳动,转载请注明出处)MITK的渲染管道继承自VTK的渲染管道VTK渲染管道在VTK中,vtkRenderWindow协调渲染过程。多个vtkRenderer可能被关联到一个vtkRenderWindow。所有能够存在于一个渲染场景(2D或3D)中的可见物体,都继承自vtkProp(或其子类vtkActor)。vtkPropAssembly是多个vtkProp的集合
2015-04-01 16:48:36 2364 1
原创 MITK中State machine和configuration详解和调用顺序
(学习笔记,错误难免,请指正;私人劳动,转载请注明出处)下面以MITK自带的mitkPointSetDataInteractor.h、mitkPointSetDataInteractor.cpp、PointSet.xml、PointSetConfig.xml为例,解释MITK中的交互原理,以及State machine和configuration的调用顺序。PointSet.xml:<statema
2015-03-31 21:30:18 1208
翻译 MITK Dispatcher交互概念
(学习笔记,错误难免,请指正;私人劳动,转载请注明出处)事件被mitk::Dispathcer接收后,又被分发给一个mitk::DataInteractor,由它决定是否能够处理该事件。在高层上讲,这由mitk::EventStateMachine完成。首先,该状态机会问所收事件是否在configuration里。如果在,返回variant name。然后状态机检查目前状态下是否存在能够被该 eve
2015-03-30 15:00:03 954
翻译 MITK交互概念
(学习笔记,错误难免,请指正;私人劳动,转载请注明出处)MITK有特殊的交互概念,让同样的交互方案可以在不同的情境中使用。MITK交互的核心基于DataInteractors,它们监听事先定义的事件,并在事件被触发时做出响应(执行actions)。下面介绍交互的几个组成部分。Event Handling & GUI Toolkit Abstraction下图介绍了mitk::DataInteract
2015-03-30 10:15:59 2119
原创 mitk::Contour、ContourModel、ContourTool几个类之间的区别和联系
首先看看MITK帮助文档里类的说明mitk::Contour(已被停用,用ContourModel代替) Contour类继承自mitk::BaseData,存储contour中的所有点。供参考的函数: SetClosed() SetSelected() SetWidth() AddVertex(mitk::Point3D newPoint)mitk::ContourMode
2015-03-28 12:01:23 1021
翻译 MITK Properties背后的概念
一个datanode含有Properties属性,MITK根据这些信息操作datanode。这些属性信息不作为datanode内部数据,但却是rendering或interaction时需要的。读取和设置property//1: Read a propertymitk::Property::Pointer readProperty = node->GetProperty("color")
2015-03-27 16:46:02 1632
原创 MITK分割模块疑问之ToolManager
MITK平台自带分割模块,其中涉及很多交互问题,比如监听鼠标事件,对轮廓的渲染等。对于接触MITK的新手来说,弄懂这个模块就能学到MITK中非常非常重要的一部分内容:状态机和交互。mitk::ToolManagerMITK自带很多分割小工具,比如我们在插件中看到的AddContourTool, SubtractContourTool等等mitk::SegTool2D,这些都继承自mitk:
2015-03-24 21:41:53 1473
转载 C++多维数组的声明和使用
原贴地址:点这里。This is another topic we get asked quite a bit.- How do I do a 2D/3D Array?When I also started working with multi-dimensional arrays I found it hard to find the answers I wanted too.
2015-01-15 19:04:01 899
原创 TinyXML在MITK中的使用
环境:VS2010\windows 7 x64TinyXML读写XML文件非常方便,且极易集成到VS工程中。如何使用TinyXML的方法很多,在此只介绍如何在MITK中使用TinyXML。1. 下载TinyXML后解压,解压后可以看到文件夹内的六个文件: tinyxml.cpp, tinyxml.h, tinyxmlerror.cpp, ti
2015-01-11 16:49:05 767
原创 人脸检测开源库stasm在VS2010环境下的64位编译
Stasm是寻找人脸特征的C++开源库,实现了ASM模型和AAM模型。使用Stasm需要编译好的openCV。这里给出了它在Windows下的编译方法以及编译报错的解决办法。
2014-12-25 17:21:40 3736
原创 用VS2010编译64位VOSM(Vision Open Statistical Models)
在win7+VS2010环境下编译VOSM。需要事先编译好OpenCV和boost库。OpenCV编译OpenCV可参照网上教程。BoostBoost库的编译可参照以下博客: http://blog.csdn.net/great3779/article/details/7310392 注意:使
2014-12-22 16:17:17 2028 3
翻译 医学图像处理开源软件
GenericRegistrationSegmentationVisualizationReconstructionSimulationDiffusion
2014-11-04 00:15:32 3727 2
转载 Creating a 2D Active Shape Model in ITK Using PCA
ITK is an excellent example of an open-source framework in extreme programming. Strengths of the toolkit include superb documentation and list serve support, and a supportive and vibrant programming c
2014-10-14 15:15:19 1725
转载 win8.1中文旗舰版输入法默认英文
1、在Win8.1中找出中文-美式键盘打开 CMD,输入 regedit 打开注册表编辑器;展开 HKEY_CURRENT_USER/Keyboard Layout/Substitutes,新建"字符串值",名称为 00000804,值为 00000409;展开 HKEY_CURRENT_USER/Keyboard Layout/Preload,新建"字符串值",名称为 1,值
2014-08-09 11:50:44 2486
原创 C++通过ostringstream实现任意类型转string
2010年9月23日代码疯子再使用整型转string的时候感觉有点棘手,因为itoa不是标准C里面的,而且即便是有itoa,其他类型转string不是很方便。后来去网上找了一下,发现有一个好方法:#include #include #include using namespace std;int main(){ int a = 55; doubl
2014-08-04 16:35:07 7621 1
水平集分割工具箱之matlab代码
2014-11-08
Level Set Methods之Matlab源码
2014-11-08
Image Processing: The Fundamentals, Second Edition
2014-08-11
NGUI: Next-Gen3.0.7f1
2013-12-19
Level Set Methods and Fast Marching Methods
2013-11-04
ShatterToolkit
2013-09-24
SmoothMoves
2013-09-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人