02.04.2024 Views

Modul 1 Pengolahan Citra Digital Untuk PJJ (3)

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Image Negative

Mengubah nilai grey-level piksel citra input dengan: Gbaru = 255 – Glama.

Hasilnya seperti klise foto

Praktek 1

Lakukan perintah-perintah berikut pada command window matlab:

>>Citra= imread(‘woman.bmp’);

>> imshow(Citra);

>> Citra_Negatif=255- Citra;

>> figure, imshow(Citra_Negatif);

• Contrast Stretching

Contrast Stretching dengan menggunakan fungsi:

fout = (fin – a) * b

a = min(fin)

daeng’s files 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!