Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the difference between imread and imwrite ?

user-image
Question ajoutée par muhammed asad p t
Date de publication: 2016/08/10
ibrahim bouhadar
par ibrahim bouhadar , Project Quality Engineer, PMP® , Jacobs Engineering

imread is used to read a picture file from the PC and stored into a matrice or variable 

imwrite is used to create an image picture 

Tariq Hashmat Tauheed
par Tariq Hashmat Tauheed , Business Development Lead , DataLEADS

The command 'iamread' reads graphic files from the system disk space, while 'imwrite' writes graphic image files onto the system disk space. The disk space accessed is in accordance with the specified file path.

  • To read a graphics file format image use imread.

  • To write a graphics file format image, use imwrite.

RAHUL JAISWAL RAJESH JAISWAL
par RAHUL JAISWAL RAJESH JAISWAL , Electrical Site Engineer , LARSEN & TOUBRO LTD

imread-load an image from a file

imwrite-save an image to an specific file

AISSAM JAGGOU
par AISSAM JAGGOU , actualy , dakhla

imread for loading a image in serveur but imwrite for save image in the file

Youssef Ratbaoui
par Youssef Ratbaoui , Gestion de vente , centre de l'ile

Imread : Load an image 

Imwrite : Save your transformed image in a file on disk 

mohamad elorr
par mohamad elorr , Senior Electrical Engineer , Saudi Oger

imread (file name): it reads the image to I, after infering format of the file from it's content.

imwrite(A, file name, fmt): writes the image A to the file specified in file name in the format specified by fmt.

Alabi Bojesomo
par Alabi Bojesomo , Research Engineer , Masdar Institute of Science and Technology

The two are both used with image data.

 

Imread: it's used for reading an image data as an n-dimensional matrix depending on the format of the image being read.

 

imwrite: it's used for writing matrix data as image file that could also be view using image viewers

Md Rakibul Alam
par Md Rakibul Alam , Lecturer , Sonargaon University

imread is a function that reads image data and imwrite writes image data.

function imread(filename, format) when executed will open the data of a file. it takes two input arguments. filename and format of the file mentioned in first argument(filename).

function imwrite() when executed will create an image file if proper arguments are provided. input arguments of this function vary. more info will be provided at mathworks website.

Hope it Helped

SAUD ALSHAGHDLY
par SAUD ALSHAGHDLY , Technical Training Leader - Business Development C-KPI , National Power Academy

imread : image data o/P

imwrite : i/p data to image

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?