Selecting particular layer for rasterizing in command line

Feel free to ask any question here
Post Reply
jagadish
Posts: 1
Joined: Wed May 04, 2022 9:49 pm

Selecting particular layer for rasterizing in command line

Post by jagadish »

I am new to processing in cloudCompare using the command line. Is there any command for rasterizing a particular layer in the point cloud?
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Selecting particular layer for rasterizing in command line

Post by daniel »

I believe you have to select the right scalar field first (with -SET_ACTIVE_SF) and then export the raster with Z and the current scalar field (-OUTPUT_RASTER_Z_AND_SF).
Daniel, CloudCompare admin
PablerasBCN
Posts: 296
Joined: Sat Jan 20, 2018 1:57 pm

Re: Selecting particular layer for rasterizing in command line

Post by PablerasBCN »

What I've noticed when rasterizing SF is that if you raster the SF layer the .tga output seems to differ from when you convert SF to RGB and then Raster RGB. May be it contains extra needed data but in my case I needed like RGB SF rather than containing additional data.
Post Reply