Program now runs much faster for the same results.
You can now decide how you wish for a selected blob to be displayed:
As shown currently (filled in)
Outline only
Original (The original image)
The toolbar buttons have an actual image associated with them.
Code is better commented.
Console outputs useful information about what the program is currently doing.
Research like this always has an unavoidable software engineering component, and it sounds like you're getting that under control. For the speed increase, are you scaling down the image for the morphological operations? I took a cursory look through AForge and couldn't find anything to get something equivalent to an oriented bounding box for a blob, but it must be there somewhere. I'll look at it some more today.
ReplyDeleteYes The image is scaled by 1/8th.
ReplyDeleteThen Morphological Operations are performed using a 3x3 matrix of all 1's
Then the image is rescaled back 8 * as large.
- There probably is a few pixels loss (due to rounding), I don't know if this will matter.
Scaling like that makes sense to me.
ReplyDelete