Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
24 Nov 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Kroon, Dirk-Jan

*Christos

Thank you for your bug report, I will try to fix them in the next code update.

Best regards, Dirk-Jan

24 Nov 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon christos

I ve sent two posts but the first did not show up.
RE: my post on 23 NOV 09

If one of the sub-regions in b-spline registration corresponds to a totally masked out part of the image (hence the mask is not empty but populated only by zeros), then the image_difference in the MI returns an NaN value.

As a workaround you can probably check for this case and simply set the image similarity to 0 for these regions. See previous post for the exact if statement

23 Nov 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon christos

you need to put t=0 if the expression in the if does not stand

if( isempty(Mask) | (~isempty(Mask) & ~isempty(find(Mask~=0) ) ) )
 
   %your code
   if(size(U,3)==3),
   .....
   end
else
    t = 0;
end

22 Nov 2009 Lucas Kanade affine template tracking Lucas Kanade affine template tracking , also robust inverse in c-code. Author: Dirk-Jan Kroon Cheng, Raymond

Nice demo.

22 Nov 2009 Lucas Kanade affine template tracking Lucas Kanade affine template tracking , also robust inverse in c-code. Author: Dirk-Jan Kroon Cheng, Raymond

22 Nov 2009 Image Edge Enhancing Coherence Filter Toolbox Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) Author: Dirk-Jan Kroon yao, bin

A great code for studying diffusion filtering implementation. Thanks a lot for sharing.

I have two questions about the scheme
1) implicit scheme : does it means using semi-implicit AOS scheme to implementation?
 
2) diffusion_scheme_3D_implicit.m , you said "!! Scheme is unstable, and not ready to use yet." what is the problem?

17 Nov 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon Chiu, PX

This seriously looks like great stuff, unfortunately, I can't get the c file to compile..

icc: command line warning #10157: ignoring option '-w'; argument is of wrong type
icc: error #10104: unable to open 'all'
mex: compile of ' "eig3volume.c"' failed.

Any help?? Thx in advance!

11 Nov 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Li, Chao

Hi Dirk,

excellent code.
One trivial thing I'd like to report is that:
in deciding max refinements steps (e.g., line 255 in 'register_image.m, Version18e'), its better to define the lower bound of MaxItt to account for small images.

09 Nov 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Kroon, Dirk-Jan

Dear Hui,

(1) Indeed 'p' doesn't exist, I will replace it with 'd' in the next update.

(2)
The scaling [1 1 1 0.1 0.1] is because the parameters are [translateX translateY rotate resizeX resizeY]. If you change the size of the image only a little bit it will produce large pixel movements. An optimizer produces the best result if all parameters have approximately the same influence on the image transformation, thus we introduced the scaling.

Dirk-Jan Kroon

06 Nov 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon li

Thank u. It realy helps me a lot!

06 Nov 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Hui

Hi, Dirk,

Thanks for sharing the excellent codes.
I have two questions about your version18e codes:

1. In image_difference.m, line 34, if(exist('type','var')==0), type='p'; end. should here type = 'd' as default? Because there is no type 'p'

2. In example_2d_affine.m, can you explain a little bit about why the scale = [1 1 1 0.1 0.1] needed here? I didn't figure out the purpose of scale here.

Thanks very much.

Hui

04 Nov 2009 Bias Field Corrected Fuzzy C-Means Estimates the illumination artifact in 2D (color) and 3D CT and MRI and segments into classes. Author: Dirk-Jan Kroon ccccccc, ciaiaia

uhm in this folder D:\bin there are
mex.pl and BCFCM2D.c and many files [all files of this application *.m, *.c]
and mexutils.pm and mexsetup.pm ecc and many .bat for example [matlab]

why it doesnt find 'BCFCM2D.c' file? there is it in folder :/

Otherwise I try mex-setup but at the end there is the same the error

03 Nov 2009 Bias Field Corrected Fuzzy C-Means Estimates the illumination artifact in 2D (color) and 3D CT and MRI and segments into classes. Author: Dirk-Jan Kroon Kroon, Dirk-Jan

*ciaiaia ccccccc
The error is very clear it cannot find the file, probably you executed the MEX command from a different folder ?

Otherwise try "mex -setup" to reset your compiler settings.

03 Nov 2009 Bias Field Corrected Fuzzy C-Means Estimates the illumination artifact in 2D (color) and 3D CT and MRI and segments into classes. Author: Dirk-Jan Kroon ccccccc, ciaiaia

D:\BIN\MEX.PL: Error: 'BCFCM2D.c' not found.
 
??? Error using ==> mex
Unable to complete successfully.

Error in ==> Untitled2 at 3
    mex BCFCM2D.c -v;

22 Oct 2009 Accurate Fast Marching Multistencils second order Fast Marching 2D and 3D including rk4 shortest path tracing Author: Dirk-Jan Kroon Matteo

Does this work with R2007a? Thank you

21 Oct 2009 Viewer3D MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI Author: Dirk-Jan Kroon Teng, Ted

excellent work. thanks for sharing!

11 Oct 2009 Fast/Robust Template Matching Template Matching with SSD Block Matching and Normalized CC, (color) 2D and 3D Author: Dirk-Jan Kroon Tony

The function 'normxcorr2' available in matlab is faster than the code you submitted. Please profile it and see for yourself. But thanks for sharing the code.

06 Oct 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Liang, Xi

Dear Dirk,

The volume I want to show is very noisy, and by using the function of "showcs3", the images appear to be much less noisy. I assume there are certain kind of filter used. Would you please roughly point out where it is in the code?

02 Oct 2009 Image Edge Enhancing Coherence Filter Toolbox Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) Author: Dirk-Jan Kroon Kroon, Dirk-Jan

I uploaded a new version with derivative boundary check bug fixed, probably tomorrow online. thnx Elmar.

02 Oct 2009 Image Edge Enhancing Coherence Filter Toolbox Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) Author: Dirk-Jan Kroon Kroon, Dirk-Jan

*Elmar
Thank you for sharing the solution for your NaN problem.
Now, I know it's probably caused by a boundary check problem.

Dirk-Jan

01 Oct 2009 Image Edge Enhancing Coherence Filter Toolbox Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) Author: Dirk-Jan Kroon Elmar

I permuted the directions of the volume so that it is 147x227x227, now it works perfectly

01 Oct 2009 Image Edge Enhancing Coherence Filter Toolbox Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) Author: Dirk-Jan Kroon Kroon, Dirk-Jan

* Elmar,

Thank you for your report, I never experienced NaN's my self.
Maybe you can add a small value to rule out division by zero.

If you still have problems, maybe you can share a part of the volume data with me?

Thanx, Dirk-Jan

01 Oct 2009 Image Edge Enhancing Coherence Filter Toolbox Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert ) Author: Dirk-Jan Kroon Elmar

Thanks for sharing this tool! works very well and fast, but i'm experiencing some problems:
I'm trying to filter a 3D MRI volume of size 227x227x147. Depending on the value of 'rho' I use I get a variable number of slices in the third dimension that are all 'NaN'. The bigger rho, the more NaN slices are in the output image volume. For every value of T used the number of NaN-slices accumulates, so that after several timesteps the whole image volume consists of NaNs.
What could be the reason for the NaNs in the output?

My original image is single and normalized to a range of 0 to 1 and does not contain any NaNs.
thx, Elmar

30 Sep 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Kroon, Dirk-Jan

*James Ford,

Thank you, for the comments.

I've made some improvements, fixed the bugs you pointed out and tested the code in Ubuntu, new version is probably online tomorow.

Dirk-Jan Kroon

30 Sep 2009 Viewer3D MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI Author: Dirk-Jan Kroon Schurger, Aaron

Outstanding! Sometimes has an error when I switch to a different rendering mode. Thanks for this application.

24 Sep 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon Alan

This is a great application! I was wondering if anyone could recommend a suitable value of sigma for segmenting Arteries in a brain MRI? Is the default value of sigma suitable?

23 Sep 2009 Region Growing Segmentation by growing a region from seed point using intensity mean measure Author: Dirk-Jan Kroon lumber, jack

22 Sep 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Ford, James

I get a different compile error under Linux -- redefinition of a function. I think it's a typo in the code... in bspline_error_2d_double.c, you have

(line 150)
#ifdef _WIN32
  unsigned __stdcall transformvolume_error_color(double **Args) {
#else
  void transformvolume_error_color(double **Args) {
#endif

and later
(line 485)
#ifdef _WIN32
  unsigned __stdcall transformvolume_gradient_color(double **Args) {
#else
  void transformvolume_error_color(double **Args) {
#endif

Those function names should match on both?

After I change this, it compiles but doesn't link. :-(

>> compile_c_files
compiling : bspline_error_2d_double.c
image_interpolation.o: In function `mindex2':
image_interpolation.c:(.text+0x0): multiple definition of `mindex2'
bspline_error_2d_double.o:bspline_error_2d_double.c:(.text+0x0): first defined here

and 8-10 more like that.

20 Sep 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon zhao, jichao

That is great, many thanks for sharing, all the forks. I am wondering whether somebody here uses a similar idea to obtain fiber orientations from 2D/3D images. I guess it uses the eigenvectors and eigenvalues of gradient matrix of the input images.

20 Sep 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon Teng, Ted

i've actually made a video on this topic if your interested.
http://www.youtube.com/watch?v=4NogJnBipu0
and here are some papers for you to read.
Frangi, A., et al., Multiscale vessel enhancement filtering,
http://www.springerlink.com/content/a57784628587870p/
Krissian, K., et al., Model-based detection of tubular structures in 3D images,
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.98.4723&rep=rep1&type=pdf
http://doi.ieeecomputersociety.org/10.1109/MMBIA.1996.534065
Aylward, S.R., et al., Initialization, noise, singularities, and scale in height ridge traversal for tubular object centerline extraction, http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=993126
Sata. Y., et al., 3D multi-scale line filter for segmentation and visualization of curvilinear structures in medical images, http://www.springerlink.com/content/d8752l41j884u249/

20 Sep 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon Teng, Ted

18 Sep 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon dfds, ff

yeha,it's a excellent work! thanks,Dirk-Jan Kroon

16 Sep 2009 Mex Multithreading Example of (Windows) multi-threading in a MEX file Author: Dirk-Jan Kroon Jveer

can this capability be compiled into a standalone application using the matlab compiler?

16 Sep 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon xu, zhang

I'm currently working on this subject, can you point some related resource or important papers to me.
Thank you!

14 Sep 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon Abraham, J

Could list a few references that we can read on this filter, implementation any literature for the implementation please? Thank you

11 Sep 2009 Basic PCA based log-Likelihood Classifier PCA algorithm suitable for detection / recognition of 2D image "objects" Author: Dirk-Jan Kroon meen, ana

very good work

10 Sep 2009 Viewer3D MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI Author: Dirk-Jan Kroon Deng, Siyi

awesome!

07 Sep 2009 DTI and Fiber Tracking Diffusion MRI (DTI), calculates FA, ADC, Vector Field, and will track and visualize neural tracts. Author: Dirk-Jan Kroon Yaman, Alper

In FT.m line 41 should be "fiber=zeros(parameters.FiberLengthMax,3);" not "fiber=zeros(600,3);".

05 Sep 2009 Fast/Robust Template Matching Template Matching with SSD Block Matching and Normalized CC, (color) 2D and 3D Author: Dirk-Jan Kroon Masoud

Perfect. It is fast and robust.
Thank you

27 Aug 2009 Accurate Fast Marching Multistencils second order Fast Marching 2D and 3D including rk4 shortest path tracing Author: Dirk-Jan Kroon Nora

Nice submission, works perfectly, and well commented. Thank you!
One thing I was wondering:
Is it possible to give a maximum distance to compute, and not fill the entire image with correct distances? In my problem that would speed up computation considerably.

Furthermore, I deleted the line
if(itt==652221) { printf("569 \n"); }
in msfm2d.c as it put my command window full with 569s.

20 Aug 2009 multimodality non-rigid demon algorithm image registration non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf. Author: Dirk-Jan Kroon Adeola

Hi Sir, your work is very good & relevant. Im still a beginner in Matlab environment. Im working on a project that is related to your work. I tried running the codes but for the basic_demon_example, it gave me an error message at line 50, that is, [M=movepixels(I1,Tx,Ty);]. Can you pls help me? Hoping to hear from you soonest.

18 Aug 2009 Polygon2Voxel Convert a triangulated mesh into a voxel volume Author: Dirk-Jan Kroon Rubio Martín, Óscar J.

Incredible performance! Very good

17 Aug 2009 multimodality non-rigid demon algorithm image registration non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf. Author: Dirk-Jan Kroon zhao, jichao

Hi, Sir, your codes are definitely good. When I use your 3D example in register_volumes, the results shown by showcs3
looks weird. Also the values range from -0.2 to 0.3 for example.
Can you explain why it. On the other hand, when I used Ireg2=movepixels(Istatic,Fx,Fy,Fz); showcs3(Ireg2);
Ireg2, however, turns out to be surprising good. thanks.

13 Aug 2009 Polygon2Voxel Convert a triangulated mesh into a voxel volume Author: Dirk-Jan Kroon Deng, Siyi

very helpful. Good job.

12 Aug 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon zhao, jichao

Thank both of you, Brian and Dirk-Jan Kroon, cheers, jichao zhao

12 Aug 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon zhao, jichao

many thanks for your reply.

12 Aug 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon Kroon, Dirk-Jan

*jichao zhao
showcs3 always uses the default Matlab image ranges, thus if a double or single it sets black to 0 and white to 1, and if uint8 black to 0 and white to 255.
That your image range is 0 to 60 instead of 0 to 1 will influence registration, because the pixel based penalty will now be larger in comparison to the smoothness penalty.
I almost always normalize my data to range [0..1] by V=V-min(V(:)); V=V./max(V(:));

12 Aug 2009 multimodality non-rigid demon algorithm image registration non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf. Author: Dirk-Jan Kroon zhao, jichao

Could you please make good examples for 3D rigid and nonrigid registration which demonstrate how to set parameters for registration? thanks, jichao

12 Aug 2009 non-rigid b-spline grid image registration Registration of two 2D/3D images, rigid and with smooth b-spline grid. Author: Dirk-Jan Kroon zhao, jichao

When I used the function "showcs3", my input images are pure black
and white, but when I used matlab built-in fucntion imagesc, I can see my images are gray color instead of pure black and white. Also when I use colormap, I can see the color ranges from 0 to 60. So my question is that why my images are pure black-white when plotted using showcs3 and whether it influences results of registration or not. Many thanks. If you need, I can send you my image data. thanks, jichao

11 Aug 2009 Hessian based Frangi Vesselness filter Enhancement of Vessel/ridge like structures in 2D/3D image using hessian eigen values Author: Dirk-Jan Kroon Afonso, Bruno

This was a very handy implementation! Thanks.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com