ImageScience 3.0.0

imagescience.segment
Class ZeroCrosser

java.lang.Object
  extended by imagescience.segment.ZeroCrosser

public class ZeroCrosser
extends java.lang.Object

Detects zero-crossings in images.


Field Summary
 Messenger messenger
          The object used for message displaying.
 Progressor progressor
          The object used for progress displaying.
 
Constructor Summary
ZeroCrosser()
          Default constructor.
 
Method Summary
 void run(Image image)
          Detects zero-crossings in an image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messenger

public final Messenger messenger
The object used for message displaying.


progressor

public final Progressor progressor
The object used for progress displaying.

Constructor Detail

ZeroCrosser

public ZeroCrosser()
Default constructor.

Method Detail

run

public void run(Image image)
Detects zero-crossings in an image.

Parameters:
image - The input image in which zero-crossings are to be detected. The image is overwritten with the detection results. To determine whether a zero-crossing is present, this method compares the signs of neighboring image elements, and if they are different, it uses a linear interpolation scheme to determine the element whose center is closest to the location of the crossing. This element is then set to 255. Other elements are set to 0. If the size of the image in the z-dimension equals 1, this method compares neighboring elements in 2D (x-y space), otherwise it compares neighboring elements in 3D (x-y-z space). The algorithm is applied to every x-y(-z) subimage in a 5D image.
Throws:
java.lang.NullPointerException - If image is null.

ImageScience 3.0.0

Copyright (C) Erik Meijering. Permission to use this software and corresponding documentation for educational, research, and not-for-profit purposes, without a fee and without a signed licensing agreement, is granted, subject to the following terms and conditions.

IT IS NOT ALLOWED TO REDISTRIBUTE, SELL, OR LEASE THIS SOFTWARE, OR DERIVATIVE WORKS THEREOF, WITHOUT PERMISSION IN WRITING FROM THE COPYRIGHT HOLDER. THE COPYRIGHT HOLDER IS FREE TO MAKE VERSIONS OF THE SOFTWARE AVAILABLE FOR A FEE OR COMMERCIALLY ONLY.

IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OF ANY KIND WHATSOEVER, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.

THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE EXPRESS OR IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND CORRESPONDING DOCUMENTATION IS PROVIDED "AS IS". THE COPYRIGHT HOLDER HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.