edu.mines.jtk.dsp.Tensors2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edu-mines-jtk Show documentation
Show all versions of edu-mines-jtk Show documentation
Java packages for science and engineering
The newest version!
/****************************************************************************
Copyright 2008, Colorado School of Mines and others.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
****************************************************************************/
package edu.mines.jtk.dsp;
/**
* An interface for 2D tensors used in anisotropic 2D image processing.
* Each tensor is a symmetric positive-semidefinite 2-by-2 matrix:
*
* A = |a11 a12|
* |a12 a22|
*
*
* @author Dave Hale, Colorado School of Mines
* @version 2008.07.28
*/
public interface Tensors2 {
/**
* Gets tensor elements for specified indices.
* @param i1 index for 1st dimension.
* @param i2 index for 2nd dimension.
* @param a array {a11,a12,a22} of tensor elements.
*/
public void getTensor(int i1, int i2, float[] a);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy