Neuroglycerin / neukrill-net-tools

Tools coded as part of the NDSB competition.
MIT License
0 stars 0 forks source link

Data preprocessing - image normalisation #16

Open svepe opened 9 years ago

svepe commented 9 years ago

Find the size, position and orientation of the plankton in each image and rotate and resize the image accordingly. Normalise the brightness of each image as well.

fmaguire commented 9 years ago

The images are shadowgraphs so brightness is constant I think, right?

Finding orientation is non-trivial as plenty of the classes have radial symmetry.

It would be nice to keep track of the original organism pixel size before resizing so we can make the most of the constant pixel/actual length ratio in the dataset not sure how this would be incorporated into CNN (maybe just added to the matrix and padded).

svepe commented 9 years ago

What I plan to do is fit an ellipse to the plankton, rotate the image such that the long radius points north and resize such that the image becomes circle. The radii of the ellipse could be used as size input in some of the higher layers.