Data Fields | |
unsigned int | width |
unsigned int | height |
unsigned char * | pixel |
This struct holds a bare-bones image loaded from a PGM or PPM file. Once loaded and pre-processed, each pixel in this struct will contain how far from the edge of the logo each pixel is, using the manhattan distance (|dx| + |dy|).
pixels in char * pixel can be addressed using (y * width) + height.
Definition at line 129 of file vf_remove_logo.c.
unsigned int pgm_structure::height |
Definition at line 132 of file vf_remove_logo.c.
Referenced by calculate_bounding_rectangle(), convert_mask_to_strength_mask(), generate_half_size_image(), load_pgm(), and put_image().
unsigned char* pgm_structure::pixel |
Definition at line 134 of file vf_remove_logo.c.
Referenced by convert_mask_to_strength_mask(), convert_yv12(), destroy_pgm(), generate_half_size_image(), get_blur(), and load_pgm().
unsigned int pgm_structure::width |
Definition at line 131 of file vf_remove_logo.c.
Referenced by calculate_bounding_rectangle(), convert_mask_to_strength_mask(), convert_yv12(), generate_half_size_image(), get_blur(), load_pgm(), and put_image().