Ask Your Question
-2

Find sun in the panorama image

asked 2018-04-11 12:05:24 -0600

Hi, Is there any approach I can follow to find sun in panorama image or lets say segmented sky. I tried to find largest connected component in the sky but it doesn't work always if sun in behind some hill or it is not in picture. Thanks!

edit retag flag offensive close merge delete

Comments

You want to find sun when sun is not in the picture?

LBerger gravatar imageLBerger ( 2018-04-11 14:25:13 -0600 )edit

Isn't the sun always the same colour (pure white)? Find the largest region that consists of all white pixels (or at least close to all white pixels).

It's cheap and effective, but not prone to errors.

If you want to get fancy, from there you can make a rectangle around the all white region and pass it as input to a trained neural network, to classify between sunny pictures, partially sunny pictures, and no sun pictures.

It's not perfect... there could be false classifications.

sjhalayka gravatar imagesjhalayka ( 2018-04-11 16:05:05 -0600 )edit

Lets assume, Sun is in the picture. It's a panorama image. But think about the scenarios like

  1. Sunset is happening and that is not pure white
  2. Sun is behind some clouds
  3. You can see partial sun because it is behind some hills

Etc. etc. I want to predict it accurately in all the cases

Currently, I am thinking to apply yolo for this. But I need to prepare a lot more data for this task. So checking if any computer vision approach exists!

achalshah20 gravatar imageachalshah20 ( 2018-04-11 16:55:33 -0600 )edit

Yes the more pictures you have for training, the better, usually. YOLO looks cool, no pun intended. Best of luck.

sjhalayka gravatar imagesjhalayka ( 2018-04-11 17:06:43 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-04-12 02:02:32 -0600

LBerger gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-04-11 12:05:24 -0600

Seen: 422 times

Last updated: Apr 12 '18