sunkit_image.utils.noise Module#

This module implements a series of functions for noise level estimation.

Functions#

noise_estimation(img[, patchsize, decim, ...])

Estimates the noise level of an image.

noiselevel(img, patchsize, decim, ...)

Calculates the noise level of the input array.

conv2d_matrix(H, rows, columns)

Specialized 2D convolution matrix generation.

weak_texture_mask(img, patchsize, thresh)

Calculates the weak texture mask.

sunkit_image.utils.utils Module#

This module contains a collection of functions of general utility.

Functions#

bin_edge_summary(r, binfit)

Return a summary of the bin edges.

calculate_gamma(pm, vel, pnorm, n)

Calculate gamma values.

equally_spaced_bins([inner_value, ...])

Define a set of equally spaced bins between the specified inner and outer values.

find_pixel_radii(smap[, scale])

Find the distance of every pixel in a map from the center of the Sun.

get_radial_intensity_summary(smap, ...[, ...])

Get a summary statistic of the intensity in a map as a function of radius.

points_in_poly(poly)

Return polygon as grid of points inside polygon.

reform2d(array[, factor])

Reform a 2d array by a given factor.

remove_duplicate(edge)

Remove duplicated points in a the edge of a polygon.