Group Abstract Group Abstract

Message Boards Message Boards

1
|
22.8K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Check if an image is saturated?

Posted 10 years ago

Hello,

I have an image (format: tiff). It is a 16 bit image. I am not an expert but I think that means I can have a dynamic range of 2^16=65.536. In other words, if my image is saturated, the values of these pixels must be this high. Basically, all I want to know is, if my image is saturated or not. Actually it is not just one image, it is a list of images. What would be a quick way to check this?

I tried different thinks, like Histogram, ImageData, ImageValuePositions, but I am not sure if I am on the right track.

Here is one of theses images.

enter image description here

I have tried quite many thinks. Here are just some examples:

Name= Import["C:\\Desktop\\image.tif"] 
Histogram[Flatten[ImageData@Name]]
ImageType[Name]
Histogram[Flatten[ImageData@Name]]
ImageHistogram[Name]
ImageData[Name]
PixelValue[Name, {1, 1}]
PixelValue[Name, {1, 1}, "Byte"]
PixelValue[Name, {138, 136}, "Byte"]

As I sad, it is quite randomly what I did. I am not really sure which parameter I actually have to check in order to see of the image is saturated or not.

I hope you can help me with this.

Cheers,

Peter

Attachments:
POSTED BY: Peter Parker
2 Replies

Thank you very much. I guess I can consider this problem as solved.

Cheers,

Peter

POSTED BY: Peter Parker
POSTED BY: Matthias Odisio
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard