You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include"mve/scene.h"
#include"mve/view.h"
#include"mve/image.h"intmain (void)
{
// Load scene.
mve::Scene::Ptr scene = mve::Scene::create();
scene->load_scene("/tmp/myscene/");
// Iterate over all views.
mve::Scene::ViewList const& views = scene->get_views();
for (std::size_t i = 0; i < views.size(); ++i)
{
// The list of views can contain "holes".if (views[i] == NULL)
continue;
// If an image by that name is not available, you get NULL.
mve::ByteImage::Ptr image = views[i]->get_byte_image("original");
if (image == NULL)
continue;
// Do something with image.process_image(image);
}
return0;
}