ITK/VTK
文章平均质量分 55
juliosun
这个作者很懒,什么都没留下…
展开
-
vtk 显示分割线
void vtkPiecewiseFunction::AddSegment(double x1, double y1, double x2, double y2 ) Add a line segment to the function. Al转载 2012-12-04 11:47:53 · 942 阅读 · 0 评论 -
itk Transform SetParameters
void itk::BSplineBaseTransform< TScalarType, NDimensions, VSplineOrder >::SetParameters(const ParametersType & parameters) This method sets the parameters of the transform. F转载 2013-04-10 17:29:24 · 1122 阅读 · 0 评论 -
CenteredTransformInitializer 确定 Transform 初始中心
templateclass itk::CenteredTransformInitializerCenteredTransformInitializer is a helper class intended to initialize the center of rotation and the translation of Transforms having the center转载 2013-03-28 15:43:43 · 1539 阅读 · 0 评论 -
itk copy a image
templateclass itk::ImageDuplicatorA helper class which creates an image which is perfect copy of the input image.This class is NOT a filter. Although it has an API similar to a filter, this转载 2013-04-21 19:52:45 · 1241 阅读 · 0 评论 -
用Cmake编译调用Qxt,Qwt和Qserialport
最近用Cmake编译VTK-Qt 的程序, 需要调用Qwt. 以前在Qt creator里用.pro文件配置很方便. 现在要用Cmake吧header和 libraries 链接到程序.需要注意的是如果要使用Qdesigner设计界面的话, 要保证所有的相关libraries都要编译为Release. 如果自己写codes就没有这个限制, 只要debug保持一致或者 release保持一致.原创 2013-05-09 16:31:30 · 1603 阅读 · 0 评论 -
vtk 3维render 提升速度几种方法
vtk体绘制速度提升几点小Tip1. 使用vtkImageResample,通过线性插值方式对输入的数据进行重新采样,来修改输出的数据的spacing及extent。一般使用方法: SetAxisMagnificationFactor进行设置。 SetInput(reader.GetOutput()); SetAxisMagnificationFactor(0, 0转载 2013-05-23 18:06:11 · 5451 阅读 · 0 评论 -
QvtkWidget 和 vtkImageViewer2 改变default mouse interactorStyle
重载的vtkInteractorStyleTrackballCamera 也可以是子类 vtkInteractorImage. 同时要注意qvtk 与vtkImageViewer的 RenderWindow与Interactor的共享, 多以qvtk为准. SetInteractor 一定要在 SetRenderWindow之前, 以避免error出现. "viewer.h"// Over原创 2013-05-23 17:56:21 · 4057 阅读 · 0 评论 -
vtkResetCamera 用法
void vtkRenderer::ResetCamera( ) Automatically set up the camera based on the visible actors. The camera will reposition itself to view the center point of the actors, and move a转载 2013-06-05 17:08:30 · 2696 阅读 · 0 评论 -
itkGDCMSeriesFileNames how to read filenames
Detailed DescriptionGenerate a sequence of filenames from a DICOM series.This class generate a sequence of files whose filenames points to a DICOM file. The ordering is based on the follow转载 2013-07-19 18:44:24 · 1276 阅读 · 0 评论 -
itk demon registration内存不足
Description: Failed to allocate memory for imageThe amount of 2.5Gb is consistent with what we think the Demons filterwill require in this case. This amount of memory (2.5Gb) cannot be al原创 2013-10-03 18:06:42 · 1105 阅读 · 0 评论 -
Difference between itk::WarpImageFilter and ResampleImageFilter
The code of the WarpImageFilter isrelatively simple.For practical purposes you may see theWarpImageFilter as a variation of theResampleImageFilter. The difference beingthat it supports a def转载 2013-09-26 15:19:55 · 1207 阅读 · 0 评论 -
How to fix the vtkCamera inverted y axis
Go back to the basics, it is actually quite simple. There is a right-handed coordinate system, the same in ITK and VTK. You must put your camera in a location in space, (defined in原创 2013-11-26 16:44:08 · 1269 阅读 · 0 评论 -
vtkInteractor 几种模式
provide event-driven interface to the rendering window (defines trackball mode)vtkInteractorStyle is a base class implementing the majority of motion control routines and defines an event driven原创 2013-05-24 13:54:25 · 4290 阅读 · 0 评论 -
itk::ConfidenceConnectedImageFilter
templateclass itk::ConfidenceConnectedImageFilterSegment pixels with similar statistics using connectivity.This filter extracts a connected set of pixels whose pixel intensities are consiste转载 2013-12-03 14:53:18 · 1564 阅读 · 0 评论 -
itk Get Image Region Methods
* LargestPossibleRegion is the total size of the image* BufferedRegion is the portion of the image that is currently loaded in memory* RequestedRegion is the portion that the pipe转载 2013-04-09 16:30:27 · 798 阅读 · 0 评论 -
itk image pyramid
templateclass itk::MultiResolutionPyramidImageFilterFramework for creating images in a multi-resolution pyramid.MultiResolutionPyramidImageFilter provides a generic framework to to create转载 2013-04-05 21:03:33 · 1115 阅读 · 0 评论 -
ITK registration optimizer scaling, offset and step length
The recommendation for the scaling of translation parametersversus rotation parameter is to use a factor proportional tothe diagonal length of the image.For your case the, you have 100 pixels with转载 2013-04-01 14:12:43 · 1077 阅读 · 0 评论 -
vtk clamping 显示区域范围
virtual void vtkPiecewiseFunction::ClampingOn( ) virtualWhen zero range clamping is Off, GetValue() returns 0.0 when a value is requested outside of the points spec转载 2012-12-04 12:26:45 · 1050 阅读 · 0 评论 -
vtk opacityTransferFunction用法
这块是ray cast volume rendering最重要的transfer function。你要知道不同你数据不同位置的iso-value。更具iso-value来设置这个。这个设置有问题。 前面一个值是你数据的iso-value,后面一个值是opacity(透明度)。而且transfer function的设置不是这样的。给一个例子(tcl)vtkPiecew转载 2012-12-04 10:47:34 · 1499 阅读 · 0 评论 -
Install QVTK widget as a plugin
The QVTK Widget is one of the main 'bridges' from Qt to VTK (Titan). It's a widget that shows a OpenGL representation of some kind and it allows a titan data structure (vtkTree, vtkGraph) to be displa转载 2012-12-04 17:15:23 · 1366 阅读 · 0 评论 -
ITK IOBase 图像属性
std::string GetByteOrderAsString (ByteOrder) constvirtual IOComponentType GetComponentType () conststd::string GetFileTypeAsString (FileType) const转载 2012-12-04 21:13:10 · 1151 阅读 · 0 评论 -
Install QVTK plugin
Using QVTKwidgetAssuming that you have built a shared build of VTK and you may or maynot have a set it up such that there is a path to the release versionof VTK in your PATH statement.Then i原创 2012-12-07 19:52:10 · 1657 阅读 · 0 评论 -
ITK MetaIO tags
Reference: Tags of MetaImageMetaObject TagsThe tags of MetaObject are:CommentMET_STRINGUser defined - arbitraryObjectTypeMET_STRINGDefined by derived objects – e.g., Tube, Image转载 2012-12-10 10:34:51 · 645 阅读 · 0 评论 -
itk filter hierarchy
转载 2012-12-30 16:08:24 · 774 阅读 · 0 评论 -
itk input and output
ProcessObject is an abstract object that specifies behavior and interface of network process objects (sources, filters, mappers). Source objects are creators of visualization data; filters input, pr转载 2012-12-30 16:14:00 · 593 阅读 · 0 评论 -
itk Casting and Intensity Mapping
1 Linear Mappings主要的类:itk::CastImageFilter;itk::RescaleIntensityImageFilter;itk::ShiftScaleImageFilter;itk::NormalizeImageFilter.以上四个类的变换规则分别是: (1) itk::CastImageFilter:转载 2013-01-08 17:25:43 · 1346 阅读 · 0 评论 -
How to extract component from vector image
Save to file:itk::VectorIndexSelectionCastImageFilter Class Template ReferenceExtracts the selected index of the vector that is the input pixel type.This filter is templated over the inp原创 2013-02-01 17:18:59 · 592 阅读 · 0 评论 -
Image adaptor itk
Classesclass itk::AbsImageAdaptor class itk::Accessor::AbsPixelAccessor< TInternalType, TExternalType > class itk::AcosImageAdaptor< TImage, TOutputPixelType转载 2013-02-01 15:53:47 · 587 阅读 · 0 评论 -
itkMacro.h —— ITK宏详细解析
ITK的源代码使用了相当多的宏。查看帮助文档和类的头文件时,会发现帮助文档里的好多函数在头文件里找不到明显的定义,比如说好多函数都是以”Set”或”Get”打头的,但是头文件就是找不到有Set***的函数定义,这就是宏的作用,下面来详细地探讨一下ITK里的宏定义。ITK几乎所有的宏都集中在itkMacro.h文件里,下面结合例子对这里面的常见的宏作一个解析。首先来看一下itkNewMacr转载 2013-03-06 11:01:47 · 1945 阅读 · 0 评论 -
itk 空间变换分类
转载 2013-03-11 11:32:14 · 879 阅读 · 0 评论 -
vtk Camera
3.4 相机观众的眼睛就好比三维渲染场景中的相机,VTK则是用vtkCamera类来表示三维渲染场景中的相机。vtkCamera负责把三维场景投影到二维平面,如屏幕、图像等。图3.6为相机投影示意图。从图3.6可以看出与相机投影相关的因素主要有:l 相机位置:即相机所在的位置,用方法vtkCamera::SetPosition()设置。l 相机焦点:用方法vtk转载 2013-11-25 18:00:06 · 9821 阅读 · 4 评论