www.pixinsight.com
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This forum is closed since 5 March 2020
PixInsight Forum is now available at:
https://pixinsight.com/forum/
News:
Home
Help
Search
Login
Register
PixInsight Forum (historical)
»
Software Development
»
PCL and PJSR Development
»
Tiny Centroid script
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Tiny Centroid script (Read 10813 times)
Nocturnal
PixInsight Jedi Council Member
Posts: 2727
Re: Tiny Centroid script
«
Reply #15 on:
2010 August 20 14:02:36 »
Hi Carlos,
an earlier program I wrote (not in PCL) moved a box along the image and added up the total intensity in the box, remembering the brightest one. PJSR is too slow to do this in a meaningful way but doing a blur before finding the max pixel might be possible. Just grabbing the max pixel didn't give a good answer. Or perhaps my reworked centroid was still wrong
How would I blur? I looked through the modules but didn't see anything stand out.
Thanks for the other suggestions, sounds interesting
Logged
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
Nocturnal
PixInsight Jedi Council Member
Posts: 2727
Re: Tiny Centroid script
«
Reply #16 on:
2010 August 20 15:13:47 »
Ok, I added the 'remove mean twice' code. Probably useful for beginning PJSR coders to see how to instantiate a process, copy code from the history explorer and apply it to a view.
Renamed to 'opticalcenter' to better reflect its purpose.
Logged
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
Carlos Milovic
PTeam Member
PixInsight Jedi Master
Posts: 2172
Join the dark side... we have cookies
Re: Tiny Centroid script
«
Reply #17 on:
2010 August 20 15:15:16 »
Right now, with wavelets, disable a pair of layers. If you are not in a hurry, I'll update the code for the GaussianBlur module, and upload it again.
Also, you may use MorphologicalTransform.
Logged
Regards,
Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com
Nocturnal
PixInsight Jedi Council Member
Posts: 2727
Re: Tiny Centroid script
«
Reply #18 on:
2010 August 20 15:22:52 »
Ah yes, MT. Thanks Carlos.
Logged
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
Print
Pages:
1
[
2
]
« previous
next »
PixInsight Forum (historical)
»
Software Development
»
PCL and PJSR Development
»
Tiny Centroid script