Skip to content

Sorting the pixels of an image according to different criteria.

License

Notifications You must be signed in to change notification settings

Unathi-Skosana/PixelSorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This is just a progress Report. Cool Stuff with Computer Vision Machine Learning libraries and aglos will follow

[NOTE THIS CODE WAS NEVER OPTIMISED. MY MAIN AIM WAS TO MAKE THE PIXEL SORTER WORK]

Example Images [TODO LIST FOLLOWS BELLOW AND SOME NOTES WRITTEN TO THE FUTURE ME THIS CODE CAN NEEDS IMPROVEMENTS]

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

NOTES/ TODOS:

I realized that sorting the whole image is intuitively not a great idea due

to the fact that one would not achieve great results by doing so. However,

i will start of by sorting half the image and then take it from there.

at this stage i would like to use the sobel method for achieving a different

outcome.

> the comparative_merge_sort.py implemented by unathi is broken. the primary

array is sorted correctly but the secondary array is not sorted accordingly.

a certain cell is duplicated when the sorting is in action. I failed to debug

it,

> however, to proceed i am resorting to the sorted built in function. which

uses a hybrid sorting algorithm called Timesort, this algorithm is derived

from merge sort and insertion sort and it works well with different kinds of

data sets.

> implement or make use of edge detection before sorting ;) cook an art tool

> debug and reslove RUNTIMEERRORS for two sorting criteria methods.

> fix methods and rethink the design of the code structure.

> implement a squre and circle sorter.

> then use SIFT or SURF for object detection and sort the objects identified.

> also it would be cool to sort people or faces, this is possible through obj detection.

I FEXED IT DURING MY HECTIC SCHEDULE THE TIMING WAS OFF

THEY YET TO COME THOUGH ...

About

Sorting the pixels of an image according to different criteria.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages