No BSD License  

Highlights from
structure tensor - introduction and tutorial

5.0

5.0 | 2 ratings Rate this file 45 Downloads (last 30 days) File Size: 408.9 KB File ID: #12362
image thumbnail

structure tensor - introduction and tutorial

by Shawn Arseneau

 

21 Sep 2006 (Updated 01 Nov 2006)

Comprehensive intro to structure tensors both in 2D and 3D

| Watch this File

File Information
Description

Tutorial on structure tensors. Normally associated with image processing and structure inference, this code provides a completely encapsulated package to explain and demonstrate the use of structure tensors.

playshow structureTensorDemo

or use the html to properly visualize the LaTeX equations.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
30 Oct 2006 dong huang

>> structureTensorDemo
Isotropic Case: Directional Derivative Magnitude=0.000000
Uniform Color Case: Directional Derivative Magnitude=0.000000
Note how the coherence measure is different for each case
Isotropic case coherence:0.000000
Uniform color case coherence:1.000000
??? Undefined command/function 'voxel_plot'.

Error in ==> visualize_3D_data at 30
               voxel_plot([c,r,d],vColor, 1-data(c,r,d));

Error in ==> structureTensorDemo at 341
    visualize_3D_data(stepPlaneData);

15 Nov 2006 Emilio Gomez

??? Error using ==> quiver
Too many input arguments.

Error in ==> C:\MATLAB6p5\work\ST_pub\structureTensorDemo.m
On line 81 ==> quiver(midpt, midpt, cU, cV, midpt, 'r', 'LineWidth', 5, 'MaxHeadSize', 5);

21 Nov 2006 S Arseneau

Emilio,
I believe that your issue may be that you are using an older version of MatLab as I see from your directory path that you are using MatLab 6. To provide a quick fix, I suggest looking at your local help file (which should still have your appropriate function parameters) for 'quiver'. Otherwise, I suggest re-coding the source to:
quiver(midpt, midpt, cU, cV);
This won't have any of the cool visualization, but I suspect it may work for your version of MatLab. You can also try to re-code based on the premise that the current version of quiver works as follows:
quiver(xpos, ypos, xMagnitude, yMagnitude, scaleFactor, lineSpec, ...);

Hope that this helps you out.

03 Apr 2008 Ben Kang

Great jobs!

30 Oct 2009 Lin Naiyang  
18 May 2012 bo

nice work

Please login to add a comment or rating.
Updates
01 Nov 2006

Inclusion of voxel_plot function

Tag Activity for this File
Tag Applied By Date/Time
tutorial Shawn Arseneau 22 Oct 2008 08:40:28
example Shawn Arseneau 22 Oct 2008 08:40:28
structure tensor 2d 3d ellipse Shawn Arseneau 22 Oct 2008 08:40:28
example Stelios Flamp 14 Jan 2009 10:55:27
structure tensor 2d 3d ellipse Stelios Flamp 14 Jan 2009 10:55:30
tutorial Stelios Flamp 14 Jan 2009 10:55:32
structure tensor 2d 3d ellipse Arun Babu 15 Nov 2010 03:17:17
example marlon 27 Apr 2011 13:02:57
structure tensor 2d 3d ellipse Matt Wolinsky 06 Nov 2011 17:56:18

Contact us at files@mathworks.com