cvt.visualization.util
cvt.visualization.util
Module including general utilities for visualization.
This module includes the following functions:
build_cam_pyr(cam_scale, K)
Constructs a camera frustum for visualization.
needs work...
Source code in src/cvt/visualization/util.py
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 |
|
build_pyr_point_cloud(pyr_pts, filename)
Builds a point cloud for a camera frustum visual.
needs work...
Source code in src/cvt/visualization/util.py
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
|
display_inlier_outlier(cloud, indices)
Displays a point cloud with outlier points colored red.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
cloud
|
PointCloud
|
Point cloud to be displayed. |
required |
indices
|
ndarray
|
Indices indicating the inlier points. |
required |
Source code in src/cvt/visualization/util.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
display_map(filename, disp_map, mx, mn)
Writes an input map to a normalized image.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
filename
|
str
|
Name of the file to store the input map. |
required |
disp_map
|
ndarray
|
Map to be stored as an image file. |
required |
mx
|
float
|
maximum value used for pixel intensity normalization. |
required |
mn
|
float
|
minimum value used for pixel intensity normalization. |
required |
Source code in src/cvt/visualization/util.py
235 236 237 238 239 240 241 242 243 244 245 |
|