Page 1 of 1

Changing scaler field data

Posted: Mon May 26, 2014 8:33 am
by Ingsayyad
I have comapred Coud A with B. A part of Cloud A shows deviation> 1cm. I donot want it be shown or I want it to be manipulated.
One way is to export this segmented part as txt and change/ fix upper limit of scaler field value (All scaler field value>1cm changed with 1cm) and then again import it back in CC and fuse it with bigger part. It is time consuming even it works (I havn't done it sofar).
Does there exits any other solution inside CC. I donot want to delete points but just change their scaler field values.

Re: Changing scaler field data

Posted: Mon May 26, 2014 9:36 am
by daniel
Well, you could just set the "max distance" parameter to 1 cm in the distance computation dialog.

Otherwise you can play with both the 'Edit > Scalar Field(s) > Filter by value' method and the 'Edit > Scalar Field(s) > Arithmetics' method to get what you want (segment + replace the SF on the > 1 cm part by a constant one with same name + merge).

Re: Changing scaler field data

Posted: Mon May 26, 2014 12:34 pm
by Ingsayyad
I cann't figur out.
I segmented cloud A <0.0269 and cloud B >0.027 to 0.03 by
by 'Edit > Scalar Field(s) > Filter by value' method
All value above 0.027 should be 0.027.

Next I selected segmented point cloud B, 'Edit > Scalar Field(s) > Arithmetics' --> C2C absolute distance minus C2C absolute distance ), it give SF with 0. I keep selecting
segmented point cloud ADD Scaler field-->( name Cont1, value 0.027). It makes gives SF =0.027 on selecting segmented point cloud. Now when I merg it with segmented cloud A <0.0269, it gives me agian point cloud with SF >0.03. I think it should be max( 0.027).

Re: Changing scaler field data

Posted: Tue May 27, 2014 7:31 am
by daniel
I should have detailed the second method (but I was hoping the first one will suit you ;):
  • filter by value [min ; 0.27]
  • filter by value [0.27 ; max]
  • on the second sub-cloud, delete the scalar field
  • add a constant scalar field (same name as the original SF with 0.27 as constant value)
  • merge

Re: Changing scaler field data

Posted: Wed May 28, 2014 4:35 pm
by Ingsayyad
I deleted scaler field and the point cloud has now no color. I merged it into bigger one . I brings it scaler field value (modified) but also it white (no color)color. I want it to get color it automatically accoring to its scaler field.

Re: Changing scaler field data

Posted: Thu May 29, 2014 7:23 am
by daniel
Not sure to understand here: after having deleted the scalar field, haven't you created a new 'constant' scalar field? Colors are dynamically generated from the scalar values. So if you don't see colors it means that either the scalar field is deactivated or that there's no scalar field...