Skip to content

preprocess images and generate train, validation, test dataset

Notifications You must be signed in to change notification settings

silenceagle/preprocess-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preprocess-dataset

preprocess images and generate train, validation, test dataset this is my first repository

Class 'Data':

generate a batch of (images, labels) data.

Class 'Data3':

generate a batch of (images, label1s, label2s) data.

function norm_with_l2:

normalize datapoint to unit length (L2 norm equals 1)

function data_norm_zscore

function data_norm_minmax

function _random_choose_fix_proportion_train_test_files

function random_choose_fix_number_image_files

function random_choose_fix_number_image_files_with_category

function split_dataset_to_train_test_with_category

function generate_train_validation_dataset_singlesize_with_category

function generate_dataset_singlesize_with_category

function generate_dataset_singlesize_no_label

function random_perm3

function generate_dataset_multisize_with_cagtegory

function generate_dataset_multisize

function generate_train_validation_dataset_multisize

function generate_train_test_validation_dataset_multisize_with_category

function copy_npy_files_with_category

function img_gray_with_category

function img_gray

function get_and_save_amplitude_image_slc_with_category

function get_and_save_amplitude_image_grd_with_category

function gen_npy_file

function __img_crop_from_center

function crop_imgs_and_save_smaller

function __matrix_padding_multi_size_soft

function __matrix_padding_force_to_get_fix_sized_matrix

function __matrix_padding

function __dataset_padding

function padding_images_with_zero

function padding_images_with_zero_with_category

function padding_images_with_zero_to_square_size

function padding_images_with_zero_to_square_size_with_category

function padding_to_fix_sized_and_save_imgs_with_category

function __sample_img_with_slide_windows

function sample_img_with_slide_window_and_save_npy_with_category

function sample_with_slide_window_and_save_npy_stride

function sample_with_slide_window_and_save_npy_given_image

function resize_img_and_save_to_folder_opensarship_slc_with_category

function resize_img_and_save_to_folder

function resize_img_and_save_to_folder_with_category

function __rotate_img_90_degree

function rotate_img_90degree_and_save_to_folder

function rotate_img_90degree_and_save_to_folder_with_category

function rotate_img_180degree_and_save_to_folder

function rotate_img_180degree_and_save_to_folder_with_category

function rotate_img_270degree_and_save_to_folder

function rotate_img_270degree_and_save_to_folder_with_category

function rotate_imgs

function __flip_img

function flip_img_and_save_to_folder

function flip_img_and_save_to_folder_with_category

function flip_imgs

function gen_dataset_img_size_statistic

function merge_size_list

function change_img_file_extension

function npyz_print_data_shape

function pnpoly

function gen_dataset_ssdd

function gen_dataset_hrsc2016

function rename_and_save_opensarship

function gen_dataset_ship_dataset

About

preprocess images and generate train, validation, test dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages