Author Topic: Line Profile Tool  (Read 4087 times)

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Line Profile Tool
« on: 2013 August 14 11:16:58 »
Hi Group,

I'm doing some diagnostics on vignetting and came across this handy tool in Images Plus.  I know that Maxim DL also provides something very similar.

Anyone know if PI has an equivalent?

Thanks,

Mark

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: Line Profile Tool
« Reply #1 on: 2013 August 14 11:45:12 »
I wrote one but I need to attempt to rebuild it using the latest PCL.

https://www.youtube.com/watch?v=etH2bSPoGYc

Then there are all the platforms that need to be supported....
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Line Profile Tool
« Reply #2 on: 2013 August 14 11:52:14 »

Hi Mark!
You can for example use PixelMath
to create a Profile.
See:
http://pixinsight.com/forum/index.php?topic=4973.0

simply 2 steps.
First PixelMath:
   pixel($T,xpos(),height($T)/2)
Second PixelMath:
  iif(abs((1-$T)*height($T)) > ypos(),0,$T)

Gerald
P.S.: i had ImagePlus, i have removed it...  with some other programs. PI has all you need. No softwarejumping anymore!

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: Line Profile Tool
« Reply #3 on: 2013 August 14 13:36:04 »
Thanks Sander and Gerald.

Gerald,
I thought about you when I posted.  I remember some of the analysis work you had shown.
I'm looking to be able to go "corner to corner" (i.e. diagonal).  Will your formulae produce that?

Mark

Offline Cosmick

  • Member
  • *
  • Posts: 52
Clear Skies

Mick

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: Line Profile Tool
« Reply #5 on: 2013 August 14 16:20:30 »
Thanks Mick.

Nice script.

Mark


Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Line Profile Tool
« Reply #6 on: 2013 August 15 09:50:10 »
Hello Mike!
Yes, PixelMath can create and display also a diagonal Profile.
For example a Profile from bottom left to top right -
Only the first PixelMath Expression changes to:
   pixel($T,xpos(),height($T) - (xpos() * (height($T) / width($T))) )

The second Expression stays the same:
  iif(abs((1-$T)*height($T)) > ypos(),0,$T)

I do have many of this kind of macros in ONE xpsm Folder. At the beginning of each processing i drag and drop
this single macrofolder on the Workspace.
So i dont have to search for the PixelMath-, Starmask-, Stretching- etc. macros.

Gerald

Offline niteman1946

  • PixInsight Addict
  • ***
  • Posts: 234
Re: Line Profile Tool
« Reply #7 on: 2013 August 17 04:25:19 »
Thanks Gerald.

You're the guru with pixelmath.

Mark