Jump to content

Recommended Posts

Posted (edited)
Hi all, i have too many imgs for work and need to automate process.
The idea:
1.Take a back color - the first pixel on top and left in img
2.Use the FastFind.dll (FastFrench) for find the biggest spot on img with not back color, but it library cant load img from file - only snapshot :(, i need to find something like this library or find the way to load img in library
2.a)2 Fors on img for get binary array(map) with 0-back color, 1-something else
2.b)Apply Filter on img for delete all except back, and now we have map with 1-back color, 0-something else
3.Find on map the biggest spot, crop and save OR change color on all other spots in back
4.PROFIT :)
 
 
 
(chage my post if u find errors in text)
Edited by ivanius

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...