Public Member Functions | |
def | __init__ (self) |
def | subscribe (self) |
def | unsubscribe (self) |
![]() | |
def | __init__ (self) |
def | advertise (self, *args, **kwargs) |
def | peer_subscribe (self, *args, **kwargs) |
def | peer_unsubscribe (self, *args, **kwargs) |
def | subscribe (self) |
def | unsubscribe (self) |
Public Attributes | |
bridge | |
mean_spectrum | |
noise_data_path | |
pub | |
pub_normalized | |
sub | |
train_dir | |
Private Member Functions | |
def | _process (self, imgmsg) |
This class is to preprocess gray spectrogram for classifying. 1. Spectral subtraction by spectral subtraction method # 2. Smooth spectrogram # 3. Normalize spectrogram (32FC1 -> 8UC1, make each pixel value 0 ~ 255)
Definition at line 13 of file preprocess_gray_image.py.
def preprocess_gray_image.PreprocessGrayImage.__init__ | ( | self | ) |
Definition at line 21 of file preprocess_gray_image.py.
|
private |
Definition at line 48 of file preprocess_gray_image.py.
def preprocess_gray_image.PreprocessGrayImage.subscribe | ( | self | ) |
Definition at line 41 of file preprocess_gray_image.py.
def preprocess_gray_image.PreprocessGrayImage.unsubscribe | ( | self | ) |
Definition at line 45 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.bridge |
Definition at line 35 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.mean_spectrum |
Definition at line 30 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.noise_data_path |
Definition at line 27 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.pub |
Definition at line 36 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.pub_normalized |
Definition at line 37 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.sub |
Definition at line 42 of file preprocess_gray_image.py.
preprocess_gray_image.PreprocessGrayImage.train_dir |
Definition at line 25 of file preprocess_gray_image.py.