AYBABTU
AYBABTU

Reputation: 1026

How to improve edge detection on IPhone apps?

I'm currently developing an IPhone app that uses edge detection. I took some sample pictures and I noticed that they came out pretty dark in doors. Flash is obviously an option but it usually blinding the camera and miss some edges.

Update: I'm more interested in IPhone tips. If there is a wat to get better pictures.

Upvotes: 0

Views: 370

Answers (1)

n00dle
n00dle

Reputation: 6043

Have you tried playing with contrast and/or brightness? If you increase contrast before doing the edge detection, you should get better results (although it depends on the edge detection algorithm you're using and whether it auto-magically fixes contrast first).

Histogram equalisation may prove useful here as it should allow you to maintain approximately equal contrast levels between pictures. I'm sure there's an algorithm been implemented in OpenCV to handle it (although I've never used it on iOS, so I can't be sure).

UPDATE: I found this page on performing Histogram Equalization in OpenCV

Upvotes: 1

Related Questions