# Effects of varying number of samples in an image

100 %
0 %
Information about Effects of varying number of samples in an image
Education

Published on March 14, 2014

Author: lakshmymk

Source: slideshare.net

## Description

What is the effect of varying number of samples in an image. . includes matlab code ..

EFFECT OF VARYING NUMBER OF SAMPLES ON IMAGE QUALITY LAKSHMI.M M.E, COMMUNICATION SYSTEMS

SAMPLING Sampling is the first operation done in digitalization of an analog signal followed by quantization Sampling - principal factor determining the spatial resolution of an image. Spatial resolution is the smallest discernible detail in an image.

SAMPLING UPSAMPLING - INCREASING THE NUMBER OF SAMPLES DOWNSAMPLING - DECREASING THE NUMBER OF SAMPLES

Upsampling and Downsampling of a discrete signal

CODE FOR DOWNSAMPLING: clc; clear all; close all; f=imread('cameraman.tif'); y=imresize(f,[1024 1024]); figure; imshow(y); down=y(1:2:end,1:2:end); figure; imshow(down); down1=y(1:4:end,1:4:end); figure; imshow(down1); down2=y(1:8:end,1:8:end); figure; imshow(down2); down3=y(1:16:end,1:16:end); figure; imshow(down3); down4=y(1:16:end,1:16:end); figure; imshow(down4);

Fig1. 1024*1024 Fig2. 512*512 Fig3. 256*256 Fig4. 128*128 Fig5. 64*64 Fig6. 32*32 DOWNSAMPLED IMAGES

EFFECT OF VARYING NUMBER OF SAMPLES 256*256 256*256 Downsampled by a factor of 3 Upsampled by a factor of 3

clc; clear all; close all; f=imread('cameraman.tif'); y=imresize(f,[8 8]); figure; imshow(y); disp(y); display('size of original image:'); l1=size(y); disp(l1); %downsampling down=y(1:2:end,1:2:end); disp(down); display('size of downsampled image:'); l2=size(down); disp(l2); figure; imshow(down); Upsampling the downsampled image % upsampling the downsampled image up=down(1:0.4:end,1:0.4:end); disp(up); display('size of upsampled image:'); l3=size(up); disp(l3); figure; imshow(up);

Pixel values of original image

EFFECT OF VARYING NUMBER OF SAMPLES 256*256 256*256 Upsampled by a factor of 3 Downsampled by a factor of 3

f=imread('cameraman.tif'); y=imresize(f,[4 4]); display('pixel values of original image'); figure; imshow(y); title('original image'); disp(y); display('size of original image:'); l1=size(y); disp(l1); %upsampling up=y(1:0.4:end,1:0.4:end); display('pixel values of downsampled image'); disp(up); display('size of upsampled image:'); l2=size(up); disp(l2); figure; imshow(up); title('upsampled image'); Downsampling the upsampled image %downsampling the upsampled image down=up(1:2:end,1:2:end); display('pixel values of reconstructed image'); disp(down); display('size of reconstructed image:'); l2=size(down); disp(l2); figure; imshow(down);

Inference: Downsampling provides reduced pixel value image which when zoomed, results in poor image quality In upsampling, no pixel value is removed and hence when downsampled to its original image size, almost the original image quality is obtained.

THANK YOU

 User name: Comment:

## Related presentations

#### How good is IMS Noida for studying MBA and how are...

December 18, 2017

#### Trabajamos con valores5°

December 18, 2017

#### REDHAT CERTIFIED ENGINEER(RHCE)

December 18, 2017

#### MIS & Data Analysis in Excel & Access Training Cla...

December 18, 2017

#### Get Marketing Assignment Help and Writing Online i...

December 18, 2017

#### Best Angular JS Training in Chennai

December 18, 2017

## Related pages

### Reconstructing an Image from Projection Data - MATLAB ...

... and ifanbeam to form projections from a sample image and then reconstruct the image ... show the effect of varying the number of angles at which ...

### ERIC - The Effects of Varying the Number of Practice ...

The geometry experiment investigated the effects of ... number of illustrative examples presented, and number ... The Effects of Varying the Number ...

### Effects of a Definition and a Varying Number of Examples ...

Effects of a Definition and a Varying Number of Examples and Nonexamples on Concept Attainment

### Digital Imaging Tutorial - Conversion - Cornell University ...

SCANNING FACTORS AFFECTING IMAGE QUALITY. ... Note the effect of varying the threshold on typescript ... Here are several examples of image ...

### Effect of Varying Number of OSEM Subsets on PET Lesion ...

Effect of Varying Number of ... this work was to evaluate the relationship between the number of OSEM subsets and image qualit ... for example, the sample

### CAVE | Projects: Time Varying Surface Appearance

Database of Time-Varying Surface Appearance and Factorization: This image shows the 26 samples acquried in ... We also can transfer a time-varying effect ...

### Photoshop Help | Filter effects reference - Adobe Support

Learn more about filter effects in Photoshop. ... the number of colors in an image ... myriad lighting effects on RGB images by varying 17 light ...

### Examples of varying fiber numbers for MWCNT structures ...

Examples of varying fiber numbers for MWCNT ... enhanced darkfield image (1 day post-exposure) shows examples of MWCNT structures containing 1 ...