Esempio n. 1
0
    def structureTensorEigenvalues(image, innerScale, outerScale, out = None):
        '''Compute the eigenvalues of the structure tensor at the given scales
           for a scalar or multi-channel image or volume.
           
           Calls :func:`structureTensor` and :func:`tensorEigenvalues`.
        '''

        return filters.tensorEigenvalues(filters.structureTensor(image, innerScale, outerScale), out=out)
Esempio n. 2
0
    def hessianOfGaussianEigenvalues(image, scale, out = None):
        '''Compute the eigenvalues of the Hessian of Gaussian at the given scale
           for a scalar image or volume.
           
           Calls :func:`hessianOfGaussian` and :func:`tensorEigenvalues`.
        '''

        return filters.tensorEigenvalues(filters.hessianOfGaussian(image, scale), out=out)
Esempio n. 3
0
    def structureTensorEigenvalues(image, innerScale, outerScale, out=None, 
                                   sigma_d=0.0, step_size=1.0, window_size=0.0, roi=None):
        '''Compute the eigenvalues of the structure tensor at the given scales
           for a scalar or multi-channel image or volume.
           
           Calls :func:`structureTensor` and :func:`tensorEigenvalues`.
        '''

        st = filters.structureTensor(image, innerScale, outerScale, 
                                     sigma_d=sigma_d, step_size=step_size, 
                                     window_size=window_size, roi=roi)
        return filters.tensorEigenvalues(st, out=out)
Esempio n. 4
0
 def hessianOfGaussianEigenvalues(image, scale, out=None, 
                                  sigma_d=0.0, step_size=1.0, window_size=0.0, roi=None):
     '''Compute the eigenvalues of the Hessian of Gaussian at the given scale
        for a scalar image or volume.
        
        Calls :func:`hessianOfGaussian` and :func:`tensorEigenvalues`.
     '''
     
     hessian = filters.hessianOfGaussian(image, scale, 
                                         sigma_d=sigma_d, step_size=step_size, 
                                         window_size=window_size, roi=roi)
     return filters.tensorEigenvalues(hessian, out=out)