Cropping with a difference

Moderator: Ken Berry

Post Reply
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Cropping with a difference

Post by Davidk »

I have a class exercise involving coffee. And what I want to do is crop selected words out of an image. See the following picture
vs180219-001 coffee.jpg
What I want to do is remove the words 'Can you spell these english words' from the image, and leave the rest unchanged. My usual practice with cropping filter really hasn't been satisfactory. Has anyone got suggestions?
asik1
Posts: 3446
Joined: Thu Apr 17, 2014 6:07 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: H170M-E D3
processor: i5-6600
ram: 8gb
Video Card: GTX1050-2GB
Hard_Drive_Capacity: No hoarder
Monitor/Display Make & Model: 2K HP-27MQ
Corel programs: VS-X9.2, 2020, 2023
Location: Israel

Re: Cropping with a difference

Post by asik1 »

Any better?
Attachments
caffe.jpg
Panasonic X900m, VXF1
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Cropping with a difference

Post by Davidk »

Much better. How?
User avatar
RobertOZ
Advisor
Posts: 2426
Joined: Tue Jun 26, 2012 12:50 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Prime B550M-A WI-FI AM4 mATX
processor: AMD Ryzen 5 3600 3 6 GHz
ram: 16GB
Video Card: Asus Geforce GTX 1650 GDDR6 Driver 551 23
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 7 TB
Monitor/Display Make & Model: Philips 32" IPS LED, Samsung 28" 3840x2160 UHD 4K
Corel programs: VS2018/21/22/23 & MS 3D, MCC XL
Location: Mornington, Vic. Australia

Re: Cropping with a difference

Post by RobertOZ »

deleted
Last edited by RobertOZ on Tue Feb 20, 2018 7:23 am, edited 1 time in total.
asik1
Posts: 3446
Joined: Thu Apr 17, 2014 6:07 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: H170M-E D3
processor: i5-6600
ram: 8gb
Video Card: GTX1050-2GB
Hard_Drive_Capacity: No hoarder
Monitor/Display Make & Model: 2K HP-27MQ
Corel programs: VS-X9.2, 2020, 2023
Location: Israel

Re: Cropping with a difference

Post by asik1 »

Davidk wrote:Much better. How?
We are living in an age were all can be done in software.
https://www.theinpaint.com/
Any one should have similar tool in the toolbox
Panasonic X900m, VXF1
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Cropping with a difference

Post by Davidk »

I tried out the software asik suggested. Much better than having extraneous lettering in the image, but . . still had a sawtooth edge to it. The demo on the website did not give that result, but it did suggest (by 'making up' the erasure from surrounding pixels) an alternative approach.

Which was, to use the lay over technique the overlay tracks use and position a 'made up' image to mask the 'to be removed' lettering in the clip on the main timeline. It took 2 carefully positioned images to do it, and if you look v closely there are discontinuities in the wood grain around the cup and saucer in the result but otherwise it looks good. But for 3 seconds, that seems good enough not to offend the eye.

See attached screenshot
X10_5 coffee cropped.jpg
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Cropping with a difference

Post by Ken Berry »

A lot of tables these days are made with different lengths of wood, so I'd have to agree that this is unlikely to detract from your short video.

I'm not sure, though, how you got the 'made up' image -- or did it come from some other image altogether? That part of the saucer is certainly crisper than the cup and coffee!
Ken Berry
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Cropping with a difference

Post by Davidk »

The unwanted text overlaid both the wood grain at the bottom left of the cup-and- saucer image, and also the bottom part of the saucer. So, 2 steps:
- a 'clean' image of the whole cup-and-saucer (photo from part of the timeline clip which was 'clean') on woodgrain was captured and used to mask the part of the image where most of the unwanted text was (the image in the 1st overlay track). Which meant masking the whole crockery item. I tried smaller parts to mask just text, by lining up the edges on the crockery, but the result was not good. So eventually I just masked the whole item, including most of the unwanted text. That still left some text in the bottom LH corner.
- a similar 'clean' image of woodgrain suitably sized (small) used to mask the text in that bottom LH corner (2nd overlay track)

et voila.
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Cropping with a difference

Post by Ken Berry »

Thanks David. I hadn't been aware another part of the video had the cup/saucer without any overlay over the lower third...
Ken Berry
User avatar
Davidk
Posts: 2090
Joined: Wed Nov 26, 2008 12:08 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Prime B660M-K D4
processor: Intel core i3-12100 3_3ghz quad core processor
ram: 16Gb
Video Card: on-motherboard Intel UHD 730 graphics chipset
Hard_Drive_Capacity: 6Tb
Monitor/Display Make & Model: HP E240c video conferencing monitor
Corel programs: VideoStudio: 2022, 2023
Location: Brisbane Australia

Re: Cropping with a difference

Post by Davidk »

The story line is derived from journo wailing about the demise of cafes in favour of coffee, but the journo who wrote that didn't research it enough - cafe is an old word for coffee house: coffee has been the basic staple of a cafe for hundreds of years. The project contains a 60 minute clip captured from you tube, the bit here was the last 3-4 sec. And there is - briefly - a clean segment. Position time marker and take photo . . . .
asik1
Posts: 3446
Joined: Thu Apr 17, 2014 6:07 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: H170M-E D3
processor: i5-6600
ram: 8gb
Video Card: GTX1050-2GB
Hard_Drive_Capacity: No hoarder
Monitor/Display Make & Model: 2K HP-27MQ
Corel programs: VS-X9.2, 2020, 2023
Location: Israel

Re: Cropping with a difference

Post by asik1 »

in Hebrew we pronounce the drink and the beans as 'cafe' (ka-fe)
And coffee house, literary translated as "beit cafe"
Panasonic X900m, VXF1
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Cropping with a difference

Post by Ken Berry »

And to add a further bit of trivia: the origin of the coffee plant, and its name, is Kaffa in Ethiopia, which I visited while in the diplomatic service during the great famine of 1984. And it spread from there with traders and caravans to ports on the south of the Arabian peninsula. That's why that variety of coffee is perhaps incorrectly called coffea arabica. But from there it gradually reached the rest of us! :roll: :lol:
Ken Berry
Post Reply