Detect color value of a specific pixel in a texture

Dear developers,

I’m looking on how I could detect noise from texture ?
Is it from the pixel color RGB that represent rang between 0 and 255 ?
Do anybody know how I could do that ?

Thank you for any helps !

Sorry, I’m not quite following you. Is your question:

  • How to get the color of a pixel in a texture? Or,
  • How to tell whether a particular color or pixel should be considered “noise”?

The first question is fairly easy, but the second one is much more complex, since not everyone will agree on what constitutes noise.