Home
last modified time | relevance | path

Searched refs:noise_model (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CameraITS/tools/
Ddng_noise_model.py93 def _create_noise_model_code(self, noise_model, sens_min, sens_max, argument
105 scale_a, scale_b, offset_a, offset_b = zip(*noise_model)
162 def _create_noise_profile_code(self, noise_model, color_channels, file_path): argument
171 scale_a, scale_b, offset_a, offset_b = zip(*noise_model)
172 num_channels = noise_model.shape[0]
201 def _create_noise_model_and_profile_code(self, noise_model, sens_min, argument
212 noise_model_utils.check_noise_model_shape(noise_model)
215 noise_model,
222 num_channels = noise_model.shape[0]
228 avg_noise_model = noise_model.reshape(-1, 4, noise_model.shape[1]).mean(
[all …]
/cts/apps/CameraITS/utils/
Dnoise_model_utils.py68 def check_noise_model_shape(noise_model: np.ndarray) -> None:
74 num_channels, num_parameters = noise_model.shape
87 noise_model: np.ndarray,
102 check_noise_model_shape(noise_model)
103 num_channels = noise_model.shape[0]
110 scale_a, _, offset_a, offset_b = zip(*noise_model)
664 noise_model = []
711 noise_model.append(coeffs[0:4])
713 noise_model = np.asarray(noise_model)
714 check_noise_model_shape(noise_model)
[all …]