Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
Loading...
Searching...
No Matches
metriques.py File Reference

Namespaces

namespace  metriques
 

Functions

 metriques.calculate_NPCR (image1, image2)
 This function calculates the Number of Pixels Change Rate (NPCR) between two images.
 
 metriques.calculate_UACI (image1, image2)
 This function calculates the Unified Average Changing Intensity (UACI) between two images.
 
 metriques.extract_edges_rgb (image)
 This function extracts the edges from an RGB image.
 
 metriques.get_binary_map (edges)
 This function converts an edge map to a binary map.
 
 metriques.calculate_EDR_rgb (image, alt_image)
 This function calculates the Edge Detection Ratio (EDR) between two RGB images.
 
 metriques.extract_edges_gray (image_Y)
 This function extracts the edges from a grayscale image.
 
 metriques.calculate_EDR_gray (image, alt_image)
 This function calculates the Edge Detection Ratio (EDR) between two grayscale images.
 
 metriques.calculate_entropy_rgb (image)
 This function calculates the entropy of an RGB image.
 
 metriques.calculate_entropy_gray (gray_image)
 This function calculates the entropy of a grayscale image.
 
 metriques.get_PSNR_for_images (init_image, alt_images)
 This function calculates the Peak Signal-to-Noise Ratio (PSNR) for a set of images.
 
 metriques.get_PSNR_for_images_and_origins (init_images, alt_images, mode)
 This function calculates the Peak Signal-to-Noise Ratio (PSNR) for a set of images and their origins.
 
 metriques.get_SSIM_for_images_rgb (init_image, alt_images)
 This function calculates the Structural Similarity Index Measure (SSIM) for a set of RGB images.
 
 metriques.get_SSIM_for_images_gray (gray_base_image, alt_images)
 This function calculates the Structural Similarity Index Measure (SSIM) for a set of grayscale images.
 
 metriques.get_SSIM_for_images_and_origins_gray (gray_base_images, alt_images, mode)
 This function calculates the Structural Similarity Index Measure (SSIM) for a set of grayscale images and their origins.
 
 metriques.get_NPCR_for_images (init_image, alt_images)
 This function calculates the Number of Pixels Change Rate (NPCR) for a set of images.
 
 metriques.get_NPCR_for_images_and_origins (init_images, alt_images, mode)
 This function calculates the Number of Pixels Change Rate (NPCR) for a set of images and their origins.
 
 metriques.get_UACI_for_images (init_image, alt_images)
 This function calculates the Unified Average Changing Intensity (UACI) for a set of images.
 
 metriques.get_UACI_for_images_and_origins (init_images, alt_images, mode)
 This function calculates the Unified Average Changing Intensity (UACI) for a set of images and their origins.
 
 metriques.get_EDR_for_images_rgb (init_image, alt_images)
 This function calculates the Edge Detection Ratio (EDR) for a set of RGB images.
 
 metriques.get_EDR_for_images_gray (init_image, alt_images)
 This function calculates the Edge Detection Ratio (EDR) for a set of grayscale images.
 
 metriques.get_EDR_for_images_and_origins_gray (init_images, alt_images, mode)
 This function calculates the Edge Detection Ratio (EDR) for a set of grayscale images and their origins.
 
 metriques.get_entropy_for_images_rgb (alt_images)
 This function calculates the entropy for a set of RGB images.
 
 metriques.get_entropy_for_images_gray (alt_images, mode)
 This function calculates the entropy for a set of grayscale images.