Ask Your Question
0

Remove black bottom from panoramic image

asked 2014-04-23 08:06:40 -0600

AdriCS gravatar image

updated 2014-04-23 08:12:15 -0600

I got a panorama image exported from a Ladybug 5 stream file with the LadybugCapPro application. The image shows a black part at the bottom, where the cameras were located.

Is it possible to remove that part?

I'm a newbie in the computer vision world, so it would be great if someone could point me to the right direction (if it's possible what I'm trying to do).

Image:

The original image is way bigger than this, but for showing the black part I think this would serve well.

image description

edit retag flag offensive close merge delete

Comments

1

See similar thread here might be helpful.

Haris gravatar imageHaris ( 2014-04-23 11:50:54 -0600 )edit

Is the black part changing in size or is it constant?

Witek gravatar imageWitek ( 2014-04-23 17:10:42 -0600 )edit

It can be varied, And in the above image you need to crop or warp to fit to black region?.

Haris gravatar imageHaris ( 2014-04-23 22:03:59 -0600 )edit

@Haris, the link you posted seems useful. I'll take a look at it now! And in the above image, either way is fine. I have no requirements on that topic.

AdriCS gravatar imageAdriCS ( 2014-04-24 03:20:49 -0600 )edit

Ok, the link explaining how to fill the black region either using inpaint or using perspective transform.

Haris gravatar imageHaris ( 2014-04-24 04:38:19 -0600 )edit

@Haris, thanks for the link. It worked fine! If you post it as an answer I'll accept it! Another question that came into my mind when doing this. Is it possible to "change" the projection of an image? For example, transforming my example image to obtain a straight panorama , without the curved effect, showing the same extension of image.

AdriCS gravatar imageAdriCS ( 2014-04-29 07:12:47 -0600 )edit

Can you post the original panorama image?

Haris gravatar imageHaris ( 2014-04-29 23:30:15 -0600 )edit

The original image is exactly like the example one. The difference is in the size: the example one has a size of 1024x512 px while the original one has a size of 8000x4000 px. Should I post it anyway?

AdriCS gravatar imageAdriCS ( 2014-04-30 03:01:03 -0600 )edit

Ok so your source image look like above, I thought it was 360 degree panoramic image like this.

Haris gravatar imageHaris ( 2014-04-30 03:05:39 -0600 )edit

Nope. I have available either the type posted here or the 6 images of a cube map.

AdriCS gravatar imageAdriCS ( 2014-04-30 03:42:38 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-19 05:12:11 -0600

kaj143 gravatar image

Scan first row of you image when pixel value is 0 i.e. black and then take above part from that row as region of interest and so your final output. I hope it will help you!!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-04-23 08:06:40 -0600

Seen: 2,045 times

Last updated: Apr 23 '14