An impossible selection?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

An impossible selection?

Post by terrypin »

After an hour or so trying in vain to make the following selection, I suspect I'm attempting the impossible?

I want to select the thin yellow country border (mainly Italy/Austria) that I've captured as a JPG from Google Earth. (So that I can thicken it and change its colour.)

Here are three (downloadable) screenshots:

https://www.dropbox.com/s/1lk6pen7l9hr1 ... .jpg?raw=1

https://www.dropbox.com/s/w4784rwjgms2h ... d.jpg?dl=0

https://www.dropbox.com/s/dfbbflo6ppl6x ... 2.jpg?dl=0

EDITED a few minutes later
Aaagh - so obvious! I'll leave the post rather than delete it, in case anyone else ever makes the same mistake. Namely capturing as a JPG! After saving as a PSPimage the selection was simple. (Except, oddly, for a pixel or two in the Alps which were not the pure yellow of the rest.)
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: An impossible selection?

Post by terrypin »

Another puzzle arose when I came to fill the expanded selection. Despite having opacity at 100 and mode at None, I had to repeatedly click until I got a solid yellow.

My screenshot illustrates this:

https://www.dropbox.com/s/qhqpv7hqkn71l ... mage?raw=1
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: An impossible selection?

Post by Jean-Luc »

You need to play with the Tolerance.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
JoeB
Posts: 2778
Joined: Fri Mar 28, 2008 10:04 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
Location: Canada

Re: An impossible selection?

Post by JoeB »

Jean-Luc wrote:You need to play with the Tolerance.
Tolerance isn't available for the modes None and All Opaque.

I seem to recall once running into the same issue but can't remember what caused it. However, while waiting for a proper response you could try this workaround. Once you have your selection completed and before filling it you could create a new transparent raster layer. With that layer active try flood filling the selection. If that works, once filled you can then merge the layers.
Regards,

JoeB
Using PSP 2019 64bit
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: An impossible selection?

Post by LeviFiction »

Okay, according to the sample image it took a lot of fills to make the line look solid and full, each clicking was slightly transparent and it built up. Correct?

Looks like you might have a feather/soft-edge to your selection. Have you tried using Unfeather?

I just tried this, with 98% success (some parts didn't want to be selected but the rest went very smoothly)
My steps were:
1) Select All
2) Selections -> Modify -> Select Color Range (selected the brightest yellow on the image, tolerance of 100, softness of 20, subtract color range)
3) Selections -> Invert Selection
4) selections -> Modify -> Expand (by 3 pixels)
5) Use fill tool set to bright yellow, Match mode none, opacity 100, blend mode normal, sample merged deselected.
https://levifiction.wordpress.com/
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: An impossible selection?

Post by terrypin »

Thanks Levi, I think that’s it. Bedtime here so will get on the case again tomorrow.
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: An impossible selection?

Post by terrypin »

I repeated the exercise first thing today and conclude that, as usual, the devil is in the detail. Before trying the suggestions from either LeviFiction or JoeB I started from scratch with this capture:
https://www.dropbox.com/s/8gluetoe06rev ... mage?raw=1

And here's a zoomed in section:
https://www.dropbox.com/s/5vua2ftcaisu0 ... mage?raw=1
from which it's clear that there are many 'near-yellow' pixels.

So (as Jean-Luc implied, although in a different context) I need to take care over tolerance when making the selection. I started with Magic Wand settings of Replace, RGB value, Tolerance=20, no Feather, no Anti-alias. (Later I aim to experiment with the impact of those. As mentioned, I think I had Feather set to 1 or 2 yesterday.) My first click selected only a short selection so I increased Tolerance to 30 and stepped my way through the remaining border. I suppose I could have increased Tolerance above 30 and achieved the full selection more quickly, but then I'd have risked straying outside.

I think that initial careful selection was the critical step. I was then able to use the Fill tool set to None, Opacity=100 and fill the border with solid yellow (or any other colour).

I then realised that, unlike yesterday, I had not yet expanded the selection by 1 or 2 pixels. So I then did so and filled the border again with one click. Here's the satisfactory result:
https://www.dropbox.com/s/h6gtwdwozmskr ... mage?raw=1

Greatly appreciate all the help, learned a lot once again!
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: An impossible selection?

Post by Jean-Luc »

How is the initial yellow line made ?
Could it be painted on a transparent layer above the map ? If so, it could be easier to select.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: An impossible selection?

Post by terrypin »

Jean-Luc wrote:How is the initial yellow line made ?
Could it be painted on a transparent layer above the map ? If so, it could be easier to select.
As described in my opening post: captured from Google Earth.

One thing I’ll try next time is to apply one of my darker GE map overlays before the capture.
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Post Reply