Skip to content

Implement image-manipulation functions using a quaternary tree in C

Notifications You must be signed in to change notification settings

Carusel02/Image-manipulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quaternary tree

Implementation

  • The most important part is the correct reading of the binary file and the correct transposition of the pixels in a matrix dynamically allocated.
  • As a way of working, we need a main function processing that calculates the similarity score and compares it with a certain threshold.
  • Then, calls are made according to the function (recursively) as many times as needed to divide the initial matrix in 4 quarters and the information is stored each time in a tree.
  • A function that transposes the elements from one tree to another is also necessary vector and vice versa, the implementation consists of recursive calls.
  • I did too 2 functions for specific writing of output files, and a function which calculates the average value of a color channel.

About

Implement image-manipulation functions using a quaternary tree in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published