OTB.GeneratePlyFile: Generate a 3D Ply file from a DEM and a color image.

The application converts an image containing elevations into a PLY file, which is a file format to store 3D models. This format is adpated for visualization on software such as MeshLab [2] or CloudCompare [3]This application is part of the stereo reconstruction framework. The input data can be produced by the application DisparityMapToElevationMap.There are two types of supported input images: * A DEM image, with a ground projection, containing elevation values. Each elevation value can be considered as a 3D point. * A 3D grid image, containing 5 bands (the first 3 are the 3D coordinates of each point, the 5th is a validity mask where valid values are larger or equal to 1)The user shall also give a support image that contains color values for each 3D point. The color values will be embedded in the PLY file.

Inputs

The image should be either a projected DEM or a 3D grid containing 3D point coordinates and a validity mask.

format
href
Please set a value for indem.

mode

string
Please set a value for mode.

Defines the map projection to be used.

string
Please set a value for map.

The zone number ranges from 1 to 60 and allows defining the transverse mercator projection (along with the hemisphere)

integer
Please set a value for map.utm.zone.

The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.

boolean
Please set a value for map.utm.northhem.

See www.spatialreference.org to find which EPSG code is associated to your projection

integer
Please set a value for map.epsg.code.

If the color image has 4 bands it will be interpreted as Red, Green, Blue, NIR. In other cases, only the first one is used (gray scale colors). The color values are expected in the range 0 - 255, and will be embedded with each 3D point of the PLY file.

format
href
Please set a value for incolor.

Outputs

The output Ply file will contain as many 3D points as pixels in the input DEM.

format
transmission

Execution options

successUri
inProgressUri
failedUri

format

mode

Execute End Point

View the execution endpoint of a process.

View the alternative version in HTML.

{"id": "OTB.GeneratePlyFile", "title": "Generate a 3D Ply file from a DEM and a color image.", "description": "The application converts an image containing elevations into a PLY file, which is a file format to store 3D models. This format is adpated for visualization on software such as MeshLab [2] or CloudCompare [3]This application is part of the stereo reconstruction framework. The input data can be produced by the application DisparityMapToElevationMap.There are two types of supported input images: * A DEM image, with a ground projection, containing elevation values. Each elevation value can be considered as a 3D point. * A 3D grid image, containing 5 bands (the first 3 are the 3D coordinates of each point, the 5th is a validity mask where valid values are larger or equal to 1)The user shall also give a support image that contains color values for each 3D point. The color values will be embedded in the PLY file.", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "type": "application/json", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.GeneratePlyFile/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://demo.mapmint.com/ogc-api/processes/OTB.GeneratePlyFile/execution.html"}], "inputs": {"indem": {"title": "The image should be either a projected DEM or a 3D grid containing 3D point coordinates and a validity mask.", "description": "The image should be either a projected DEM or a 3D grid containing 3D point coordinates and a validity mask.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "image/jpeg", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "indem"}, "mode": {"title": "mode", "description": "mode", "schema": {"type": "string", "default": "dem", "enum": ["dem", "3dgrid"]}, "id": "mode"}, "map": {"title": "Defines the map projection to be used.", "description": "Defines the map projection to be used.", "schema": {"type": "string", "default": "utm", "enum": ["utm", "lambert2", "lambert93", "wgs", "epsg"]}, "id": "map"}, "map.utm.zone": {"title": "The zone number ranges from 1 to 60 and allows defining the transverse mercator projection (along with the hemisphere)", "description": "The zone number ranges from 1 to 60 and allows defining the transverse mercator projection (along with the hemisphere)", "schema": {"type": "integer", "default": 31}, "id": "map.utm.zone"}, "map.utm.northhem": {"title": "The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.", "description": "The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.", "schema": {"type": "boolean", "default": false}, "id": "map.utm.northhem"}, "map.epsg.code": {"title": "See www.spatialreference.org to find which EPSG code is associated to your projection", "description": "See www.spatialreference.org to find which EPSG code is associated to your projection", "schema": {"type": "integer", "default": 4326}, "id": "map.epsg.code"}, "incolor": {"title": "If the color image has 4 bands it will be interpreted as Red, Green, Blue, NIR. In other cases, only the first one is used (gray scale colors). The color values are expected in the range 0 - 255, and will be embedded with each 3D point of the PLY file.", "description": "If the color image has 4 bands it will be interpreted as Red, Green, Blue, NIR. In other cases, only the first one is used (gray scale colors). The color values are expected in the range 0 - 255, and will be embedded with each 3D point of the PLY file.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "image/jpeg", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/jpeg"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "incolor"}}, "outputs": {"out": {"title": "The output Ply file will contain as many 3D points as pixels in the input DEM.", "description": "The output Ply file will contain as many 3D points as pixels in the input DEM.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/xml", "text/plain"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/plain"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/xml"}, {"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/plain"}]}, "id": "out"}}}

http://demo.mapmint.com/ogc-apihttp://localhost/ogc-api/localhost/ogc-api/processes/OTB.GeneratePlyFile.html
Last modified: Sat Feb 19 15:43:34 CET 2022