Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def process(RawImage, CameraParameters, Debayer, Sharpening, Denoising):
|
|
| 31 |
sharpening = Sharpening
|
| 32 |
denoising = Denoising
|
| 33 |
print(np.max(raw_img))
|
| 34 |
-
raw_img = (raw_img[
|
| 35 |
img = ppn.processing(raw_img, black_level, white_balance, colour_matrix,
|
| 36 |
debayer=debayer, sharpening=sharpening, denoising=denoising)
|
| 37 |
print(np.max(img))
|
|
|
|
| 31 |
sharpening = Sharpening
|
| 32 |
denoising = Denoising
|
| 33 |
print(np.max(raw_img))
|
| 34 |
+
raw_img = (raw_img[:,:,:].astype(np.float64)/255.)
|
| 35 |
img = ppn.processing(raw_img, black_level, white_balance, colour_matrix,
|
| 36 |
debayer=debayer, sharpening=sharpening, denoising=denoising)
|
| 37 |
print(np.max(img))
|