Thread Subject: how to check whether an image can be edited or not in MATLAB?

Subject: how to check whether an image can be edited or not in MATLAB?

From: Arcee Gomes

Date: 6 Nov, 2009 17:01:20

Message: 1 of 4

Hello,

I am working on a project in Image Processing area, and as a part of the project I have to write a code in matlab that must check whether the input image provided through imread function is a secured image (i.e. image that cannot be edited or modified) or not a secured image.

I want to know how to check whether an image can be edited or not in MATLAB? i.e. How to check whether an image is secured (encrypted) or not?

Please provide a solution to this problem. Thanking you in advance !!!

Subject: how to check whether an image can be edited or not in MATLAB?

From: jrenfree

Date: 6 Nov, 2009 17:13:12

Message: 2 of 4

On Nov 6, 9:01 am, "Arcee Gomes" <arcee.go...@gmail.com> wrote:
> Hello,
>
> I am working on a project in Image Processing area, and as a part of the project I have to write a code in matlab that must check whether the input image provided through imread function is a secured image (i.e. image that cannot be edited or modified) or not a secured image.
>
> I want to know how to check whether an image can be edited or not in MATLAB? i.e. How to check whether an image is secured (encrypted) or not?
>
> Please provide a solution to this problem. Thanking you in advance !!!

You could try using the imfinfo command....it might say in there

Subject: how to check whether an image can be edited or not in MATLAB?

From: Steven Lord

Date: 6 Nov, 2009 17:56:36

Message: 3 of 4


"Arcee Gomes" <arcee.gomes@gmail.com> wrote in message
news:hd1kp0$b25$1@fred.mathworks.com...
> Hello,
>
> I am working on a project in Image Processing area, and as a part of the
> project I have to write a code in matlab that must check whether the input
> image provided through imread function is a secured image (i.e. image that
> cannot be edited or modified) or not a secured image.

If by 'secured' you mean read-only, use FILEATTRIB. If that's not what you
mean, you'll have to clarify exactly what you mean when you use the term
"secured image".

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ

Subject: how to check whether an image can be edited or not in MATLAB?

From: ImageAnalyst

Date: 6 Nov, 2009 18:06:54

Message: 4 of 4

On Nov 6, 12:01 pm, "Arcee Gomes" <arcee.go...@gmail.com> wrote:
> Hello,
>
> I am working on a project in Image Processing area, and as a part of the project I have to write a code in matlab that must check whether the input image provided through imread function is a secured image (i.e. image that cannot be edited or modified) or not a secured image.
>
> I want to know how to check whether an image can be edited or not in MATLAB? i.e. How to check whether an image is secured (encrypted) or not?
>
> Please provide a solution to this problem. Thanking you in advance !!!

-----------------------------------------------------------------------
try
  goodImage = imread(fullFileName);
  % If you get to here, it can be read.
catch ME
  % MATLAB can't read it with built-in functions.
  msgbox(ME.message);
end

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com