Filters (Spatial): Gradient Magnitude and Filters (Spatial): Haralick Texture: Difference between pages

From MIPAV
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
Edge detection is the identification of meaningful discontinuities in gray level or color images. Edges are formed between two regions that have differing intensity values. This algorithm calculates the gradient magnitude of an image (or VOI of the image) using the first derivatives (''Gx'', ''Gy'', and ''Gz'' [3D] ) of the Gaussian function at a user-defined scale sigma (standard deviation, or SD) and convolving it with image. The convolution of the first derivatives of the Gaussian with an image is a robust method of extracting edge information. By varying the SD, a scale-space of edges can easily be constructed.
This page is a stub.


==== Image types ====
TBD


You can apply this algorithm to all image data types except complex and to 2D, 2.5D, 3D, and 4D images.
For the information about the Haralick Texture algorithm, refer to [http://mipav.cit.nih.gov/documentation/HTML%20Algorithms/FiltersSpatialHaralickTexture.html the MIPAV HTML help page].
 
==== Special notes ====
 
The following notes apply:
 
* The resultant image is, by default, a float type image;
* To achieve 2.5D blurring (each slide of the volume is processed independently), select Process each slide independently (2.5D) in the Gradient Magnitude dialog box.
 
==== References ====
 
Refer to the following references for more information:
 
Raphael C. Gonzalez and Richard E. Woods, ''Digital Image Processing'' (Boston: Addison-Wesley, 1992).
 
J. J. Koenderink, "The Structure of Images," ''Biol Cybern'' 50: 363-370, 1984.
 
Tony Lindeberg, "Linear Scale-Space I: Basic Theory," ''Geometry-Driven Diffusion in Computer Vision'', Bart M. Ter Har Romeney, ed. (Dordrecht, The Netherlands: Kluwer Academic Publishers, 1994), pp. 1-38.
 
=== Applying the Gradient Magnitude algorithm ===
 
To run this algorithm, complete the following steps:
 
# Select Algorithms > Filter > Gradient Magnitude. The Gradient Magnitude dialog box opens (Figure 1).
# Complete the information in the dialog box.
# When complete, click OK. The algorithm begins to run.
 
; A pop-up window appears with the status. The following message appears: "Calculating the Gradient Magnitude." When the algorithm finishes running, the pop-up window closes.
; Depending on whether you selected New Image or Replace Image, the result appears in a new window or replaces the image to which the algorithm was applied.
 
<div> </div><div>
 
{| border="1" cellpadding="5"
|+ <div>'''Figure 1. Gradient Magnitude dialog box''' </div>
|-
|
<div>'''X Dimension''' </div>
|
<div>Indicates the standard deviation (SD) of Gaussian in the ''X'' direction. </div>
| rowspan="7" colspan="1" |
<div><div><center>[[Image:dialogboxGradientMagnitude.jpg]]</center></div> </div><div> </div>
|-
|
<div>'''Y Dimension''' </div>
|
<div>Indicates the SD of Gaussian in the ''Y'' direction. </div>
|-
|
<div>'''Z Dimension''' </div>
|
<div>Indicates the SD of Gaussian in the ''Z'' direction. </div>
|-
|
<div>'''Use image resolutions to normalize Z scale''' </div>
|
<div>Normalizes the Gaussian to compensate for the difference if the voxel resolution is less between slices than the voxel resolution in-plane. This option is selected by default.  </div>
|-
|
<div>'''Process each slice independently (2.5D)''' </div>
|
<div>Blurs each slice of the dataset independently. </div>
|-
|
<div>'''Process red channel''' </div>
|
<div>Applies algorithm to the red channel only. </div>
|-
|
<div>'''Process green channel''' </div>
|
<div>Applies algorithm to the green channel only. </div>
|-
|
<div>'''Process blue channel''' </div>
| rowspan="1" colspan="2" |
<div>Applies algorithm to the blue channel only. </div>
|-
|
<div>'''New image''' </div>
| rowspan="1" colspan="2" |
<div>Shows the results of the algorithm in a new image window. </div>
|-
|
<div>'''Replace image''' </div>
| rowspan="1" colspan="2" |
<div>Replaces the current active image with the results of the algorithm. </div>
|-
|
<div>'''Whole image''' </div>
| rowspan="1" colspan="2" |
<div>Applies the algorithm to the whole image. </div>
|-
|
<div>'''VOI region(s)''' </div>
| rowspan="1" colspan="2" |
<div>Applies the algorithm to the volumes (regions) delineated by the VOIs. </div>
|-
|
<div>'''OK''' </div>
| rowspan="1" colspan="2" |
<div>Applies the Gradient Magnitude algorithm according to the specifications in this dialog box.  </div>
|-
|
<div>'''Cancel''' </div>
| rowspan="1" colspan="2" |
<div>Disregards any changes that you made in this dialog box and closes the dialog box. </div>
|-
|
<div>'''Help''' </div>
| rowspan="1" colspan="2" |
<div>Displays online help for this dialog box. </div>
|}
 
</div>


[[Category:Help:Stub]]
[[Category:Help]]
[[Category:Help]]
[[Category:Help:Algorithms]]
[[Category:Help:Algorithms]]

Latest revision as of 16:28, 9 February 2024

This page is a stub.

TBD

For the information about the Haralick Texture algorithm, refer to the MIPAV HTML help page.