Hello,
the question was clarified off-line. The intended workflow is to use certain criteria to extract a subset of points that might be noise or a special classification. Then check those points manually, change the classification of those particular ones that fulfill some criteria, and then merge these points back into the file. Here an example workflow using lasduplicate, las2txt, and txt2las:
http://rapidlasso.com/lasduplicate
:: first eliminate all xyz duplicates
lasduplicate -v -i ..\data\fusa.laz ^
-unique_xyz ^
-o fusa_unique.laz
:: extract the subset of points to ASCII text based on particular conditions
las2txt -v -i fusa_unique.laz ^
-keep_class 1 ^
-keep_z 44.75 45.25 ^
-keep_intensity_below 13 ^
-parse trnxyziapuc ^
-o fusa_extract.txt
:: use an external program to change the classification of a few points from 1 to 17 (marked in red below)
more fusa_extract.txt
5884.485776 2 2 277847.70 6122459.54 45.21 12 99 1 1 1
5884.786576 1 1 277833.42 6122450.87 45.23 11 98 1 7
17
5884.892434 1 1 277827.64 6122487.35 44.78 10 101 1 9
17
5884.936321 2 2 277827.22 6122402.58 44.95 11 93 1 3 1
5884.951705 2 2 277826.15 6122425.54 45.22 11 95 1 8 1
5885.102291 1 1 277819.49 6122433.65 45.07 10 96 1 8
17
5885.267875 1 2 277812.59 6122438.38 45.15 12 97 1 11 1
5885.280577 1 1 277815.74 6122277.50 44.89 12 83 1 1 1
5885.282572 1 2 277812.36 6122414.82 45.13 10 94 1 8 1
5885.373238 1 1 277807.67 6122440.81 44.80 12 97 1 9 1
5885.388254 1 1 277807.14 6122438.49 45.06 11 97 1 11
17
5885.388283 1 1 277807.09 6122440.53 45.07 11 97 1 12
17
5885.403309 1 1 277806.24 6122439.11 44.82 10 97 1 9
17
5885.419109 1 2 277804.08 6122490.27 45.24 12 101 1 21
17
5885.478350 1 2 277802.81 6122425.78 44.81 10 95 1 8 1
5885.479223 1 2 277801.21 6122484.93 44.83 10 101 1 17 1
5885.493376 1 2 277802.06 6122424.32 45.09 12 95 1 9 1
5885.493558 1 2 277801.75 6122436.53 44.91 12 96 1 10 1
5885.494284 1 2 277800.44 6122485.87 44.85 12 101 1 18 1
5885.509337 1 2 277799.78 6122486.22 44.86 10 101 1 18
17
5885.611512 1 1 277800.19 6122269.77 44.86 12 82 1 5
17
5885.626401 1 1 277799.86 6122258.35 45.18 10 81 1 7 1
5885.629538 1 2 277793.70 6122473.55 45.04 12 100 1 16 1
5885.641646 1 1 277798.73 6122272.46 45.03 11 82 1 6
17
5885.658889 1 2 277793.46 6122423.34 44.92 11 95 1 10 1
5885.673944 1 1 277792.69 6122423.74 44.89 10 95 1 10 1
5885.673974 1 1 277792.63 6122425.77 44.87 12 95 1 12 17
5885.674721 1 2 277791.16 6122476.38 44.76 12 100 1 17
17
5885.686612 1 1 277796.86 6122259.70 45.01 12 81 1 7 1
5885.701637 1 1 277795.98 6122258.15 45.17 10 81 1 9 1
5885.701694 1 1 277795.87 6122262.11 45.17 12 81 1 9
17
5885.716911 1 1 277794.65 6122274.18 44.90 12 82 1 5 1
5885.719047 1 2 277790.26 6122421.02 44.96 10 95 1 11
17
5885.719860 1 2 277788.63 6122476.01 44.82 10 100 1 18
17
5885.763936 1 1 277788.74 6122403.94 45.08 10 94 1 10
17
5885.763941 1 1 277788.73 6122404.28 45.07 11 94 1 10 1
5885.763946 1 1 277788.72 6122404.62 45.07 12 94 1 10 1
5885.764732 1 2 277787.08 6122457.82 44.99 11 98 1 19 1
5885.780079 1 2 277785.66 6122477.95 44.93 12 100 1 20
17
5885.809076 1 1 277786.76 6122403.52 45.24 12 93 1 14
17
5885.824123 1 1 277785.94 6122403.64 44.83 12 93 1 9 1
5885.824134 1 1 277785.91 6122404.32 44.84 12 94 1 10
17
5885.869580 1 1 277783.29 6122424.68 45.22 11 95 1 19
17
5885.882483 1 1 277787.21 6122277.71 45.17 12 82 1 7 1
5885.884619 1 1 277782.48 6122424.31 45.04 10 95 1 16 1
5885.885252 1 2 277781.12 6122467.06 44.76 10 99 1 18
17
5885.900316 1 2 277780.40 6122468.20 44.75 10 99 1 17 1
5885.927367 1 1 277786.26 6122259.37 45.01 11 81 1 10 1
5885.960003 1 2 277778.76 6122434.46 44.80 10 96 1 15 1
5886.017625 1 1 277782.03 6122258.01 44.99 12 81 1 11 1
5886.047693 2 2 277780.98 6122256.24 44.91 10 80 1 10 1
5886.077854 1 1 277779.15 6122261.57 45.24 12 81 1 13 1
5886.080530 1 2 277772.76 6122445.53 44.75 10 97 1 18
17
5886.093002 1 1 277778.34 6122268.84 45.07 11 81 1 10 17
5886.110029 1 1 277773.10 6122405.29 44.87 11 93 1 13
17
5886.110095 1 1 277772.96 6122409.70 44.78 11 94 1 13 1
5886.231004 1 2 277766.11 6122447.08 44.79 10 97 1 18 1
5886.303665 1 1 277769.12 6122271.65 45.07 12 82 1 11 1
5886.334058 2 2 277766.93 6122292.94 44.90 12 83 1 3 1
5886.348861 2 2 277767.01 6122275.79 45.03 11 82 1 7 1
5886.349323 2 2 277765.78 6122308.19 44.97 12 85 1 2 17
5886.349403 2 2 277765.56 6122313.77 45.02 12 85 1 4
17
5886.349538 2 2 277765.21 6122323.15 44.99 10 86 1 2 1
5886.364303 2 2 277765.06 6122303.69 44.76 11 84 1 2 1
5886.364383 2 2 277764.81 6122309.36 45.13 12 85 1 7 1
5886.393828 1 2 277765.22 6122264.00 44.98 10 81 1 12 1
5886.423904 1 1 277763.98 6122262.97 45.20 12 81 1 16 1
5886.438962 1 2 277763.17 6122264.03 45.11 12 81 1 18 1
5886.454284 2 2 277761.75 6122283.61 45.19 11 82 1 13 1
5886.514486 1 1 277759.11 6122284.97 45.15 12 83 1 13 17
:: convert ASCII text back to LAZ
txt2las -v -i
fusa_extract.txt ^
-parse trnxyziapuc ^
-o fusa_extract.laz
:: merge into one file with points from first file being used before points from second file
lasduplicate -v -i
fusa_extract.laz fusa_unique.laz -merged ^
-unique_xyz ^
-o fusa_modified.laz
Regards,
Martin @rapidlasso