Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is a very advanced topic so you should be familiar with some image editing algorithms. To merge the pictures I would use CoreGraphics. You will have to use Apples camera capture api to take photos and save the rotation at the same time by using the inbuilt gyroscope. I guess you are familiar with these topics since you want to start such a huge project. There are some good image stitching algorithms that you might want to implement. You can find a good introduction here: <a href="http://cs.bath.ac.uk/brown/papers/ijcv2007.pdf" rel="nofollow">http://cs.bath.ac.uk/brown/papers/ijcv2007.pdf</a>.</p> <hr> <p>I think I misunderstood you! So what you are trying to do is</p> <ol> <li>Take a picture</li> <li>Wait for the accelerometer or gyroscope delegate to fire up</li> <li>Take another picture</li> <li>Merge the new picture with the old one</li> <li>Go back to 2.</li> </ol> <p>Most points should be pretty straightforward but 4 could be difficult. You could use CoreGraphics to do the image editing. There is a good basic introduction here: <a href="http://www.codeproject.com/Articles/93563/Introduction-to-iOS-Graphics-APIs-Part-1" rel="nofollow">http://www.codeproject.com/Articles/93563/Introduction-to-iOS-Graphics-APIs-Part-1</a>. But i you really want good outpur and not only save the new picture in the old one with an offset you will really have to look at image stitching algorithms. A good starting point for that would be the link in my previous post. </p> <p>To atol the panorama once you come back to your starting point you will have to add all the accelerometer and gyroscope changes together and check if they are nearly one.</p> <p>EDIT:</p> <p>I think I misunderstood you! So what you are trying to do is</p> <p>Take a picture Wait for the accelerometer or gyroscope delegate to fire up Take another picture Merge the new picture with the old one Go back to 2. Most points should be pretty straightforward but 4 could be difficult. You could use CoreGraphics to do the image editing. There is a good basic introduction here: <a href="http://www.codeproject.com/Articles/93563/Introduction-to-iOS-Graphics-APIs-Part-1" rel="nofollow">http://www.codeproject.com/Articles/93563/Introduction-to-iOS-Graphics-APIs-Part-1</a>. But i you really want good outpur and not only save the new picture in the old one with an offset you will really have to look at image stitching algorithms. A good starting point for that would be the link in my previous post.</p> <p>To atol the panorama once you come back to your starting point you will have to add all the accelerometer and gyroscope changes together and check if they are nearly one.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload