Author Topic: MaskedStrechTransform  (Read 15504 times)

Offline José Manuel Pérez Redondo

  • Newcomer
  • Posts: 18
MaskedStrechTransform
« on: 2010 January 24 11:14:05 »
Hola

Estoy practicando con el script MST, después de leer el texto de Sonnenstein (31/12/2007) y tengo dudas sobre algunos valores.

1. No acabo de coger el truco al Target Median. Hago hasta 100 iteraciones con diferentes valores, pero no acaba de estirar la imagen. Siempre tengo que sacar más señal con curvas.

2. Hay alguna estrategia para decidir si utilizar wavelets o Convolution.

Gracias

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: MaskedStrechTransform
« Reply #1 on: 2010 January 25 03:09:55 »
1. No acabo de coger el truco al Target Median. Hago hasta 100 iteraciones con diferentes valores, pero no acaba de estirar la imagen. Siempre tengo que sacar más señal con curvas.
Te recomiendo que antes de aplicar el MaskedStretch apliques un HistogramTransform lineal para recortar las sombras. Deberías mover el control de sombras hasta el punto en el que empieza haber valores procurando no perder ningún valor (o menos del 1%).

Offline dhalliday

  • PixInsight Old Hand
  • ****
  • Posts: 307
    • on Flickr
Re: MaskedStrechTransform
« Reply #2 on: 2010 January 25 04:27:53 »
Any chance  of an English translation...? (Juan ?)
You Spanish guys sound pretty clever...don't want to miss anything !

Dave
Dave Halliday
8" Newtonian/Vixen VC200L/ TV 101,etc etc
SSAG/EQ6
CGE Pro
SBIG ST2K,ST10XME

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: MaskedStrechTransform
« Reply #3 on: 2010 January 25 04:46:29 »
My answer in spanglish:
Before applying the linear MaskedStretch you should apply an HistogramTransform to clip the shadows trying to not lose more that 1% of the pixels.

Offline sleshin

  • PixInsight Old Hand
  • ****
  • Posts: 431
Re: MaskedStrechTransform
« Reply #4 on: 2010 January 25 08:32:25 »
Dave,

You can translate any foreign language using this Google page: http://translate.google.com/#

In Windows, just right click on the web page you want to translate and click "save page as". I use default file name and file type and save it to desktop. Then open Google link and click on "upload a document" and Browse to the desktop file you just saved. Choose Spanish to English is this case and click on Translate. Then like magic you are instantly multilingual.

Steve

Steve Leshin

Stargazer Observatory
Sedona, Arizona

Offline José Manuel Pérez Redondo

  • Newcomer
  • Posts: 18
Re: MaskedStrechTransform
« Reply #5 on: 2010 January 31 01:43:38 »
Hola

perdonad por no responder antes, problemas informáticos.

Andrés. Cuando aplico el script el histograma lo tengo totalmente pegado a la izquierda. Me refiero a que no lo he estirado. Es el primer paso que hago.

(google translation)

Hello

pardon me for not responding earlier computer problems.

Andrés. When I apply the script I have the histogram completely glued to the left. I mean, I have not stretched. It is the first step I do.

(and the first post)

Hello

I'm practicing with the script MST, after reading the text of Sonnenstein (31/12/2007) and I have doubts about some values.

1. I do not quite catch on to the Target Media. I make up to 100 iterations with different values, but not just stretch the image. I always have to get more signal curves.

2. There is some strategy to decide whether to use wavelets or Convolution.

Thanks

Offline José Manuel Pérez Redondo

  • Newcomer
  • Posts: 18
Re: MaskedStrechTransform
« Reply #6 on: 2010 February 19 11:22:10 »
Bueno, sigo insistiendo a ver si alguien me ayuda

En esta imagen está el resultado de 3h40m de exposición de m42 y a su lado un mackstrech de 100 iteraciones. Encuentro que el resultado es muy pobre pero no veo mi error.

Os agradecería un ayuda

Gracias

José Manuel

Well, I keep insisting to see if someone helps me

This image is the result of exposure 3h40m of m42 and its neighbor a mackstrech 100 iterations. I find that the result is very poor but I see my mistake.

I would appreciate a help

Thanks

José Manuel





Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: MaskedStrechTransform
« Reply #7 on: 2010 February 19 11:35:18 »
Hi,

I think you need to do a HistogramTransform first.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: MaskedStrechTransform
« Reply #8 on: 2010 February 19 12:28:53 »
El problema es "target median". Se supone que es el valor final que quieres que tenga el cielo. Debe ser mucho más alto, en torno a 0.1


The problem is the "target median" value. It should be close to 0.1, since it is the spected value for the median, after the MST. Since sky background usually dominates the images, the median is a pretty good aproximation.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline José Manuel Pérez Redondo

  • Newcomer
  • Posts: 18
Re: MaskedStrechTransform
« Reply #9 on: 2010 February 21 11:34:48 »
Gracias a todos.

Carlos, con 0'1 funciona mucho mejor, pero luego tengo que estirar la imagen con el histograma. ¿Lo hago bien o todavía tengo que mejorar los parámetros del MST?

Thank you all.

Carlos, 0'1 works much better, but I have to stretch the image with the histogram. Am I doing it right or I still need to improve the parameters of the MST?

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: MaskedStrechTransform
« Reply #10 on: 2010 February 21 17:11:15 »
0.1 es un valor que a mi me funciona bien, cuando hay mucho cielo. Al final, esto es cosa de gusto personal, y de los requerimientos de la imagen. Prueba modificando ese valor. Más grande que 0.3 es poco probable que ande bien.



0.1 is a value that wors good enough for me. This is true when there is a lot of background sky. At the end, this is just a matter of personal taste, and what your image needs. Try higher values. It would be very unlikelly that it goes above 0.1, but again, this is up to you.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline José Manuel Pérez Redondo

  • Newcomer
  • Posts: 18
Re: MaskedStrechTransform
« Reply #11 on: 2010 February 22 12:58:25 »
Gracias Carlos

Al final he realizado pruebas a 0'1 y 0'12, con 200 iteraciones y he quedado muy satisfecho. :D

Thanks Carlos

At the end I did proves with 0'1 and 0'2, with 200 iterations and I am very happy with the result :D

José Manuel

Offline dhalliday

  • PixInsight Old Hand
  • ****
  • Posts: 307
    • on Flickr
Re: MaskedStrechTransform
« Reply #12 on: 2010 February 23 06:44:54 »
Excuse my ignorance here...but what is this feature..?
When is it used/what does it do..??
First I have heard of it...
Ahhh the labyrinth that is Pixinsight...! >:D

Dave
Dave Halliday
8" Newtonian/Vixen VC200L/ TV 101,etc etc
SSAG/EQ6
CGE Pro
SBIG ST2K,ST10XME

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Re: MaskedStrechTransform
« Reply #13 on: 2010 February 23 08:56:59 »
Hi Dave,

Its been in PI for...well at least hundreds of years (well a couple anyway). It takes an unstretched image, then does a whole series of small incremental stretches whilst protecting the star edges at each stage. The aim is to try and minimise the star bloating that you can get if you do a large histgram stretch all in one go.

At least that's what i think it does....but someone may be able to give more details.

I tried it hundreds of years ago and compared it with a single full stretch....and to be honest I couldn't tell any difference. Maybe I was doing something wrong. I like the concept, so I would be interested if others have actually found it makes a difference....i.e. they have done a direct comparison between using it and using a normal stretch.

Cheers
         Simon

Offline dhalliday

  • PixInsight Old Hand
  • ****
  • Posts: 307
    • on Flickr
Re: MaskedStrechTransform
« Reply #14 on: 2010 February 23 09:59:46 »
Simon
Thanks..
Perhaps a volunteer can show us a "before and after" (with/without) pic to demonstrate further...?
Dave Halliday
8" Newtonian/Vixen VC200L/ TV 101,etc etc
SSAG/EQ6
CGE Pro
SBIG ST2K,ST10XME