Linear Algebra: Question about Transforming/Scaling a Plane

The default grid I usually see is something like a bunch of 1x1 squares...
Once it gets transformed it might be a bunch of diamonds, rectanges, etc.

Could I think of this new grid/plane as the Outputs of the original points on the grid (given inputs) if fed into that calculation? (Each tick to the right on the X axis is no longer +1, now it's +2.5?)

reddit.com
u/Flandiddly_Danders — 2 days ago

Using PIL, point(), and lambda to reduce images to BW, still getting values besides 0 and 255

I converted a video into frames using OpenCV2, that worked great.

What I'd like to do is keep only the darkest parts and make those absolute black (0)

Everything else I want pure white (255)

The purpose is so that I can compare each pixel of the images to other images later on and have an easy % similarity, hence why I want absolute values (0,255).

for frame in os.listdir(frame_base_address):

  col = Image.open(frame_base_address+frame)

  gray = col.convert('L')

  bw = gray.point(lambda x: 0 if x < 50 else 255)

  bw.convert('1').save(frame_base_address+frame)
I've tried both 'L' and '1' and the result is the same

When I visually inspect my image it is pretty stark black and white.

However, when I open the image later to see if it's really 0s and 255s, I get a ton of other values like 1, 2, 4, 254, etc and it makes me wonder if my lambda expression worked at all!

current_image_as_np = np.array(Image.open(frame_base_address + image_name),dtype='int32')


for i in current_image_as_np:
    for z in i:
        if z not in(0,255):
            print(z)
reddit.com
u/Flandiddly_Danders — 10 days ago
▲ 0 r/OMSA

Bachelor's in Business Admin + Workplace Experience taking MGT 6201

Looking for some feedback on an approach to the class, as I already have a business background and there seems to be a lot of review content for me.

Is it necessary to watch the video lectures, if the Lecture Notes are given to us ahead of time?

I know we need to make countless flashcards to pass the exams, but if I have all the Lecture notes more or less memorized, should that be sufficient to pass the class?

reddit.com
u/Flandiddly_Danders — 3 months ago