Functions
sound_classification.process_gray_image Namespace Reference

Functions

def img_jet (img)
 
def normalize_gray_image (img)
 
def smooth_gray_image (raw_img)
 
def spectral_subtract (img, noise)
 

Function Documentation

◆ img_jet()

def sound_classification.process_gray_image.img_jet (   img)
Convert input to jet image if input is mono image.
input : cv2 8UC1 image
output: cv2 8UC3 image

Definition at line 39 of file process_gray_image.py.

◆ normalize_gray_image()

def sound_classification.process_gray_image.normalize_gray_image (   img)
Convert input gray image to 8FC1 gray image.
At this time, each pixel is normalized between 0 ~ 255.
input:  cv2 image
output: cv2 image

Definition at line 25 of file process_gray_image.py.

◆ smooth_gray_image()

def sound_classification.process_gray_image.smooth_gray_image (   raw_img)
Blur to gray image
input:  cv2 32FC1 image
output: cv2 32FC1 image

Definition at line 16 of file process_gray_image.py.

◆ spectral_subtract()

def sound_classification.process_gray_image.spectral_subtract (   img,
  noise 
)

Definition at line 6 of file process_gray_image.py.



sound_classification
Author(s):
autogenerated on Fri May 16 2025 03:12:55